René's URL Explorer Experiment


Title: Make OPcache actually cache the phar in the restarted process by ondrejmirtes · Pull Request #6324 · phpstan/phpstan-src · GitHub

Open Graph Title: Make OPcache actually cache the phar in the restarted process by ondrejmirtes · Pull Request #6324 · phpstan/phpstan-src

X Title: Make OPcache actually cache the phar in the restarted process by ondrejmirtes · Pull Request #6324 · phpstan/phpstan-src

Description: PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository. - Make OPcache actually cache the phar in the restarted process by ondrejmirtes · Pull Request #6324 · phpstan/phpstan-src

Open Graph Description: Follow-up to 47f7b00 (OPcache activation in the turbo restart), which made phar runs slower: slevomat went from 688s to 888s user CPU (+29%). Root cause OPcache was caching nothing of PHPStan itsel...

X Description: Follow-up to 47f7b00 (OPcache activation in the turbo restart), which made phar runs slower: slevomat went from 688s to 888s user CPU (+29%). Root cause OPcache was caching nothing of PHPStan itsel...

Opengraph URL: https://github.com/phpstan/phpstan-src/pull/6324

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/_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:31e609f3-6b59-573e-3028-9848b5f794f1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id95D6:358871:1C5A2CE:254A231:6B0151CC
html-safe-nonce1cd0088d4db8ef0abe373c77fee28e49b81d21a3a153cde2b1edda0dc9fe0c16
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NUQ2OjM1ODg3MToxQzVBMkNFOjI1NEEyMzE6NkIwMTUxQ0MiLCJ2aXNpdG9yX2lkIjoiMzY4NTY3MDczODgyOTg1NzIyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3211001c6ffb73642a2d64d0f96fc5cdcf692fc4123374f2db69c85220f48d6c
hovercard-subject-tagpull_request:4409888367
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/phpstan/phpstan-src/6324/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/de2f69130a5988ec0e4210ebda83f8dcf05a0697cd8baedbbd5674c74b7494b7/phpstan/phpstan-src/pull/6324
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/de2f69130a5988ec0e4210ebda83f8dcf05a0697cd8baedbbd5674c74b7494b7/phpstan/phpstan-src/pull/6324
og:image:altFollow-up to 47f7b00 (OPcache activation in the turbo restart), which made phar runs slower: slevomat went from 688s to 888s user CPU (+29%). Root cause OPcache was caching nothing of PHPStan itsel...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameondrejmirtes
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/phpstan/phpstan-src git https://github.com/phpstan/phpstan-src.git
octolytics-dimension-user_id16435710
octolytics-dimension-user_loginphpstan
octolytics-dimension-repository_id219334214
octolytics-dimension-repository_nwophpstan/phpstan-src
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id219334214
octolytics-dimension-repository_network_root_nwophpstan/phpstan-src
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpstan-src/pull/6324#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F6324
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%2Fphpstan%2Fphpstan-src%2Fpull%2F6324
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=phpstan%2Fphpstan-src
Reloadhttps://github.com/phpstan/phpstan-src/pull/6324
Reloadhttps://github.com/phpstan/phpstan-src/pull/6324
Reloadhttps://github.com/phpstan/phpstan-src/pull/6324
phpstanhttps://github.com/phpstan
phpstan-srchttps://github.com/phpstan/phpstan-src
Codehttps://github.com/phpstan/phpstan-src
Pull requests175 (175)https://github.com/phpstan/phpstan-src/pulls
Actionshttps://github.com/phpstan/phpstan-src/actions
Security and qualityhttps://github.com/phpstan/phpstan-src/security
Insightshttps://github.com/phpstan/phpstan-src/insights
https://github.com/phpstan/phpstan-src
ondrejmirteshttps://github.com/ondrejmirtes
2.2.xhttps://github.com/phpstan/phpstan-src/tree/2.2.x
opcache-phar-cachinghttps://github.com/phpstan/phpstan-src/tree/opcache-phar-caching
Conversationhttps://github.com/phpstan/phpstan-src/pull/6324
Commits3 (3)https://github.com/phpstan/phpstan-src/pull/6324/commits
Checkshttps://github.com/phpstan/phpstan-src/pull/6324/checks
Files changedhttps://github.com/phpstan/phpstan-src/pull/6324/files
Make OPcache actually cache the phar in the restarted processhttps://github.com/phpstan/phpstan-src/pull/6324#top
ondrejmirteshttps://github.com/ondrejmirtes
2.2.xhttps://github.com/phpstan/phpstan-src/tree/2.2.x
opcache-phar-cachinghttps://github.com/phpstan/phpstan-src/tree/opcache-phar-caching
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Sep 1, 2026https://github.com/phpstan/phpstan-src/pull/6324#issue-5309198553
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6324
47f7b00https://github.com/phpstan/phpstan-src/commit/47f7b00d58997ae09a119c0bbb97b47bb59311e3
Claude Codehttps://claude.com/claude-code
https://claude.ai/code/session_01Ek2A83bWb3Yf4CRmtvBfi4https://claude.ai/code/session_01Ek2A83bWb3Yf4CRmtvBfi4
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6324
https://github.com/ondrejmirtes
https://github.com/claude
Make the restarted process actually cache the phar in OPcachehttps://github.com/phpstan/phpstan-src/pull/6324/commits/cb1c6581ca26f1452e000af69289043a0d19f443
cb1c658https://github.com/phpstan/phpstan-src/pull/6324/commits/cb1c6581ca26f1452e000af69289043a0d19f443
https://claude.ai/code/session_01Ek2A83bWb3Yf4CRmtvBfi4https://claude.ai/code/session_01Ek2A83bWb3Yf4CRmtvBfi4
https://github.com/apps/github-advanced-security
github-advanced-securityhttps://github.com/apps/github-advanced-security
Sep 1, 2026 https://github.com/phpstan/phpstan-src/pull/6324#pullrequestreview-5075334650
View reviewed changes https://github.com/phpstan/phpstan-src/pull/6324/files
.github/workflows/phar.ymlhttps://github.com/phpstan/phpstan-src/pull/6324/files#diff-39c7f1bcfed19e41d56b6260c66af6d03da1257d053b371b7c0de3a3ed01bb13
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6324
ondrejmirteshttps://github.com/ondrejmirtes
September 1, 2026 10:00https://github.com/phpstan/phpstan-src/pull/6324#commits-pushed-8076d0f
https://github.com/ondrejmirtes
https://github.com/claude
Stamp phar members with their commit date so OPcache can cache themhttps://github.com/phpstan/phpstan-src/pull/6324/commits/8076d0ff559df26a912860bbe87d1ef13076659b
8076d0fhttps://github.com/phpstan/phpstan-src/pull/6324/commits/8076d0ff559df26a912860bbe87d1ef13076659b
https://claude.ai/code/session_01Ek2A83bWb3Yf4CRmtvBfi4https://claude.ai/code/session_01Ek2A83bWb3Yf4CRmtvBfi4
https://github.com/ondrejmirtes
https://github.com/claude
Keep the restarted process's OPcache private and adapt it to the php.inihttps://github.com/phpstan/phpstan-src/pull/6324/commits/1a2f54b9d7475f2e02dd0ffbbf415a4b811af231
1a2f54bhttps://github.com/phpstan/phpstan-src/pull/6324/commits/1a2f54b9d7475f2e02dd0ffbbf415a4b811af231
https://claude.ai/code/session_01Ek2A83bWb3Yf4CRmtvBfi4https://claude.ai/code/session_01Ek2A83bWb3Yf4CRmtvBfi4
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/da958fc5d352f4ffcaf0d05d0924bd674a73ab18..1a2f54b9d7475f2e02dd0ffbbf415a4b811af231
da958fchttps://github.com/phpstan/phpstan-src/commit/da958fc5d352f4ffcaf0d05d0924bd674a73ab18
1a2f54bhttps://github.com/phpstan/phpstan-src/commit/1a2f54b9d7475f2e02dd0ffbbf415a4b811af231
Compare https://github.com/phpstan/phpstan-src/compare/da958fc5d352f4ffcaf0d05d0924bd674a73ab18..1a2f54b9d7475f2e02dd0ffbbf415a4b811af231
September 1, 2026 08:00https://github.com/phpstan/phpstan-src/pull/6324#event-30330886393
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
80324fehttps://github.com/phpstan/phpstan-src/commit/80324fe1ae1d673f7d2bde09e648680c336d1d22
Sep 1, 2026https://github.com/phpstan/phpstan-src/pull/6324#event-30331027416
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6324
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
September 1, 2026 08:03https://github.com/phpstan/phpstan-src/pull/6324#event-30331029615
Running phpstan with -dopcache.file_cache=/tmp/phpstan/opcache can reduce execution time by 30% phpstan/phpstan#6694 https://github.com/phpstan/phpstan/issues/6694
Restart for OPcache even when turbo is already loaded, and keep forked workers off the shared cache #6325 https://github.com/phpstan/phpstan-src/pull/6325
https://github.com/SanderMuller
SanderMullerhttps://github.com/SanderMuller
Sep 30, 2026 https://github.com/phpstan/phpstan-src/pull/6324#ref-pullrequest-5643790579
Keep PHPStan's compiled code in a persistent OPcache file cache #6634 https://github.com/phpstan/phpstan-src/pull/6634
https://github.co/hiddenchars
https://github.com/phpstan/phpstan-src/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%2Fphpstan%2Fphpstan-src%2Fpull%2F6324
https://github.com/apps/github-advanced-security
github-advanced-security[bot] https://github.com/apps/github-advanced-security
https://github.com/phpstan/phpstan-src/pull/6324/files/da958fc5d352f4ffcaf0d05d0924bd674a73ab18
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6324
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/6324
https://github.com/ondrejmirtes
https://github.com/apps/github-advanced-security
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.