Monday, December 4, 2023
 Popular · Latest · Hot · Upcoming
rated 0 times [  137] [ 6]  / answers: 1 / hits: 72379  / 15 Years ago, tue, may 12, 2009, 12:00:00

Is there a good profiler for javascript? I know that firebug has some support for profiling code. But I want to determine stats on a longer scale.
Imagine you are building a lot of javascript code and you want to determine what are actually the bottlenecks in the code. At first I want to see profile stats of every javascript function and execution time. Next would be including DOM functions. This combined with actions that slows things down like operation on the rendering tree would be perfect. I think this would give a good impression if the performance is killed in my code, in DOM preparation or in updates to the rendering tree/visual.

Is there something close to what I want? Or what would be the best tool to achieve the most of what I've described? Would it be a self compiled browser plus javascript engine enhanced by profile functionality?

More From » performance



Firebug provides a highly detailed profiling report. It will tell you how long each method invocation takes in a giant (detailed) table.

//also see

You need to call console.profileEnd () to end your profile block. See the console API here:


Blackbird also has a simpler profiler

[#99550] Thursday, May 7, 2009, 15 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 676
Total Questions: 94
Total Answers: 81

Location: Thailand
Member since Thu, Apr 22, 2021
3 Years ago