Interface IDuration<T>

All duration/performance details, used in IIterationSummary.

interface IDuration<T> {
    average: number;
    max?: IValueDuration<T>;
    min?: IValueDuration<T>;
    total: number;
}

Type Parameters

  • T

Properties

Properties

average: number

Average duration, for processing one value:

  • = total / count, if count > 0
  • = 0, if count = 0

Maximum iteration-delay details.

It is undefined when the iteration is empty (count = 0).

Minimum iteration-delay details.

It is undefined when the iteration is empty (count = 0).

total: number

Total duration, in ms, for the entire iteration.