Commit Graph
6 Commits
Author SHA1 Message Date
Andrew Steinborn 8a3f9f7eb6 Optimize indirect passenger iteration 2021-08-09 00:38:37 -04:00
Andrew Steinborn ac0d44684a Optimize entity tracker passenger checks 2021-08-08 00:52:54 -04:00
Andrew Steinborn cc2c25ba55 Add Unix domain socket support 2021-05-11 17:39:22 -04:00
Andrew Steinborn 1d6a99b50b Inline shift direction fields
Removes a layer of indirection for EnumDirection.getAdjacent(X|Y|Z)(), which is in the
critical section for much of the server, including the lighting engine.
2021-01-18 20:45:25 -05:00
Andrew Steinborn 2f55ab6d4e Lazily track plugin scoreboards by default
On servers with plugins that constantly churn through scoreboards, there is a risk of
degraded GC performance due to the number of scoreboards held on by weak references.
Most plugins don't even need the (vanilla) functionality that requires all plugin
scoreboards to be tracked by the server. Instead, only track scoreboards when an
objective is added with a non-dummy criteria.

This is a breaking change, however the change is a much more sensible default. In case
this breaks your workflow you can always force all scoreboards to be tracked with
settings.track-plugin-scoreboards in paper.yml.
2020-10-03 04:15:09 -04:00
Andrew Steinborn 5f6808db9a Optimize NetworkManager Exception Handling 2020-07-05 22:38:18 -04:00