-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
perf(skymp5-server): implement parallel movement processing #2132
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Changes requested. Reviewed everything up to 24dcf21 in 29 seconds
More details
- Looked at
189
lines of code in3
files - Skipped
0
files when reviewing. - Skipped posting
0
drafted comments based on config settings.
Workflow ID: wflow_FlHsm0RBS53WFKGO
Want Ellipsis to fix these issues? Tag @ellipsis-dev
in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
⌛ 19 hours left in your free trial, upgrade for $20/seat/month or contact us.
Summary:
Implemented parallel movement processing in
skymp5-server
using a thread pool for improved performance.Key points:
skymp5-server
.BS::thread_pool
toActionListener
for concurrent processing.ActionListener::SendToNeighbours
to handle deferred messages.ActionListener::TickDeferredSendToNeighboursMultithreaded
for multithreaded processing.PartOne::Tick
to callTickDeferredSendToNeighboursMultithreaded
.skymp5-server/cpp/server_guest_lib/ActionListener.cpp
,ActionListener.h
, andPartOne.cpp
.Generated with ❤️ by ellipsis.dev