-
-
Notifications
You must be signed in to change notification settings - Fork 542
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
SSlag_switch from /tg/ #2133
Merged
MarkSuckerberg
merged 7 commits into
shiptest-ss13:master
from
MarkSuckerberg:lag-mitigation
Sep 13, 2023
Merged
SSlag_switch from /tg/ #2133
MarkSuckerberg
merged 7 commits into
shiptest-ss13:master
from
MarkSuckerberg:lag-mitigation
Sep 13, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Requested by oranges and inspired by the upcoming event. A new subsyetem, non-processing (for now), aimed at providing some toggle switches that can be flipped as a last ditch effort to save some CPU cycles by sacrificing some non-critical mechanics. Below you can see each individual toggle. Screenshot of the admin panel: image Surely there are more opportunities for toggles I missed, but adding new ones is not very difficult at all. Why It's Good For The Game Better performance during extreme pop, I hope. Changelog cl code: Introduces the Lag Switch subsystem for when a smoother experience is worth trading a few bells and whistles for. Performance enhancement measures can be togged by admins with the Show Lag Switches admin verb or enabled automatically at a pop amount set via config. config: Added a new config var: number/auto_lag_switch_pop
…62999) At the last Toolbox Tournament, @MrStonedOne pointed out some big performance consumers. Some are disablable through easy means, but others were not. This adds two easy ones to the mix.
github-actions
bot
added
Config
Watch us shake head admins violently until this gets merged.
DME Edit
Admin
They do it for free.
Code change
Watch something violently break.
labels
Jul 6, 2023
lag is solved forever |
so true |
we do a little lag mitigation |
github-merge-queue
bot
removed this pull request from the merge queue due to a conflict with the base branch
Jul 21, 2023
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
github-actions
bot
added
Map Change
Tile placing is hard. Thank you for your service.
Sprites
A bikeshed full of soulless bikes.
TGUI
Sound
USSR Anthem 2.66 MB file.
Dependencies
GitHub
Our very own Babylon.
and removed
Merge Conflict
Use Git Hooks, you're welcome.
labels
Aug 11, 2023
MarkSuckerberg
force-pushed
the
lag-mitigation
branch
from
August 11, 2023 02:10
3f956ad
to
7e6a725
Compare
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
github-actions
bot
removed
Map Change
Tile placing is hard. Thank you for your service.
Sprites
A bikeshed full of soulless bikes.
Sound
USSR Anthem 2.66 MB file.
Dependencies
GitHub
Our very own Babylon.
labels
Aug 11, 2023
github-actions
bot
added
Merge Conflict
Use Git Hooks, you're welcome.
and removed
Merge Conflict
Use Git Hooks, you're welcome.
labels
Aug 11, 2023
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Admin
They do it for free.
Code change
Watch something violently break.
Config
Watch us shake head admins violently until this gets merged.
DME Edit
TGUI
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
About The Pull Request
Ports:
and adds a few shiptest-specific toggles as well to better take advantage of the system.
Why It's Good For The Game
Recently lag has become a bit more of an issue here, and I think I would rather we be able to play than force ourselves to suffer while we slowly work on perf improvements.
Changelog
🆑
admin: Adds lag switch toggles from /tg/, ONLY use them when the lag becomes unbearable!
/:cl: