relaxx Posted January 26, 2014 Share Posted January 26, 2014 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? Quote Link to comment Share on other sites More sharing options...
d13 Posted January 26, 2014 Share Posted January 26, 2014 Chrome's Timeline gives you frame-level performance detail. https://developers.google.com/chrome-developer-tools/docs/timeline Quote Link to comment Share on other sites More sharing options...
relaxx Posted January 27, 2014 Author Share Posted January 27, 2014 Chrome's Timeline gives you frame-level performance detail. https://developers.google.com/chrome-developer-tools/docs/timelineUnfortunately - without details about which part of code executed in which time.Only abstract "request animation frame", that is all: Am i doing something wrong? Quote Link to comment Share on other sites More sharing options...
Ezelia Posted January 27, 2014 Share Posted January 27, 2014 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 . relaxx 1 Quote Link to comment Share on other sites More sharing options...
relaxx Posted January 27, 2014 Author Share Posted January 27, 2014 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. Quote Link to comment Share on other sites More sharing options...
relaxx Posted January 27, 2014 Author Share Posted January 27, 2014 (edited) 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 January 27, 2014 by relaxx Quote Link to comment Share on other sites More sharing options...
Ezelia Posted January 27, 2014 Share Posted January 27, 2014 Chrome dev tools are the more advanced I was, but it's allways interesting to profile your code with other dev tools , IE11+ have pretty good profiling too.also don't forget to activate beta features in chrome Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.