Skip to content

Poor performance in large parks #2

@mrmagic2020

Description

@mrmagic2020

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions