Jump to content

JS Profiler


relaxx
 Share

Recommended Posts

Hi All!

 

Chrome/Firefox dev tools have ability to collect overall performance profile during session. But if we need to profile some random "lags" during gameplay - we need to collect per-frame statistics like Adobe Scout does (for Flash).

As far as I found -  Firefox  have some kind of "samples" in collected profile, and ability to change range of samples, but this samples are not related to real playgame time.

 

Is any tool like Scout available for JavaScript?

 

Link to comment
Share on other sites

use profiles tabs, take memory and CPU snapshots, this will give you a better idea about what part of code is taking the more CPU time/memory to execute .

 

Yes, but in this case - profiles tab does not provide call-stack execution timings _per frame_ :)

 

ADDED:

Yay, found that in Chrome there is "Flame Chart" sub-tab also in profiles tab. Look like there is what Im searching.

Link to comment
Share on other sites

Is Chrome and Firefox dev tools at this moment are the very best/powerful tools to profiling?

 

Also it will be very interesting to hear feadback about using alternate tools, from JavaScript-oriented IDE's.

 

If anyone used profiler in Visual Studio?

MS advertising some advanced features is 2013 release (but related to memory profiling, mostly)

Edited by relaxx
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...