Skip to content

Performance improvements#46

Merged
ptthanh02 merged 4 commits into
NighterDevelopment:mainfrom
RVSkeLe:perf/range-check
Oct 9, 2025
Merged

Performance improvements#46
ptthanh02 merged 4 commits into
NighterDevelopment:mainfrom
RVSkeLe:perf/range-check

Conversation

@RVSkeLe
Copy link
Copy Markdown
Contributor

@RVSkeLe RVSkeLe commented Oct 8, 2025

Already tested with both Purpur 1.21.8 and Folia 1.21.8, should bring massive performance improvements.

  • Used getState(false) and getHolder(false) to avoid snapshots
  • Reworked the whole Range Checks to run most of the logic async

Waiting for somebody to test in prod to see real performance improvements

RVSkeLe and others added 4 commits October 8, 2025 16:52
- spawnerStop is now an AtomicBoolean
- Use runLocationTask only for handleSpawnerStateChange since it interacts with the world
- Players in spectator mode will not be counted anymore
- Dead players will not be counted anymore
@ptthanh02 ptthanh02 merged commit 7917882 into NighterDevelopment:main Oct 9, 2025
1 check passed
@RVSkeLe RVSkeLe deleted the perf/range-check branch October 15, 2025 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants