Open haoyunfeix opened 4 years ago
let b = performance.now() - a; count++; if ( count < 50) { SUM += b; } else if (count = 50) { let perf = SUM / 50; console.log(perf); SUM = 0; count = 0; } //console.log(performance.now() - a); input.dispose();