mrmagic2020/openrct2-dynamicdashboard

Poor performance in large parks

Opened this issue · 0 comments

Describe the bug
In larger scenarios with lots of rides and peeps, the plugin causes performance issues. There is a significant decrease in FPS whenever the plugin updates the statistics (the default is every 10 seconds).

To Reproduce
Steps to reproduce the behavior:

  1. Turn on show FPS in options.
  2. Load a large park with the plugin loaded. For example, testleveldata1provided by OpenRCT2.
  3. Observe that the FPS drops significantly every update_ratio seconds.

Expected behavior
Minimal impact on performance.

Desktop (please complete the following information):

  • OS: macOS 14.4.1
  • OpenRCT2 Version: v0.4.11

Possible Solutions

  • Add options to manually update statistics.
  • Maintain an offset on each set of calculations.
  • Optimise time complexity.