[GIT-PULLS] [php-src] PR #22721: perf: ZTS: remove obsolete realpath access check
[email protected] (henderkes)
| Newsgroups | php.git-pulls |
|---|---|
| Message-ID | <[email protected]> |
Pull Request: https://github.com/php/php-src/pull/22721 Author: henderkes 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.