Comunica
    Preparing search index...

    Type Alias IteratorCounters

    type IteratorCounters = {
        count: number;
        state: "ended" | "destroyed" | "unfinished";
        timeLife: number;
        timeSelf: number;
    }
    Index

    Properties

    count: number

    The number of elements produced.

    state: "ended" | "destroyed" | "unfinished"

    How the iterator reached its final state.

    ended and destroyed mean that the counters are complete, unfinished means that the iterator was still running when the measurement was stopped.

    timeLife: number

    The time between instrumentation and ending.

    timeSelf: number

    The time spent within this iterator's own _read and read.

    Time spent in iterators that this one reads from is not included, as those are measured separately by whatever produced them.