Re: Adding a way to disable the stat cache
| From: | Kamil Tekiela | Date: | Tue, 07 Sep 2021 10:31:04 +0000 |
| Subject: | Re: Adding a way to disable the stat cache | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-115987@lists.php.net to get a copy of this message | ||
> It would be great if someone on
Windows and macos could repeat this experiment
I ran this on Windows and I got the following results:
Native Windows build:
Without cache
real 0m31.170s
user 0m0.000s
sys 0m0.000s
With cache
real 0m0.694s
user 0m0.000s
sys 0m0.000s
Ubuntu WSL:
Without cache
real 3m8.695s
user 0m7.009s
sys 0m18.819s
With cache
real 0m0.707s
user 0m0.562s
sys 0m0.010s
I am not sure how to interpret it. I doubt that any system would actually
perform 1 million operations on the same file, but I can definitely see a
noticeable difference.