(message)
| 126 | } |
| 127 | |
| 128 | function logProgress(message) { |
| 129 | const timestamp = new Date().toLocaleTimeString() |
| 130 | const elapsedSeconds = ((Date.now() - benchmarkStartedAt) / 1000).toFixed(1) |
| 131 | const tags = ['benchmark'] |
| 132 | if (workerId) { |
| 133 | tags.push(`worker:${workerId}`) |
| 134 | } |
| 135 | if (runLabel) { |
| 136 | tags.push(runLabel) |
| 137 | } |
| 138 | console.log(`[${tags.join(' ')} ${timestamp} +${elapsedSeconds}s] ${message}`) |
| 139 | } |
| 140 | |
| 141 | function timestampId() { |
| 142 | return new Date().toISOString().replace(/[:.]/g, '-') |
no outgoing calls
no test coverage detected