What is the best way to profile javascript execution? [closed]

Firebug

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

console.profile(What is the best way to profile javascript execution? [closed])
//also see
console.trace()

You need to call console.profileEnd () to end your profile block. See the console API here: http://getfirebug.com/wiki/index.php/Console_API

Blackbird

Blackbird also has a simpler profiler

  • Blackbird official site from Wayback Machine
  • Source from Google Code Archive
  • Source from Github (pockata/blackbird-js: A fork of the cool Blackbird logging utility)
  • Source from Github (louisje/blackbirdjs: Blackbird offers a dead-simple way to log messages)

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)