Skip to content

perf: ZTS: remove obsolete realpath access check#22721

Open
henderkes wants to merge 1 commit into
php:masterfrom
henderkes:perf/realpath
Open

perf: ZTS: remove obsolete realpath access check#22721
henderkes wants to merge 1 commit into
php:masterfrom
henderkes:perf/realpath

Conversation

@henderkes

@henderkes henderkes commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Was benchmarking Symfony demo and figured out that ZTS builds had a much larger performance penalty in dev mode than in prod mode, with a lot of time spent in AssetMapper calling realpath(). Traced it down to this.

@iliaal 29e829fdcf8 was the commit introducing it. I don't think it's required anymore, the virtual_realpath resolver itself fails for non-existent paths nowadays, just like NTS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant