Plan icon indicating copy to clipboard operation
Plan copied to clipboard

Add Milliseconds Per Tick to gathered performance metrics

Open AuroraLS3 opened this issue 3 years ago • 2 comments

I would like to be able to..

MSPT is another metric that can be used to measure performance in addition to TPS. It might be interesting to see that over time.

Is your feature request related to a problem? Please describe.

MSPT and TPS are heavily linked as one tick has at most 50ms to perform tasks. If users can monitor this metric they will have a better idea if they have an appropriate amount of resources allocated when MSPT is far below 50ms.


MinecraftServer has a field that stores this information and some of the server platforms expose it directly.

TabTPS is a plugin with MIT license that can be used for looking how to access it on Paper, Spigot, Sponge and Fabric. For Nukkit the current diff calculation in TPS gathering task can be used to get some idea of MSPT.

That's all 4 game server platforms Plan supports.

AuroraLS3 avatar Feb 13 '22 14:02 AuroraLS3

Agreed. ms/tick is much much more useful than TPS

kmecpp avatar Aug 03 '22 22:08 kmecpp

TSP is a "if its useful its already too late" kinda metric. My server runs on 20 TPS most of the time but I want to see at what time mspt is highest and with what it correlates. TPS is forking useless for that. I have to resort to spark profiler but that goes only back 60 minutes :(

lerokko avatar Jun 15 '23 17:06 lerokko