René's URL Explorer Experiment


Title: feat: source-generated regexes, Native AOT, faster detection and real-world test catalog by BenjaminAbt · Pull Request #104 · mycsharp/HttpUserAgentParser · GitHub

Open Graph Title: feat: source-generated regexes, Native AOT, faster detection and real-world test catalog by BenjaminAbt · Pull Request #104 · mycsharp/HttpUserAgentParser

X Title: feat: source-generated regexes, Native AOT, faster detection and real-world test catalog by BenjaminAbt · Pull Request #104 · mycsharp/HttpUserAgentParser

Description: Parsing HTTP User Agents with .NET. Contribute to mycsharp/HttpUserAgentParser development by creating an account on GitHub.

Open Graph Description: Changes Move browser and platform detection to ordered token rules that operate directly on the header. The public regular expressions are source-generated, so trimmed and Native AOT applications ...

X Description: Changes Move browser and platform detection to ordered token rules that operate directly on the header. The public regular expressions are source-generated, so trimmed and Native AOT applications ...

Opengraph URL: https://github.com/mycsharp/HttpUserAgentParser/pull/104

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:f6895bc6-08e5-fbad-26b0-f4e2b573814f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCF1E:AC748:E428A0:12764D8:6B052798
html-safe-nonce8d5d5125856fc8da52a99cdc2a0abf758606c1cd96775d55c7242cdfb69745da
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjFFOkFDNzQ4OkU0MjhBMDoxMjc2NEQ4OjZCMDUyNzk4IiwidmlzaXRvcl9pZCI6IjgzODAzMjkwODE5NDQ5MDI2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdaec76562bf91cc72953e7c43522eaf2657415f525f6b166dbae1a554e4b7c5f
hovercard-subject-tagpull_request:5440219239
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/mycsharp/HttpUserAgentParser/104/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6ee9e6133dc7c1c8916ddb530645b0bd2e6b231e9cd92c594c0be13ea6a9ac3e/mycsharp/HttpUserAgentParser/pull/104
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6ee9e6133dc7c1c8916ddb530645b0bd2e6b231e9cd92c594c0be13ea6a9ac3e/mycsharp/HttpUserAgentParser/pull/104
og:image:altChanges Move browser and platform detection to ordered token rules that operate directly on the header. The public regular expressions are source-generated, so trimmed and Native AOT applications ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameBenjaminAbt
hostnamegithub.com
expected-hostnamegithub.com
None854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b
turbo-cache-controlno-cache
go-importgithub.com/mycsharp/HttpUserAgentParser git https://github.com/mycsharp/HttpUserAgentParser.git
octolytics-dimension-user_id14853192
octolytics-dimension-user_loginmycsharp
octolytics-dimension-repository_id367635805
octolytics-dimension-repository_nwomycsharp/HttpUserAgentParser
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id367635805
octolytics-dimension-repository_network_root_nwomycsharp/HttpUserAgentParser
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release220e980097d94ce616d5d11fbd5316d208e3fc93
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/mycsharp/HttpUserAgentParser/pull/104#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmycsharp%2FHttpUserAgentParser%2Fpull%2F104
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%2Fmycsharp%2FHttpUserAgentParser%2Fpull%2F104
Sign uphttps://github.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=mycsharp%2FHttpUserAgentParser
Reloadhttps://github.com/mycsharp/HttpUserAgentParser/pull/104
Reloadhttps://github.com/mycsharp/HttpUserAgentParser/pull/104
Reloadhttps://github.com/mycsharp/HttpUserAgentParser/pull/104
mycsharphttps://github.com/mycsharp
HttpUserAgentParserhttps://github.com/mycsharp/HttpUserAgentParser
Codehttps://github.com/mycsharp/HttpUserAgentParser
Issues4 (4)https://github.com/mycsharp/HttpUserAgentParser/issues
Pull requests1 (1)https://github.com/mycsharp/HttpUserAgentParser/pulls
Actionshttps://github.com/mycsharp/HttpUserAgentParser/actions
Projectshttps://github.com/mycsharp/HttpUserAgentParser/projects
Security and qualityhttps://github.com/mycsharp/HttpUserAgentParser/security
Insightshttps://github.com/mycsharp/HttpUserAgentParser/insights
https://github.com/mycsharp/HttpUserAgentParser
BenjaminAbthttps://github.com/BenjaminAbt
mainhttps://github.com/mycsharp/HttpUserAgentParser/tree/main
feat/generated-regex-aot-performancehttps://github.com/mycsharp/HttpUserAgentParser/tree/feat/generated-regex-aot-performance
Conversationhttps://github.com/mycsharp/HttpUserAgentParser/pull/104
Commits18 (18)https://github.com/mycsharp/HttpUserAgentParser/pull/104/commits
Checkshttps://github.com/mycsharp/HttpUserAgentParser/pull/104/checks
Files changedhttps://github.com/mycsharp/HttpUserAgentParser/pull/104/files
feat: source-generated regexes, Native AOT, faster detection and real-world test cataloghttps://github.com/mycsharp/HttpUserAgentParser/pull/104#top
BenjaminAbthttps://github.com/BenjaminAbt
mainhttps://github.com/mycsharp/HttpUserAgentParser/tree/main
feat/generated-regex-aot-performancehttps://github.com/mycsharp/HttpUserAgentParser/tree/feat/generated-regex-aot-performance
https://github.com/BenjaminAbt
BenjaminAbthttps://github.com/BenjaminAbt
Nov 22, 2026https://github.com/mycsharp/HttpUserAgentParser/pull/104#issue-6543900324
Please reload this pagehttps://github.com/mycsharp/HttpUserAgentParser/pull/104
Full benchmark resultshttps://github.com/mycsharp/HttpUserAgentParser/blob/f54e5b21aed7552dbc69489293b0e68d17209d21/docs/benchmarks/2026-11-23.md
#3https://github.com/mycsharp/HttpUserAgentParser/issues/3
#5https://github.com/mycsharp/HttpUserAgentParser/issues/5
#36https://github.com/mycsharp/HttpUserAgentParser/issues/36
Please reload this pagehttps://github.com/mycsharp/HttpUserAgentParser/pull/104
BenjaminAbthttps://github.com/BenjaminAbt
November 22, 2026 16:01https://github.com/mycsharp/HttpUserAgentParser/pull/104#commits-pushed-26587a7
https://github.com/BenjaminAbt
feat: source-generated regexes, Native AOT, faster detection and real…https://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/26587a75fa7022d07d0c013d09906626c5556636
26587a7https://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/26587a75fa7022d07d0c013d09906626c5556636
#3https://github.com/mycsharp/HttpUserAgentParser/issues/3
#5https://github.com/mycsharp/HttpUserAgentParser/issues/5
#36https://github.com/mycsharp/HttpUserAgentParser/issues/36
https://github.com/BenjaminAbt
ci: skip PR validation for draft pull requestshttps://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/a66cd2c1a6220445d5e69c42e0e8e022a87a5dca
a66cd2chttps://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/a66cd2c1a6220445d5e69c42e0e8e022a87a5dca
https://github.com/BenjaminAbt
feat(aspnetcore): offer an IHttpContextAccessor based accessor next t…https://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/ce8d5ddb6bc4e61eb930a9b728c3f6e32ab368ac
ce8d5ddhttps://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/ce8d5ddb6bc4e61eb930a9b728c3f6e32ab368ac
https://github.com/BenjaminAbt
fix: address review findings for 4.0https://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/ad85cdb20a1ed25e2d124f7ce28fa9c73c9df56d
ad85cdbhttps://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/ad85cdb20a1ed25e2d124f7ce28fa9c73c9df56d
https://github.com/BenjaminAbt
fix: browser version search, meter switching and MemoryCache keyshttps://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/b11d004df7b053673d2d960473a0c2c50e1bdf11
b11d004https://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/b11d004df7b053673d2d960473a0c2c50e1bdf11
https://github.com/BenjaminAbt
fix: token boundaries, linear version search, cache size and own metershttps://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/9138a2046f09261a2c8678f226d7530eb883fcdb
9138a20https://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/9138a2046f09261a2c8678f226d7530eb883fcdb
https://github.com/BenjaminAbt
fix: findings of independent parser, telemetry and provider reviewshttps://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/bce7be38a67182ad19eaa5149ee707b646d4d6d7
bce7be3https://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/bce7be38a67182ad19eaa5149ee707b646d4d6d7
https://github.com/BenjaminAbt
fix: reserve cache meters for their lifetime, dispose replaced own me…https://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/eeaf4f5af476f365dea42c69ebaf47e248860f7b
eeaf4f5https://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/eeaf4f5af476f365dea42c69ebaf47e248860f7b
https://github.com/BenjaminAbt
fix: run no listener code under the meter registration lockhttps://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/21636450aa75d6d328d364745fcfc4953607e801
2163645https://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/21636450aa75d6d328d364745fcfc4953607e801
https://github.com/BenjaminAbt
feat!: robots API instead of a mutable public arrayhttps://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/f8cedd4cde74f31abfc0997fd411342168570b82
f8cedd4https://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/f8cedd4cde74f31abfc0997fd411342168570b82
https://github.com/BenjaminAbt
refactor(parser): update robot rules handling and telemetryhttps://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/4964bfe5d01b94801fd6ebefbe45fd4a544b8606
4964bfehttps://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/4964bfe5d01b94801fd6ebefbe45fd4a544b8606
https://github.com/BenjaminAbt
refactor(tests): remove unused telemetry test listenershttps://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/1126feda122dd5f6f9e2310c194cb8e660c1dec2
1126fedhttps://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/1126feda122dd5f6f9e2310c194cb8e660c1dec2
https://github.com/BenjaminAbt
test(user-agent-parser): add tests for robot key order and user agentshttps://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/5b604cc61ec3346da9153b5c8b31299f44b41380
5b604cchttps://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/5b604cc61ec3346da9153b5c8b31299f44b41380
https://github.com/BenjaminAbt
refactor(telemetry): clarify null parameter usagehttps://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/1fc5d9c446494ea2139db2d5f3ca0fa5ef6301bb
1fc5d9chttps://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/1fc5d9c446494ea2139db2d5f3ca0fa5ef6301bb
https://github.com/BenjaminAbt
perf: benchmark the captured user-agent corpus and document resultshttps://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/f5cc9e01278c2f47aa2f43e750c8777e9bacc515
f5cc9e0https://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/f5cc9e01278c2f47aa2f43e750c8777e9bacc515
https://github.com/BenjaminAbt
perf: match the first crawler before decoding the headerhttps://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/56918338e5dc42cd4a359d19a8ebd8f42d8c148b
5691833https://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/56918338e5dc42cd4a359d19a8ebd8f42d8c148b
https://github.com/BenjaminAbt
perf: share rule filtering across user-agent detectorshttps://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/f54e5b21aed7552dbc69489293b0e68d17209d21
f54e5b2https://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/f54e5b21aed7552dbc69489293b0e68d17209d21
https://github.com/BenjaminAbt
BenjaminAbthttps://github.com/BenjaminAbt
gfoidlhttps://github.com/gfoidl
November 23, 2026 22:15https://github.com/mycsharp/HttpUserAgentParser/pull/104#event-37064443420
https://github.com/BenjaminAbt
BenjaminAbthttps://github.com/BenjaminAbt
Nov 23, 2026https://github.com/mycsharp/HttpUserAgentParser/pull/104#event-37064754444
https://github.com/BenjaminAbt
BenjaminAbthttps://github.com/BenjaminAbt
area-Documentation https://github.com/mycsharp/HttpUserAgentParser/issues?q=state%3Aopen%20label%3Aarea-Documentation
enhancement https://github.com/mycsharp/HttpUserAgentParser/issues?q=state%3Aopen%20label%3Aenhancement
area-Performance https://github.com/mycsharp/HttpUserAgentParser/issues?q=state%3Aopen%20label%3Aarea-Performance
area-UserAgents https://github.com/mycsharp/HttpUserAgentParser/issues?q=state%3Aopen%20label%3Aarea-UserAgents
area-Runtime https://github.com/mycsharp/HttpUserAgentParser/issues?q=state%3Aopen%20label%3Aarea-Runtime
area-Diagnostics https://github.com/mycsharp/HttpUserAgentParser/issues?q=state%3Aopen%20label%3Aarea-Diagnostics
Nov 23, 2026https://github.com/mycsharp/HttpUserAgentParser/pull/104#event-37064768489
https://github.com/BenjaminAbt
docs: refresh README benchmarks and chart library timingshttps://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/bf01ad235ce3e162c93a3db525f62f831a1bcd97
bf01ad2https://github.com/mycsharp/HttpUserAgentParser/pull/104/commits/bf01ad235ce3e162c93a3db525f62f831a1bcd97
https://github.co/hiddenchars
https://github.com/mycsharp/HttpUserAgentParser/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmycsharp%2FHttpUserAgentParser%2Fpull%2F104
https://github.com/gfoidl
gfoidl https://github.com/gfoidl
Please reload this pagehttps://github.com/mycsharp/HttpUserAgentParser/pull/104
https://github.com/BenjaminAbt
BenjaminAbt https://github.com/BenjaminAbt
area-Diagnostics https://github.com/mycsharp/HttpUserAgentParser/issues?q=state%3Aopen%20label%3Aarea-Diagnostics
area-Documentation https://github.com/mycsharp/HttpUserAgentParser/issues?q=state%3Aopen%20label%3Aarea-Documentation
area-Performance https://github.com/mycsharp/HttpUserAgentParser/issues?q=state%3Aopen%20label%3Aarea-Performance
area-Runtime https://github.com/mycsharp/HttpUserAgentParser/issues?q=state%3Aopen%20label%3Aarea-Runtime
area-UserAgents https://github.com/mycsharp/HttpUserAgentParser/issues?q=state%3Aopen%20label%3Aarea-UserAgents
enhancement https://github.com/mycsharp/HttpUserAgentParser/issues?q=state%3Aopen%20label%3Aenhancement
Offer alternative to IHttpContextAccessor https://github.com/mycsharp/HttpUserAgentParser/issues/36
Revise usage of dictionaries in HttpUserAgentStatics https://github.com/mycsharp/HttpUserAgentParser/issues/5
Re-evaluate the usage of RegexOptions.Compiled https://github.com/mycsharp/HttpUserAgentParser/issues/3
Please reload this pagehttps://github.com/mycsharp/HttpUserAgentParser/pull/104
https://github.com/BenjaminAbt
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.