Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

82
Views
requestanimationframe slows down when publish

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

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

after some research i found out that the reason that it was slowing down was the frames, i did a performance log and found that i was getting partially prevented frame in some frames cause my screen was faster than 60fps, the way to fix that is to controll your frames in your requestanimationframe loop

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!