Paul Paul - 10 months ago 87
Javascript Question

profiling anonymous javascript functions (chrome)

when performance profiling in chrome anonymous high-use functions are difficult to trouble-shoot when they are listed at the root of the call tree. is there a way to determine where an anonymous function was first instantiated?


Probably the easiest way is to put a console.trace() in your function.