repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: fix type namespace collision
[poolifier.git]
/
src
/
pools
/
worker.ts
diff --git
a/src/pools/worker.ts
b/src/pools/worker.ts
index 4d935a113336921a5f49e6858046b07a863096fd..ba9393ab9ba8241e5f1a1184165d42055b859835 100644
(file)
--- a/
src/pools/worker.ts
+++ b/
src/pools/worker.ts
@@
-57,25
+57,25
@@
export interface Task<Data = unknown> {
}
/**
}
/**
- * Measure statistics.
+ * Measure
ment
statistics.
*
* @internal
*/
*
* @internal
*/
-export interface MeasureStatistics {
+export interface Measure
ment
Statistics {
/**
/**
- * Measure aggregation.
+ * Measure
ment
aggregation.
*/
aggregation: number
/**
*/
aggregation: number
/**
- * Measure average.
+ * Measure
ment
average.
*/
average: number
/**
*/
average: number
/**
- * Measure median.
+ * Measure
ment
median.
*/
median: number
/**
*/
median: number
/**
- * Measure history.
+ * Measure
ment
history.
*/
history: CircularArray<number>
}
*/
history: CircularArray<number>
}
@@
-85,7
+85,6
@@
export interface MeasureStatistics {
*
* @internal
*/
*
* @internal
*/
-
export interface TaskStatistics {
/**
* Number of tasks executed.
export interface TaskStatistics {
/**
* Number of tasks executed.
@@
-118,11
+117,11
@@
export interface WorkerUsage {
/**
* Tasks runtime statistics.
*/
/**
* Tasks runtime statistics.
*/
- runTime: MeasureStatistics
+ runTime: Measure
ment
Statistics
/**
* Tasks wait time statistics.
*/
/**
* Tasks wait time statistics.
*/
- waitTime: MeasureStatistics
+ waitTime: Measure
ment
Statistics
/**
* Event loop utilization.
*/
/**
* Event loop utilization.
*/