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

Adds a webhook for sending the top 10 overtiming procs to discord #7139

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

Watermelon914
Copy link
Contributor

@Watermelon914 Watermelon914 commented Sep 9, 2024

About the pull request

As the title says. Will list out the 10 most overtiming procs. Happens at the end of a round.

Some important documentation here: Overtime is the time that a proc runs over tick for. Any amount of overtime is typically bad and, if high enough, needs to have a CHECK_TICK call within itself or it needs to run on a subsystem.

High amounts of overtime directly links to any of the large lagspikes you might see during gameplay. If you notice that everyone freezes for a few seconds during gameplay, that's because a proc suddenly spiked in overtime.

Incremental amounts of overtime can lead to gameplay stutters as well. It's impossible to completely eliminate overtime but it provides a good performance target for which procs have the most dangerous serverside cost, depending on how much average overtime they typically have.

Explain why it's good for the game

Might get more visibility on procs that actually cause performance issues. Since profiler information is probably not easily available to players and contributors, this might provide an optimization goal for them, and a clear idea of what might be causing serverside lagspikes during gameplay.

Testing Photographs and Procedure

image

Changelog

🆑
add: Added a webhook to send the top 10 most overtiming procs to a discord webhook on server shutdown.
/:cl:

@Watermelon914 Watermelon914 added the Performance the game sucks and this makes it suck less label Sep 9, 2024
@github-actions github-actions bot added the Feature Feature coder badge label Sep 9, 2024
cm13-github added a commit that referenced this pull request Sep 9, 2024
@harryob harryob added this pull request to the merge queue Sep 10, 2024
Merged via the queue into cmss13-devs:master with commit 7e0b8a9 Sep 10, 2024
27 checks passed
cm13-github added a commit that referenced this pull request Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Feature coder badge Performance the game sucks and this makes it suck less
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants