[php-src] PR #22721: perf: ZTS: remove obsolete realpath access check
| From: | henderkes | Date: | Tue, 14 Jul 2026 07:09:40 +0000 |
| Subject: | [php-src] PR #22721: perf: ZTS: remove obsolete realpath access check | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37032@lists.php.net to get a copy of this message | ||
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.