Paul Paul - 5 months ago 14x
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.