refactor: measure -> measurement
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 8 Jun 2023 17:16:37 +0000 (19:16 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 8 Jun 2023 17:16:37 +0000 (19:16 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/worker.ts

index 4d935a113336921a5f49e6858046b07a863096fd..ba9393ab9ba8241e5f1a1184165d42055b859835 100644 (file)
@@ -57,25 +57,25 @@ export interface Task<Data = unknown> {
 }
 
 /**
- * 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<number>
 }
@@ -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.
    */