Skip to content

Add Milliseconds Per Tick to gathered performance metrics #2279

Description

@AuroraLS3

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    New DataIssues that would need gathering new data

    Type

    No type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions