Execution time in Firebug

function populateData(){
    console.time('populateData timer');
    /////
    ///// Code Here
    /////
    console.timeEnd('populateData timer');
}

This will print something like this in firebug populateData timer: 30ms

Advertisements