Sunday, 21 October 2012

Js Profiler

if (window.console && window.console.profile) {
console.profile("label for profile");
// insert code to profile here,
// all function calls will be profiled
console.profileEnd();
}
view raw gistfile1.js hosted with ❤ by GitHub

No comments:

Post a Comment