René's URL Explorer Experiment


Title: Suppression file name cache. by MartinBP · Pull Request #8684 · cppcheck-opensource/cppcheck · GitHub

Open Graph Title: Suppression file name cache. by MartinBP · Pull Request #8684 · cppcheck-opensource/cppcheck

X Title: Suppression file name cache. by MartinBP · Pull Request #8684 · cppcheck-opensource/cppcheck

Description: Implement a file name cache per suppression to avoid calling PathMatch::match again and again for the same suppression and file name combination. Local benchmark running cppcheck with misra c-2012 has been performed. Before 10min 34sec After 1min 36sec In this test it was a few header files producing the majority of the error messages, which is why the cache speeds it up by a lot.

Open Graph Description: Implement a file name cache per suppression to avoid calling PathMatch::match again and again for the same suppression and file name combination. Local benchmark running cppcheck with misra c-2012 ...

X Description: Implement a file name cache per suppression to avoid calling PathMatch::match again and again for the same suppression and file name combination. Local benchmark running cppcheck with misra c-2012 ...

Opengraph URL: https://github.com/cppcheck-opensource/cppcheck/pull/8684

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d7e73730-e460-ad65-e641-67964a6cd30e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9F2E:1EFEA2:16CFECC:20C3596:6A4CCFFE
html-safe-nonce1fda64374d6f9b14c1ac069ff69614eaff38f182e82f9243f16c0be3bb131506
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjJFOjFFRkVBMjoxNkNGRUNDOjIwQzM1OTY6NkE0Q0NGRkUiLCJ2aXNpdG9yX2lkIjoiNDg3NDA3NTI5MTgzNDQzNzYzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf86f39a54c9674bc330dd6f232a55ae9aa62eb5fc3d40359b401ba4522501170
hovercard-subject-tagpull_request:3972198349
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/cppcheck-opensource/cppcheck/pull/8684/files
twitter:imagehttps://avatars.githubusercontent.com/u/8387380?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/8387380?s=400&v=4
og:image:altImplement a file name cache per suppression to avoid calling PathMatch::match again and again for the same suppression and file name combination. Local benchmark running cppcheck with misra c-2012 ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneee8a9d18044a05fe2d57b9ae797da38c8be34effb03f015f7c42e94770d28a1b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/cppcheck-opensource/cppcheck git https://github.com/cppcheck-opensource/cppcheck.git
octolytics-dimension-user_id278097703
octolytics-dimension-user_logincppcheck-opensource
octolytics-dimension-repository_id143131
octolytics-dimension-repository_nwocppcheck-opensource/cppcheck
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id143131
octolytics-dimension-repository_network_root_nwocppcheck-opensource/cppcheck
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
releasef84814acc6f036583fd43463f5847a846243d2a4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cppcheck-opensource/cppcheck/pull/8684/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F8684%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F8684%2Ffiles
Sign up https://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=cppcheck-opensource%2Fcppcheck
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/8684/files
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/8684/files
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/8684/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8684/files
cppcheck-opensource https://github.com/cppcheck-opensource
cppcheckhttps://github.com/cppcheck-opensource/cppcheck
Notifications https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Fork 1.6k https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Star 6.7k https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Code https://github.com/cppcheck-opensource/cppcheck
Pull requests 206 https://github.com/cppcheck-opensource/cppcheck/pulls
Actions https://github.com/cppcheck-opensource/cppcheck/actions
Security and quality 0 https://github.com/cppcheck-opensource/cppcheck/security
Insights https://github.com/cppcheck-opensource/cppcheck/pulse
Code https://github.com/cppcheck-opensource/cppcheck
Pull requests https://github.com/cppcheck-opensource/cppcheck/pulls
Actions https://github.com/cppcheck-opensource/cppcheck/actions
Security and quality https://github.com/cppcheck-opensource/cppcheck/security
Insights https://github.com/cppcheck-opensource/cppcheck/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fcppcheck-opensource%2Fcppcheck%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck%2Fissues%2Fnew%2Fchoose
MartinBPhttps://github.com/MartinBP
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
MartinBP:suppression-filename-cachehttps://github.com/MartinBP/cppcheck/tree/suppression-filename-cache
Conversation 9 https://github.com/cppcheck-opensource/cppcheck/pull/8684
Commits 6 https://github.com/cppcheck-opensource/cppcheck/pull/8684/commits
Checks 70 https://github.com/cppcheck-opensource/cppcheck/pull/8684/checks
Files changed 3 https://github.com/cppcheck-opensource/cppcheck/pull/8684/files
Suppression file name cache. https://github.com/cppcheck-opensource/cppcheck/pull/8684/files#top
Show all changes 6 commits https://github.com/cppcheck-opensource/cppcheck/pull/8684/files
f45c7cb Suppression file name cache. MartinBP Jul 1, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/8684/commits/f45c7cbc7c721fe09aa95850011e82a433a94641
1e97436 Fix naming violation of private member variable. MartinBP Jul 1, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/8684/commits/1e97436bdf0a5756f1460abc1c3c28bc52bcde39
3693c19 Rename local variable to avoid conflict with function name [shadowFun… MartinBP Jul 1, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/8684/commits/3693c19bab0e7dab274d99e2d345fd8fea4764f5
c0ed56d Implement performance test for large number of violations and suppres… MartinBP Jul 4, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/8684/commits/c0ed56d81c68f12a3f473a3022965771a3d24ada
51aecc6 Skip 'test_large_number_of_violations_and_suppressions' on macOS beca… MartinBP Jul 4, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/8684/commits/51aecc6d5f8b8a754387e81be16546940823f563
715c90e Double the pytest timeout for test_large_number_of_violations_and_sup… MartinBP Jul 4, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/8684/commits/715c90eaa1f1c49e21cccb72d7d602ff207072f7
Clear filters https://github.com/cppcheck-opensource/cppcheck/pull/8684/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8684/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8684/files
suppressions.cpp https://github.com/cppcheck-opensource/cppcheck/pull/8684/files#diff-edc12141c3bbbd0f85b647cfb7c66731c969fdb7cb1d37d792e368b023603941
suppressions.h https://github.com/cppcheck-opensource/cppcheck/pull/8684/files#diff-b43bfd17430ddb17bd17801717c04540c1787e797ac32c709ccab3f2af151ccc
performance_test.py https://github.com/cppcheck-opensource/cppcheck/pull/8684/files#diff-2d5ac30aa5271d51a1fb1f094505937d76d80b4af198e307c113159d33128cfc
lib/suppressions.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/8684/files#diff-edc12141c3bbbd0f85b647cfb7c66731c969fdb7cb1d37d792e368b023603941
View file https://github.com/cppcheck-opensource/cppcheck/blob/715c90eaa1f1c49e21cccb72d7d602ff207072f7/lib/suppressions.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/8684/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/8684/files#diff-edc12141c3bbbd0f85b647cfb7c66731c969fdb7cb1d37d792e368b023603941
https://github.com/cppcheck-opensource/cppcheck/pull/8684/files#diff-edc12141c3bbbd0f85b647cfb7c66731c969fdb7cb1d37d792e368b023603941
https://github.com/cppcheck-opensource/cppcheck/pull/8684/files#diff-edc12141c3bbbd0f85b647cfb7c66731c969fdb7cb1d37d792e368b023603941
https://github.com/cppcheck-opensource/cppcheck/pull/8684/files#diff-edc12141c3bbbd0f85b647cfb7c66731c969fdb7cb1d37d792e368b023603941
lib/suppressions.hhttps://github.com/cppcheck-opensource/cppcheck/pull/8684/files#diff-b43bfd17430ddb17bd17801717c04540c1787e797ac32c709ccab3f2af151ccc
View file https://github.com/cppcheck-opensource/cppcheck/blob/715c90eaa1f1c49e21cccb72d7d602ff207072f7/lib/suppressions.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/8684/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/8684/files#diff-b43bfd17430ddb17bd17801717c04540c1787e797ac32c709ccab3f2af151ccc
https://github.com/cppcheck-opensource/cppcheck/pull/8684/files#diff-b43bfd17430ddb17bd17801717c04540c1787e797ac32c709ccab3f2af151ccc
test/cli/performance_test.pyhttps://github.com/cppcheck-opensource/cppcheck/pull/8684/files#diff-2d5ac30aa5271d51a1fb1f094505937d76d80b4af198e307c113159d33128cfc
View file https://github.com/cppcheck-opensource/cppcheck/blob/715c90eaa1f1c49e21cccb72d7d602ff207072f7/test/cli/performance_test.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/8684/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/8684/files#diff-2d5ac30aa5271d51a1fb1f094505937d76d80b4af198e307c113159d33128cfc
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8684/files
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.