Javascript fine grain performance tweaking
Posted
by thermal7
on Stack Overflow
See other posts from Stack Overflow
or by thermal7
Published on 2010-04-24T05:16:46Z
Indexed on
2010/04/24
5:23 UTC
Read the original article
Hit count: 291
I have been writing my first jQuery plugin and struggling to find a means to time how long different pieces of code take to run.
I can use firebug and console.time/profile. However, it seems that because my code executes so fast I get no results with profile and with time it spits out 0ms. (http://stackoverflow.com/questions/2690697/firebug-profiling-issue-no-activity-to-profile/2690846#2690846)
Is there a way to get the time at a greater level of detail that milliseconds in javascript?
© Stack Overflow or respective owner