René's URL Explorer Experiment


Title: feat: speed up instances only used to lookup answers by bdraco · Pull Request #1307 · python-zeroconf/python-zeroconf · GitHub

Open Graph Title: feat: speed up instances only used to lookup answers by bdraco · Pull Request #1307 · python-zeroconf/python-zeroconf

X Title: feat: speed up instances only used to lookup answers by bdraco · Pull Request #1307 · python-zeroconf/python-zeroconf

Description: If there is nothing in the ServiceRegistry we would still process incoming questions. If we have no answers to give, we can skip the handling of queries completely as it significantly reduces cpu time. This is expected to significantly reduce cpu time for one shot usage and consumers that only use zeroconf to lookup answers.

Open Graph Description: If there is nothing in the ServiceRegistry we would still process incoming questions. If we have no answers to give, we can skip the handling of queries completely as it significantly reduces cpu t...

X Description: If there is nothing in the ServiceRegistry we would still process incoming questions. If we have no answers to give, we can skip the handling of queries completely as it significantly reduces cpu t...

Opengraph URL: https://github.com/python-zeroconf/python-zeroconf/pull/1307

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:89e20fad-ffcd-7be0-41c0-aa7ab9658469
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDA9A:A99C2:7D5C1:A7280:6B00B8D4
html-safe-nonce84205cbdc499d6373bf447413581159ea94048a5c41669d51f42642602d3eec6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTlBOkE5OUMyOjdENUMxOkE3MjgwOjZCMDBCOEQ0IiwidmlzaXRvcl9pZCI6IjIyNzI3OTk1NTEyNjgxMDg1MDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0821ee1e972fe5305fa1b2ead767c39ace9cfa811fcb34f1c4959979ac7936ab
hovercard-subject-tagpull_request:1597632643
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-zeroconf/python-zeroconf/pull/1307/files
twitter:imagehttps://avatars.githubusercontent.com/u/663432?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/663432?s=400&v=4
og:image:altIf there is nothing in the ServiceRegistry we would still process incoming questions. If we have no answers to give, we can skip the handling of queries completely as it significantly reduces cpu t...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None1d07c25977adfc5ff6acb0a962a9bc168c07afbda6fef765f9761c350c2ae4a2
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python-zeroconf/python-zeroconf git https://github.com/python-zeroconf/python-zeroconf.git
octolytics-dimension-user_id120192235
octolytics-dimension-user_loginpython-zeroconf
octolytics-dimension-repository_id21548731
octolytics-dimension-repository_nwopython-zeroconf/python-zeroconf
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21548731
octolytics-dimension-repository_network_root_nwopython-zeroconf/python-zeroconf
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5429cbfc6aca8c7b9a086a3c8f47400346f38cc9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-zeroconf/python-zeroconf/pull/1307/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-zeroconf%2Fpython-zeroconf%2Fpull%2F1307%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-zeroconf%2Fpython-zeroconf%2Fpull%2F1307%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python-zeroconf%2Fpython-zeroconf
Reloadhttps://github.com/python-zeroconf/python-zeroconf/pull/1307/files
Reloadhttps://github.com/python-zeroconf/python-zeroconf/pull/1307/files
Reloadhttps://github.com/python-zeroconf/python-zeroconf/pull/1307/files
python-zeroconfhttps://github.com/python-zeroconf
python-zeroconfhttps://github.com/python-zeroconf/python-zeroconf
Codehttps://github.com/python-zeroconf/python-zeroconf
Issues50 (50)https://github.com/python-zeroconf/python-zeroconf/issues
Pull requests16 (16)https://github.com/python-zeroconf/python-zeroconf/pulls
Discussionshttps://github.com/python-zeroconf/python-zeroconf/discussions
Actionshttps://github.com/python-zeroconf/python-zeroconf/actions
Projectshttps://github.com/python-zeroconf/python-zeroconf/projects
Wikihttps://github.com/python-zeroconf/python-zeroconf/wiki
Security and quality5 (5)https://github.com/python-zeroconf/python-zeroconf/security
Insightshttps://github.com/python-zeroconf/python-zeroconf/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fpython-zeroconf%2Fpython-zeroconf%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython-zeroconf%2Fpython-zeroconf%2Fissues%2Fnew%2Fchoose
bdracohttps://github.com/bdraco
masterhttps://github.com/python-zeroconf/python-zeroconf/tree/master
avoid_query_path_empty_registryhttps://github.com/python-zeroconf/python-zeroconf/tree/avoid_query_path_empty_registry
Conversation 2 https://github.com/python-zeroconf/python-zeroconf/pull/1307
Commits 3 https://github.com/python-zeroconf/python-zeroconf/pull/1307/commits
Checks 0 https://github.com/python-zeroconf/python-zeroconf/pull/1307/checks
Files changed https://github.com/python-zeroconf/python-zeroconf/pull/1307/files
Please reload this pagehttps://github.com/python-zeroconf/python-zeroconf/pull/1307/files
feat: speed up instances only used to lookup answers https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#top
Show all changes 3 commits https://github.com/python-zeroconf/python-zeroconf/pull/1307/files
15daf6b feat: speed up instances only used to lookup answers bdraco Nov 12, 2023 https://github.com/python-zeroconf/python-zeroconf/pull/1307/commits/15daf6b88aaf2bae25af5a022830c12207a05a87
7c05293 fix: tests bdraco Nov 12, 2023 https://github.com/python-zeroconf/python-zeroconf/pull/1307/commits/7c0529333d138fcd170104e2f951064f17c4fb29
36a83dc fix: tests bdraco Nov 12, 2023 https://github.com/python-zeroconf/python-zeroconf/pull/1307/commits/36a83dce9fbad50e19de579ffdbe40b695df728b
Clear filters https://github.com/python-zeroconf/python-zeroconf/pull/1307/files
Please reload this pagehttps://github.com/python-zeroconf/python-zeroconf/pull/1307/files
Please reload this pagehttps://github.com/python-zeroconf/python-zeroconf/pull/1307/files
_listener.pxd https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-bff2b43c81cd5dc78e524ed6cd0a7c8cef9ad4cd2410097ad3b4cd20f73f589a
_listener.py https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-482d92e649d0a9dfb6f7434c0ec1854490aeda07f86f21ac36e348a9ad1ab4d2
registry.pxd https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-879c92ef1cfc549e94b8f0da9c10f0726ec6c56361f755107cbe6fb576a185d5
registry.py https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-96d8e4619ec77654c7d2a03d7d80337ca934c6f15a728a96500590a0b94d4509
test_core.py https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-938de46e643ab091cff6a7c23e4e752e8907e2266f47889d988923352f7a1058
test_listener.py https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-19b2f8112118f7597bd34eb1327f706bd5c20bd7b300a1dd787a3e3cfc64dd7c
src/zeroconf/_listener.pxdhttps://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-bff2b43c81cd5dc78e524ed6cd0a7c8cef9ad4cd2410097ad3b4cd20f73f589a
View file https://github.com/python-zeroconf/python-zeroconf/blob/36a83dce9fbad50e19de579ffdbe40b695df728b/src/zeroconf/_listener.pxd
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-zeroconf/python-zeroconf/pull/1307/{{ revealButtonHref }}
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-bff2b43c81cd5dc78e524ed6cd0a7c8cef9ad4cd2410097ad3b4cd20f73f589a
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-bff2b43c81cd5dc78e524ed6cd0a7c8cef9ad4cd2410097ad3b4cd20f73f589a
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-bff2b43c81cd5dc78e524ed6cd0a7c8cef9ad4cd2410097ad3b4cd20f73f589a
src/zeroconf/_listener.pyhttps://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-482d92e649d0a9dfb6f7434c0ec1854490aeda07f86f21ac36e348a9ad1ab4d2
View file https://github.com/python-zeroconf/python-zeroconf/blob/36a83dce9fbad50e19de579ffdbe40b695df728b/src/zeroconf/_listener.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-zeroconf/python-zeroconf/pull/1307/{{ revealButtonHref }}
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-482d92e649d0a9dfb6f7434c0ec1854490aeda07f86f21ac36e348a9ad1ab4d2
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-482d92e649d0a9dfb6f7434c0ec1854490aeda07f86f21ac36e348a9ad1ab4d2
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-482d92e649d0a9dfb6f7434c0ec1854490aeda07f86f21ac36e348a9ad1ab4d2
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-482d92e649d0a9dfb6f7434c0ec1854490aeda07f86f21ac36e348a9ad1ab4d2
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-482d92e649d0a9dfb6f7434c0ec1854490aeda07f86f21ac36e348a9ad1ab4d2
src/zeroconf/_services/registry.pxdhttps://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-879c92ef1cfc549e94b8f0da9c10f0726ec6c56361f755107cbe6fb576a185d5
View file https://github.com/python-zeroconf/python-zeroconf/blob/36a83dce9fbad50e19de579ffdbe40b695df728b/src/zeroconf/_services/registry.pxd
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-zeroconf/python-zeroconf/pull/1307/{{ revealButtonHref }}
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-879c92ef1cfc549e94b8f0da9c10f0726ec6c56361f755107cbe6fb576a185d5
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-879c92ef1cfc549e94b8f0da9c10f0726ec6c56361f755107cbe6fb576a185d5
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-879c92ef1cfc549e94b8f0da9c10f0726ec6c56361f755107cbe6fb576a185d5
src/zeroconf/_services/registry.pyhttps://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-96d8e4619ec77654c7d2a03d7d80337ca934c6f15a728a96500590a0b94d4509
View file https://github.com/python-zeroconf/python-zeroconf/blob/36a83dce9fbad50e19de579ffdbe40b695df728b/src/zeroconf/_services/registry.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-zeroconf/python-zeroconf/pull/1307/{{ revealButtonHref }}
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-96d8e4619ec77654c7d2a03d7d80337ca934c6f15a728a96500590a0b94d4509
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-96d8e4619ec77654c7d2a03d7d80337ca934c6f15a728a96500590a0b94d4509
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-96d8e4619ec77654c7d2a03d7d80337ca934c6f15a728a96500590a0b94d4509
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-96d8e4619ec77654c7d2a03d7d80337ca934c6f15a728a96500590a0b94d4509
tests/test_core.pyhttps://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-938de46e643ab091cff6a7c23e4e752e8907e2266f47889d988923352f7a1058
View file https://github.com/python-zeroconf/python-zeroconf/blob/36a83dce9fbad50e19de579ffdbe40b695df728b/tests/test_core.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-zeroconf/python-zeroconf/pull/1307/{{ revealButtonHref }}
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-938de46e643ab091cff6a7c23e4e752e8907e2266f47889d988923352f7a1058
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-938de46e643ab091cff6a7c23e4e752e8907e2266f47889d988923352f7a1058
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-938de46e643ab091cff6a7c23e4e752e8907e2266f47889d988923352f7a1058
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-938de46e643ab091cff6a7c23e4e752e8907e2266f47889d988923352f7a1058
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-938de46e643ab091cff6a7c23e4e752e8907e2266f47889d988923352f7a1058
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-938de46e643ab091cff6a7c23e4e752e8907e2266f47889d988923352f7a1058
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-938de46e643ab091cff6a7c23e4e752e8907e2266f47889d988923352f7a1058
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-938de46e643ab091cff6a7c23e4e752e8907e2266f47889d988923352f7a1058
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-938de46e643ab091cff6a7c23e4e752e8907e2266f47889d988923352f7a1058
tests/test_listener.pyhttps://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-19b2f8112118f7597bd34eb1327f706bd5c20bd7b300a1dd787a3e3cfc64dd7c
View file https://github.com/python-zeroconf/python-zeroconf/blob/36a83dce9fbad50e19de579ffdbe40b695df728b/tests/test_listener.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-zeroconf/python-zeroconf/pull/1307/{{ revealButtonHref }}
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-19b2f8112118f7597bd34eb1327f706bd5c20bd7b300a1dd787a3e3cfc64dd7c
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-19b2f8112118f7597bd34eb1327f706bd5c20bd7b300a1dd787a3e3cfc64dd7c
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-19b2f8112118f7597bd34eb1327f706bd5c20bd7b300a1dd787a3e3cfc64dd7c
https://github.com/python-zeroconf/python-zeroconf/pull/1307/files#diff-19b2f8112118f7597bd34eb1327f706bd5c20bd7b300a1dd787a3e3cfc64dd7c
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.