📅  最后修改于: 2022-03-11 15:03:42.638000             🧑  作者: Mango
var start = new Date();
//do some think that takes a while here
var runTime = new Date() - start;
console.log("Script took:"+runTime+" Milliseconds to run");