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

Conversation

Absolucy
Copy link

@Absolucy Absolucy commented Jun 5, 2024

About The Pull Request

Port of tgstation#83467

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.

Watermelon914 and others added 2 commits June 5, 2024 14:56
## 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>
This was referenced Jun 15, 2024
@dwasint dwasint merged commit 726368e into Monkestation:master Jun 21, 2024
20 checks passed
@Absolucy Absolucy deleted the pwofiler branch June 21, 2024 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants