Skip to content

Better/more informative TPS/FPS display #1561

Open
@xsebek

Description

@xsebek

A very useful tool for players conscious about performance in game is displayed UPS/FPS.

Here is a nice explanation from helpful player of Factorio:

FPS = Frames Per Second. This number is sacrificed first if UPS is below 60.
UPS = Updates Per Second, the number of times the game engine updates all entities on the map.

Because the terminal does not need to update all the time, we might want to add instead:

TPS = Ticks Per Second. That is the actual number of ticks executed, not the target value we show in UI now.

This would allow even non-developers to notice and quantify performance problems and make life much easier for developers hunting those problems down.


This could be a debugging option turned on in UI and by command line flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-Low Hanging FruitIdeal issue for new contributors.S-ModerateThe fix or feature would substantially improve user experience.T-UIInvolves the user interface.Z-Developer ExperienceThis issue seeks to make life easier for developers writing Scenarios or other Swarm code.Z-InstrumentationImproving visibility into performance and internal game behaviorZ-PerformanceThis issue concerns memory or time efficiency of the Swarm game.Z-User ExperienceThis issue seeks to make the game more enjoyable to play.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions