Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PORT] Saves profiler snapshots every 5 minutes #2168

Merged
merged 2 commits into from
Jun 21, 2024

Commits on Jun 5, 2024

  1. Saves profiler snapshots every 5 minutes (tgstation#83467)

    ## About The Pull Request
    As the title says. Each saved snapshot will be named 
    - `profiler-[TIME IN SECONDS].json`
    - `sendmaps-[TIME IN SECONDS].json`
    
    For example, `profiler-0.json`, `profiler-300.json`, `profiler-600.json`
    would correspond to a profile at the start of the round, a profile 300
    seconds into a round and a profile 600 seconds into a round.
    
    The timings depend on world.time, so it's probably not a good idea to
    rely on these timings to stay consistent.
    
    ## Why It's Good For The Game
    Allows us to track performance of procs over time. Could allow us to
    spot any sort of anomalies or performance sinks.
    
    CC: @MrStonedOne @bobbah @LemonInTheDark
    
    ---------
    
    Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
    2 people authored and Absolucy committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    9ca39f6 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2024

  1. Configuration menu
    Copy the full SHA
    2cb6d62 View commit details
    Browse the repository at this point in the history