Skip to content

Conversation

@EttyKitty
Copy link
Owner

@EttyKitty EttyKitty commented Nov 18, 2024

Done:

  • Decrease max collection time by 10 times, to 0.1 second.
  • Make it run 20 times more often (60 > 3 seconds).
  • Make it run every 100 frames, instead of 60 seconds.
  • Add current GC pass number into the message log.

Todo:

  • Probably remove GC debug lines, as they flood the console.
  • Probably separate GC lines in the messages with line breaks, to improve visual clarity.

* Decrease max collection time by 10 times, to 0.1 second.
* Make it run 12 times more often (60 > 5 seconds).
* Make it run every 150 frames, instead of seconds.
* Add current GC pass number into the debug/log.
@github-actions github-actions bot added the PR: Performance Refactor that improves performance label Nov 18, 2024
@EttyKitty EttyKitty marked this pull request as draft November 18, 2024 17:40
@EttyKitty EttyKitty marked this pull request as ready for review November 18, 2024 21:40
@EttyKitty EttyKitty merged commit 3c30a47 into compile/main Nov 19, 2024
@EttyKitty EttyKitty deleted the pr/garbage-collector branch November 20, 2024 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: Performance Refactor that improves performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants