(stage: string)
| 49 | this.totalStart = Date.now(); |
| 50 | } |
| 51 | begin(stage: string): void { |
| 52 | this.stageStart.set(stage, Date.now()); |
| 53 | if (this.quiet) return; |
| 54 | process.stderr.write(`\r\x1b[K${stage}...`); |
| 55 | } |
| 56 | end(stage: string, extra?: string): void { |
| 57 | const start = this.stageStart.get(stage) ?? Date.now(); |
| 58 | const ms = Date.now() - start; |