i programmed a little browser game with javascript/html/css. To improve the performance of my game i want to check if the game is running slow on the browser of the person whos playing it and lower the preferences automatically.
Does anybody know how to check the frames per second from the current user (or the hardware data)?
If you are using just javascript, html and css (no jquery or dojo or …), then you should measure this yourself. I assume you would have some while-loop which rerendere the whole screen or parts. Check how many times this is called, by using Date() you can then decide the time for a frame: