📅  最后修改于: 2022-03-11 15:03:57.979000             🧑  作者: Mango
//Not quite using console.time and console.timeEnd, but it will work
//Doesn't log it to console
var start = window.performance.now();
...
var end = window.performance.now();
var time = end - start;