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

rt(threaded): basic self-tuning of injection queue #5715

Closed
wants to merge 1 commit into from

Conversation

carllerche
Copy link
Member

Proof of concept showing how we could implement some basic self-tuning to check the interval queue (and other maintenance tasks) at variable interval rates.

This is a proof of concept. This shouldn't be the final implementation.

For the benchmark in the description of #5712, this change reduces the run time from 2s to 115ms (on my laptop).

Proof of concept showing how we could implement some basic self-tuning
to check the interval queue (and other maintenance tasks potentially) at
variable interval rates.
@github-actions github-actions bot added the R-loom Run loom tests on this PR label May 23, 2023
@Darksonn Darksonn added A-tokio Area: The main tokio crate M-runtime Module: tokio/runtime labels May 24, 2023
@carllerche
Copy link
Member Author

Superseded by #5720

@carllerche carllerche closed this May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate M-runtime Module: tokio/runtime R-loom Run loom tests on this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants