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

perf(skymp5-server): implement parallel movement processing #2132

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

Pospelove
Copy link
Contributor

@Pospelove Pospelove commented Aug 17, 2024

🚀 This description was created by Ellipsis for commit 24dcf21

Summary:

Implemented parallel movement processing in skymp5-server using a thread pool for improved performance.

Key points:

  • Introduced parallel processing for movement updates in skymp5-server.
  • Added BS::thread_pool to ActionListener for concurrent processing.
  • Modified ActionListener::SendToNeighbours to handle deferred messages.
  • Added ActionListener::TickDeferredSendToNeighboursMultithreaded for multithreaded processing.
  • Updated PartOne::Tick to call TickDeferredSendToNeighboursMultithreaded.
  • Changes in skymp5-server/cpp/server_guest_lib/ActionListener.cpp, ActionListener.h, and PartOne.cpp.

Generated with ❤️ by ellipsis.dev

Copy link

@ellipsis-dev ellipsis-dev bot left a 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 in 3 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.

skymp5-server/cpp/server_guest_lib/ActionListener.cpp Outdated Show resolved Hide resolved
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.

1 participant