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
Optimize XXXSelector for many iterations of the event loop #106751
Labels
Comments
bdraco
changed the title
Optimize EpollSelector
Optimize EpollSelector for many iterations of the event loop
Jul 14, 2023
methane
added
performance
Performance or resource usage
stdlib
Python modules in the Lib dir
and removed
type-feature
A feature request or enhancement
labels
Jul 18, 2023
methane
pushed a commit
that referenced
this issue
Jul 18, 2023
Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
corona10
added a commit
to corona10/cpython
that referenced
this issue
Jul 18, 2023
corona10
added a commit
to corona10/cpython
that referenced
this issue
Jul 18, 2023
corona10
added a commit
that referenced
this issue
Jul 19, 2023
corona10
added a commit
to corona10/cpython
that referenced
this issue
Jul 19, 2023
corona10
changed the title
Optimize EpollSelector for many iterations of the event loop
Optimize XXXSelector for many iterations of the event loop
Jul 19, 2023
corona10
added a commit
that referenced
this issue
Jul 19, 2023
corona10
pushed a commit
that referenced
this issue
Jul 20, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
split out from #106555 (comment)
The current
EpollSelector
can be sped up a bit. This makes quite a difference when there are 100000+ iterations of the event loop per minute (the use case being receiving bluetooth data from multiple sources) since selectors have to run every iteration.original: 11.831302762031555
new: 9.579423972172663
Linked PRs
The text was updated successfully, but these errors were encountered: