Patbox / TextPlaceholderAPI

Placeholder API for Fabric
GNU Lesser General Public License v3.0
39 stars 16 forks source link

Not reporting TPS correctly in combination with other mods which consume large amounts of CPU without affecting TPS #9

Open solonovamax opened 2 years ago

solonovamax commented 2 years ago

The default placeholders for the TPS is not reporting the correct values.

Reproducing:

  1. Install the following mods:
  2. Configure player list to show both the TPS.
  3. Execute /tabtps toggle actionbar to display actual tps on the action bar.
  4. Start chunky pregenerator.
  5. Watch TPS

Displayed TPS is incorrect: image Correct TPS: image

During both screenshots, a chunky pregeneration task is being executed, which consumes the server's CPU for generating chunks. The low tps of about 5 is also observed in game.

PotatoPresident commented 2 years ago

The Spark placeholders are much more accurate.