X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fpools%2Fworker.ts;h=ba9393ab9ba8241e5f1a1184165d42055b859835;hb=87de9ff55a7ad494b9e9500208b9b7319c094ea6;hp=4d935a113336921a5f49e6858046b07a863096fd;hpb=a4e07f7216246b772e13783937a97c87105b8fc3;p=poolifier.git diff --git a/src/pools/worker.ts b/src/pools/worker.ts index 4d935a11..ba9393ab 100644 --- a/src/pools/worker.ts +++ b/src/pools/worker.ts @@ -57,25 +57,25 @@ export interface Task { } /** - * Measure statistics. + * Measurement statistics. * * @internal */ -export interface MeasureStatistics { +export interface MeasurementStatistics { /** - * Measure aggregation. + * Measurement aggregation. */ aggregation: number /** - * Measure average. + * Measurement average. */ average: number /** - * Measure median. + * Measurement median. */ median: number /** - * Measure history. + * Measurement history. */ history: CircularArray } @@ -85,7 +85,6 @@ export interface MeasureStatistics { * * @internal */ - export interface TaskStatistics { /** * Number of tasks executed. @@ -118,11 +117,11 @@ export interface WorkerUsage { /** * Tasks runtime statistics. */ - runTime: MeasureStatistics + runTime: MeasurementStatistics /** * Tasks wait time statistics. */ - waitTime: MeasureStatistics + waitTime: MeasurementStatistics /** * Event loop utilization. */