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

Use tokio tasks #120

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Milo123459
Copy link
Contributor

Uses tokio tasks instead of std::thread::spawn

@zakajd
Copy link

zakajd commented Aug 8, 2024

gives a ~1.5% improvements on a server with 16 cores / 32 threads

@HardhatChad
Copy link
Collaborator

Reviewing now. How many samples did you take to measure 1.5% improvement? There's a lot of noise in the benchmark as it can vary a lot from one run to the next

@Milo123459
Copy link
Contributor Author

Well, this will just improve scheduling. Thanks to the parallel starting of the tasks, it will be a little bit faster. I can update this PR if you'd like to fix conflicts?

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.

3 participants