Scenario: You are using the profiler tab in Firebug that profiles everything, in stead you would rather profile one specific function.
The solution: You can do this programmatically inside your function:
function MyFunction() {
console.profile('somename');
...
console.profileEnd('somename');
}
Firebug is a free Firefox extension. Ready to install?