
Critical Performance Problem
MegumiKasuga opened this issue ยท 1 comments
Version:
- Minecraft Version: 1.19.2
- Forge Version 43.3.7
- Mod Version 0.5.4
Describe the bug
A critical performence problem that caused the server stuck. (low tps(10) and bad gaming experience)
Follow methods may be the cause of this problem.
To Reproduce
Steps to reproduce the behavior:
1. Navigators in forced load chunks.
2. Large scale (complicated) train networks.
Expected behavior
Server tps got low. (10tps/100mspt)
Additional context
Maybe a cache(like LazyRecomputable) would be a good solution for this problem. Stop your algorithm from scaning create's data structure all the time.
Wish you a good day.