UNPKG

@stringsync/vexml

Version:

MusicXML to Vexflow

14 lines (13 loc) 286 B
export class Stopwatch { start = performance.now(); constructor() { } static start() { return new Stopwatch(); } lap() { const now = performance.now(); const result = now - this.start; this.start = now; return result; } }