Skip to content

[Performance] High lag spike (~900ms) with Maintenance enabled and large roof area #36

Description

@nezatop

Description
I have encountered a significant performance issue where the game freezes for approximately 980ms.
This issue seems to be directly related to the "Maintenance" setting in ExpandedRoofing.

Conditions
The lag spike occurs under the following conditions:

  1. "Maintenance" option is enabled in the mod settings.
  2. There is a large amount of custom roofing constructed on the map.

Evidence
I have attached a screenshot from the profiler showing spike.

Image

Steps to Reproduce

  1. Build a large area of custom roofing (Expanded Roofing).
  2. Enable "Maintenance" in the mod settings.
  3. Observe the periodic freeze/lag spike.

Additional Context
If I disable the "Maintenance" setting, the lag spike disappears immediately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions