Javascript counter profiling

I recently ran into a long script error in IE, but not with other browsers. In the study, I later learned that IE defines a long-term script as one that executes more than 5,000,000 statements, while all other browsers are based on runtime. Considering all the profilers that I could find, such as Firebug, they give a lot of information about memory usage, runtime, number of function calls, but nothing about the number of statements executed.

Does anyone know of a profiler that can help me determine the number of statements to execute (ideally grouped by function call)?

+3
source share
1 answer

dynaTrace AJAX Edition is a great tool for this (especially for IE profiling), and it's free to download.

You can debug / process JavaScript, requests, CPU usage, see where you spend all the processing time, what methods are called how many times, etc. Get started with tutorials here .

+1
source

Source: https://habr.com/ru/post/1761843/


All Articles