(label: string, start: number, extra?: Record<string, any>)
| 191 | |
| 192 | function quoteMs(start: number): number { |
| 193 | return Date.now() - start; |
| 194 | } |
| 195 | |
| 196 | function quoteTiming(label: string, start: number, extra?: Record<string, any>): void { |
| 197 | console.warn("quote timing", label, `${quoteMs(start)}ms`, extra || ""); |
| 198 | } |
no test coverage detected