Re: Adding a way to disable the stat cache

From: Date: Tue, 07 Sep 2021 10:42:31 +0000
Subject: Re: Adding a way to disable the stat cache
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-115988@lists.php.net to get a copy of this message
WSL1 or WSL2? afaik they have significant performance differences, and we should only consider WSL2 as WSL1 is being deprecated afaik On Tue, 7 Sept 2021 at 12:31, Kamil Tekiela <tekiela246@gmail.com> wrote: > > 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. >

« previous php.internals (#115988) next »