| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:f259de7a-9f09-dace-5b1b-9168bb4b8321 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B760:AAACB:5FCA08:80D644:696E7966 |
| html-safe-nonce | 0038ea36bb37b7da829df0238780c9b3bd268562fc631215ac31ce0b3253ef47 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzYwOkFBQUNCOjVGQ0EwODo4MEQ2NDQ6Njk2RTc5NjYiLCJ2aXNpdG9yX2lkIjoiNzAzMDM0Mjc0NDk0MDY0MDYxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7dbb84b0f775ae345c46c8aded9ac1e02c3a01a6d3dee9f44763268577f6539b |
| hovercard-subject-tag | pull_request:2066674575 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/MagicStack/uvloop/629/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/6e50284fbe5a3efea4dac892767253d239a5436e82ee749027511d5dd3a88235/MagicStack/uvloop/pull/629 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6e50284fbe5a3efea4dac892767253d239a5436e82ee749027511d5dd3a88235/MagicStack/uvloop/pull/629 |
| og:image:alt | SSLWantReadError is expensive.
python/cpython#123954
This PR tries to predict that there will be SSLWantReadError by checking incoming.pending and SSLObject.pending() first.
This check works in 99%... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tarasko |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdad15fd2ad43212aa8b8be5f2c2725550f8374ceeeb154a999ad9145b43f3f7 |
| turbo-cache-control | no-preview |
| go-import | github.com/MagicStack/uvloop git https://github.com/MagicStack/uvloop.git |
| octolytics-dimension-user_id | 14324950 |
| octolytics-dimension-user_login | MagicStack |
| octolytics-dimension-repository_id | 45766550 |
| octolytics-dimension-repository_nwo | MagicStack/uvloop |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 45766550 |
| octolytics-dimension-repository_network_root_nwo | MagicStack/uvloop |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 27b23bc056eb973d350fc95afc848757edb9e7a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629#start-of-content |
|
| https://patch-diff.githubusercontent.com/ |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FMagicStack%2Fuvloop%2Fpull%2F629 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FMagicStack%2Fuvloop%2Fpull%2F629 |
|
Sign up
| https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=MagicStack%2Fuvloop |
| Reload | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629 |
| Reload | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629 |
| Reload | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629 |
|
MagicStack
| https://patch-diff.githubusercontent.com/MagicStack |
| uvloop | https://patch-diff.githubusercontent.com/MagicStack/uvloop |
|
Notifications
| https://patch-diff.githubusercontent.com/login?return_to=%2FMagicStack%2Fuvloop |
|
Fork
601
| https://patch-diff.githubusercontent.com/login?return_to=%2FMagicStack%2Fuvloop |
|
Star
11.6k
| https://patch-diff.githubusercontent.com/login?return_to=%2FMagicStack%2Fuvloop |
|
Code
| https://patch-diff.githubusercontent.com/MagicStack/uvloop |
|
Issues
119
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/issues |
|
Pull requests
32
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/actions |
|
Projects
0
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/projects |
|
Wiki
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/wiki |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/security |
| Please reload this page | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629 |
|
Insights
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/pulse |
|
Code
| https://patch-diff.githubusercontent.com/MagicStack/uvloop |
|
Issues
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/issues |
|
Pull requests
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/actions |
|
Projects
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/projects |
|
Wiki
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/wiki |
|
Security
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/security |
|
Insights
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/pulse |
| Sign up for GitHub
| https://patch-diff.githubusercontent.com/signup?return_to=%2FMagicStack%2Fuvloop%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://patch-diff.githubusercontent.com/login?return_to=%2FMagicStack%2Fuvloop%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629#issue-comment-box |
| tarasko | https://patch-diff.githubusercontent.com/tarasko |
| MagicStack:master | https://patch-diff.githubusercontent.com/MagicStack/uvloop/tree/master |
| tarasko:optimize_ssl_read_latency | https://patch-diff.githubusercontent.com/tarasko/uvloop/tree/optimize_ssl_read_latency |
|
Improve SSL performance by avoiding SSLWantReadError exception and using much faster checks whenever possible
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629#top |
| tarasko | https://patch-diff.githubusercontent.com/tarasko |
| MagicStack:master | https://patch-diff.githubusercontent.com/MagicStack/uvloop/tree/master |
| tarasko:optimize_ssl_read_latency | https://patch-diff.githubusercontent.com/tarasko/uvloop/tree/optimize_ssl_read_latency |
|
Conversation
2
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629 |
|
Commits
9
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629/commits |
|
Checks
0
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629/checks |
|
Files changed
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629/files |
| Please reload this page | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629 |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/{{ revealButtonHref }} |
|
| https://patch-diff.githubusercontent.com/tarasko |
| tarasko | https://patch-diff.githubusercontent.com/tarasko |
| Sep 11, 2024 | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629#issue-2520134775 |
| python/cpython#123954 | https://github.com/python/cpython/issues/123954 |
| Please reload this page | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629 |
| September 9, 2024 16:00 | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629#commits-pushed-f18d1a3 |
| Refactor and optimize buffered reads | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629/commits/f18d1a349592e02c2a6b3f5ccdf238bbd9c94ad3 |
| f18d1a3 | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629/commits/f18d1a349592e02c2a6b3f5ccdf238bbd9c94ad3 |
| Refactor ssl buffered reads | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629/commits/951e8df134ce4c1d503344a6de4f7c177aa69f61 |
| 951e8df | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629/commits/951e8df134ce4c1d503344a6de4f7c177aa69f61 |
| Fix tests | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629/commits/26ede3c893f226bf2516cf966bbf70ca5eff3c54 |
| 26ede3c | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629/commits/26ede3c893f226bf2516cf966bbf70ca5eff3c54 |
| WIP: still broken, seems it is not possible cause SSLObject.read is t… | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629/commits/eb7ce66d2960c925b5541f4a5b25ece29e5b8443 |
| eb7ce66 | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629/commits/eb7ce66d2960c925b5541f4a5b25ece29e5b8443 |
| Cleanup | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629/commits/473214bbbb5e55ec90a557a5017b9d189981e49e |
| 473214b | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629/commits/473214bbbb5e55ec90a557a5017b9d189981e49e |
| Fix comments | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629/commits/62272e1067505ce0553730f9280e9572580efaa0 |
| 62272e1 | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629/commits/62272e1067505ce0553730f9280e9572580efaa0 |
| Cleanup | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629/commits/7b1f8100d8b92744548393fc779221538a8592fa |
| 7b1f810 | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629/commits/7b1f8100d8b92744548393fc779221538a8592fa |
| Cleanup | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629/commits/a73d44ee63ff26bdacef7afdd8051a0492263813 |
| a73d44e | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629/commits/a73d44ee63ff26bdacef7afdd8051a0492263813 |
| Remove unintented change | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629/commits/1078fc23c5299278f84fd393a5e7b989c36cf8d7 |
| 1078fc2 | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629/commits/1078fc23c5299278f84fd393a5e7b989c36cf8d7 |
| https://patch-diff.githubusercontent.com/tarasko |
| tarasko | https://patch-diff.githubusercontent.com/tarasko |
| Oct 15, 2024 | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629#event-14660701381 |
| https://patch-diff.githubusercontent.com/tarasko |
| tarasko | https://patch-diff.githubusercontent.com/tarasko |
| Oct 15, 2024 | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629#event-14660703916 |
| https://patch-diff.githubusercontent.com/tarasko |
| tarasko | https://patch-diff.githubusercontent.com/tarasko |
|
Nov 25, 2024
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629#ref-issue-1901519611 |
|
Update performance plot
#566
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/issues/566 |
| https://patch-diff.githubusercontent.com/andersfylling |
| andersfylling | https://patch-diff.githubusercontent.com/andersfylling |
| Nov 25, 2024 | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629#issuecomment-2497480740 |
| Please reload this page | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629 |
| https://patch-diff.githubusercontent.com/tarasko |
| tarasko | https://patch-diff.githubusercontent.com/tarasko |
| Nov 25, 2024 | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629#issuecomment-2498723148 |
| Please reload this page | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629 |
| Please reload this page | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629 |
| https://patch-diff.githubusercontent.com/tarasko |
| tarasko | https://patch-diff.githubusercontent.com/tarasko |
|
Dec 26, 2024
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629#ref-issue-2519904330 |
|
Inefficient ssl.SSLWantReadError exception slows down very common use-case
python/cpython#123954
| https://patch-diff.githubusercontent.com/python/cpython/issues/123954 |
| https://patch-diff.githubusercontent.com/tarasko |
| tarasko | https://patch-diff.githubusercontent.com/tarasko |
|
Jan 14, 2026
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629#ref-pullrequest-2471196619 |
|
Improve performance and reduce latency of Transport.write by attempting to send data immediately if all write buffers are empty
#619
| https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/619 |
| Sign up for free | https://patch-diff.githubusercontent.com/join?source=comment-repo |
| Sign in to comment | https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FMagicStack%2Fuvloop%2Fpull%2F629 |
| Please reload this page | https://patch-diff.githubusercontent.com/MagicStack/uvloop/pull/629 |
|
| https://patch-diff.githubusercontent.com/tarasko |
|
| https://patch-diff.githubusercontent.com/andersfylling |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |