title: Javascript profiler shows each() spending a lot of time, but how to find where it is?
body: <p>IE 8 and Firebug's Javascript profiler both showed that jQuery <code>each()</code> spent a lot of time, but since the <code>each()</code> is not inside a function, there is no way to tell which line it is, and there are lots of these <code>each()</code> in the global scope of the source code.  On Firebug, it can show you the file and line number, but it will take you to jQuery source code of <code>each()</code> without any call stack, so it is no use.</p>
  
  <p>Is there a way to find out which <code>each()</code> it was?</p>