happy Posted March 6, 2014 Share Posted March 6, 2014 Afternoon, Does anyone here have any suggestions for looking at how much memory their HTML5 game is using? I can monitor the memory used by the browser, but as browsers do a lot of extra stuff, it does not seem a very test. If anyone has any suggestions on profiling the memory used by their html5 as it is played, that would be awesome. Cheers, Quote Link to comment Share on other sites More sharing options...
topheman Posted March 6, 2014 Share Posted March 6, 2014 Maybe you already did, but you should take a look at the "Profiles" tab of the Chrome Dev Tools that allows you to know which part of your game is taking to much CPU (and much more features). more here : http://www.html5rocks.com/en/tutorials/developertools/revolutions2013/ Quote Link to comment Share on other sites More sharing options...
happy Posted March 7, 2014 Author Share Posted March 7, 2014 Thanks topheman, this is pretty useful - Be even better if it included memory consumption XD Quote Link to comment Share on other sites More sharing options...
alex_h Posted March 7, 2014 Share Posted March 7, 2014 If you go to the timeline tab you can record memory usage over time. Quote Link to comment Share on other sites More sharing options...
Stunt Pixels Posted March 7, 2014 Share Posted March 7, 2014 Make sure you kick off in a neutral page though. Otherwise it can get snagged by what you've run, what extensions are installed, yadda yadda. https://developers.google.com/chrome-developer-tools/docs/clean-testing-environment Dev tools are good, but much easier if you look for specific objects. It can get very messy with larger apps! 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.