Next steps for improving GC performance and configurability #6652
Labels
Category: Core
Related to internal functionality
Performance
Type: Enhancement
Contributes features or other improvements to PocketMine-MP
Problem description
Since the implementation of #6554, several server owners have been discovering that GC is the source of many of their mysterious performance woes.
This PR didn't worsen performance, but it did make the problem appear in an obvious place in timings reports, rather than in random code pathways.
I was aware when I made the PR that the parameters were probably not optimal for PM's use case, but my focus was on ensuring that the behaviour properly mirrored the PHP standard behaviour so that I didn't accidentally hurt performance. It appears I succeeded in that goal, and now it's time to do something about these issues.
Proposed solution
Several steps come to mind:
Server
andPlayer
.Alternative solutions or workarounds
No response
The text was updated successfully, but these errors were encountered: