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

Limit CF_OnUpdate rate for perf boost #130

Open
wants to merge 6 commits into
base: development
Choose a base branch
from

Conversation

lava76
Copy link
Contributor

@lava76 lava76 commented Feb 11, 2023

CF_OnUpdate loop is fairly expensive especially on server. Limit update rate to 25 ms on server. Significant performance boost was observed when many modules are using update loops (e.g. COT gained 10% tick rate increase on server with this change).

CF_OnUpdate loop is fairly expensive especially on server. Limit update rate to 25 ms on server and 5 ms on client. Significant performance boost was observed when many modules are using update loops (e.g. COT gained 10% tick rate increase on server with this change).
@Arkensor Arkensor self-requested a review February 13, 2023 13:32
@Arkensor Arkensor added the enhancement New feature or request label Feb 13, 2023
@lava76 lava76 requested a review from Arkensor July 12, 2024 11:36
@Arkensor
Copy link
Owner

There was a reason why the defines were in their own file / addon some time. Not sure if this is still needed. Please clarify why it was moved. @Jacob-Mango do you remember why we had it there?

@lava76
Copy link
Contributor Author

lava76 commented Aug 23, 2024

Relevant commit on devel 317f91f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants