Profiler for slow javascript (jquery) on event page? Error "Immunity Script"

I am trying to fix some slow jquery code in drupal module. After loading the page in the configuration form, you click on the area to expand the field form. However, this extension lasts forever, and most browsers warn: "the script stops responding, do you want to stop it?"

I am looking for a profiler that will give such output from xdebug, where I can see statistics of the entire execution path only for this javascript event.

The debugger in firebug will bring me to the exact line where firefox decides that the script is taking too long; but there is no single line that is the problem (at least I don't think so at this stage). I believe the slowdown is due to poorly designed loops or iterations that span multiple lines, so I want the profiler statistics to show me in which parts of the code it spends most of the time.

+3
source share
1 answer

Firebug . Firebug, , , , "". ( , - .) , , .

Chrome , .

IE dynaTrace AJAX edition, . , IE, IE — , , IE: -)

+4

All Articles