-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do NOT busy wait for a new game tick inside doom, return control to b…
…rowser sooner. This improves the following: * the Animation frames per second went up from the ~35 to the target of 60! * my CPU fan stops spinning at full speed when playing doom in the browser, since the browser is better at controlling animations than busy waiting for time to progress. * The chrome developer console shows almost no more dropped frames. * the gameplay feels smoother, since there are no longer any hiccups. Do we give the browser more room for GC? * Firefox performance debugger now says: most "expensive function" with over 70% of time consumed is the browser's idle function! \m/
- Loading branch information
diekmann
committed
Mar 28, 2021
1 parent
56bc37b
commit f1685b1
Showing
3 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters