UNPKG

epd

Version:

Enhanced peer dependency resolution for npm, yarn, and pnpm

18 lines 545 B
export class PerformanceMonitor { startTime; checkpoints = new Map(); constructor() { this.startTime = Date.now(); } checkpoint(name) { this.checkpoints.set(name, Date.now() - this.startTime); } summary() { const total = Date.now() - this.startTime; console.log(`\n⏱️ Performance Summary (${total}ms total):`); for (const [name, time] of this.checkpoints) { console.log(` ${name}: ${time}ms`); } } } //# sourceMappingURL=performance-monitor.js.map