javascript get time of timeEnd code example
Example: store console.timeEnd in variable js
//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;