I am building a game and i do the animations with requestanimationframe and when i run it locally on localhost everything goes smoothly and runs in the speed i want, but when i publish the game on github pages everything goes super slow. And I dont get any warning that the requestanimationframe took n secs to complete. Is it the speed of the server that the site is hosted on or should i check something else ?
The only thing i tried so far is increase the game speed but i didnt notice any changes in the final product