+ * Task performance.
+ */
+export interface TaskPerformance {
+ /**
+ * Task performance timestamp.
+ */
+ timestamp: number
+ /**
+ * Task runtime.
+ */
+ runTime?: number
+ /**
+ * Task wait time.
+ */
+ waitTime?: number
+ /**
+ * Task event loop utilization.
+ */
+ elu?: EventLoopUtilization
+}
+
+/**
+ * Performance statistics computation.
+ */
+export interface WorkerStatistics {
+ runTime: boolean
+ waitTime: boolean
+ elu: boolean
+}
+
+/**
+ * Message object that is passed between main worker and worker.