mozilla

Compare Revisions

JavaScript Profiler

Change Revisions

Revision 458731:

Revision 458731 by anton on

Revision 458733:

Revision 458733 by anton on

Title:
JavaScript Profiler
JavaScript Profiler
Slug:
Tools/Profiler
Tools/Profiler
Tags:
"Tools", "Profiling", "Firefox", "Guide", "Profiler", "Debugging"
"Tools", "Profiling", "Firefox", "Guide", "Profiler", "Debugging"
Content:

Revision 458731
Revision 458733
n98      <img alt="" height="309" src="https://mdn.mozillademos.org/n98      <img alt="" height="309" src="https://mdn.mozillademos.org/
>files/5987/timeline" style="display: block; margin-left: auto; ma>files/5987/timeline" style="display: block; margin-left: auto; ma
>rgin-right: auto;" width="857">The horizontal axis is time, and t>rgin-right: auto;" width="857">The horizontal axis is time, and t
>he vertical axis is call stack size at that sample.>he vertical axis is call stack size at that sample. Call stack re
 >presents the amount of active functions at the time when the samp
 >le was taken.
t101      Red samples along the chart indicate the browser was probabt101      Red samples along the chart indicate the browser was unresp
>ly unresponsive during that time, and a user would notice pauses >onsive during that time, and a user would notice pauses in animat
>in animations and responsiveness. If a profile has red samples, c>ions and responsiveness. If a profile has red samples, consider b
>onsider breaking this code up into several events, and look into >reaking this code up into several events, and look into using <a 
>using <a href="/en-US/docs/Web/API/window.requestAnimationFrame" >href="/en-US/docs/Web/API/window.requestAnimationFrame" title="/e
>title="/en-US/docs/Web/API/window.requestAnimationFrame">requestA>n-US/docs/Web/API/window.requestAnimationFrame">requestAnimationF
>nimationFrame</a> and <a href="/en-US/docs/Web/Guide/Performance/>rame</a> and <a href="/en-US/docs/Web/Guide/Performance/Using_web
>Using_web_workers" title="/en-US/docs/Web/Guide/Performance/Using>_workers" title="/en-US/docs/Web/Guide/Performance/Using_web_work
>_web_workers">Workers</a>.>ers">Workers</a>.

Back to History