performance - What is the best way to profile javascript execution? -


Is there a good profiler for JavaScript? I know that firebug has some support for coding codes but I want to set statistics on a long scale. Imagine that you are creating a lot of javascript code and you want to determine what exactly is the code constraints. First I want to see profile statistics for each javascript function and execution time. Next will include DOM Functions. Combined with the actions which slow down things like operation on the tree, it will be perfect. I think this will give a good effect if the display is executed in my code, in the DOM preparation or in the update tree / view updates.

Do I want something close to it? Or what would be the best tool to gain most of what I have described? Will it be enhanced by a self-compiled browser and javascript engine profiling functionality?

= "post-text" itemprop = "text">

Firebug provides a very detailed profiling report that will tell you that in a large (detailed) table each How long the call to the method takes.

  console.profile ([title]) // also console.atas ()  

to eliminate your profile block by Need to call console.profileEnd () . See the console API here:

Blackbird

BlackBird ( ) is also a simple profiler (can be downloaded from)


Comments