Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:115987 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 85420 invoked from network); 7 Sep 2021 09:53:49 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 7 Sep 2021 09:53:49 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id EF9EC18053C for ; Tue, 7 Sep 2021 03:31:15 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-qt1-f180.google.com (mail-qt1-f180.google.com [209.85.160.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 7 Sep 2021 03:31:15 -0700 (PDT) Received: by mail-qt1-f180.google.com with SMTP id w17so7477271qta.9 for ; Tue, 07 Sep 2021 03:31:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=L+igaxl4AZ8jla6Q2JLvqdFeKdguo/12f4Dr51SULwg=; b=bqOqMqNRL3DTl4mMxpmB1cvWA+y7ZucV8Ap/W8JoxEK3Q2IlMKmwzR5H9ST779Ve/G f9L+gTEhc6iiWrayFkmQqnCzwGJE37AAnmh1b0ALIGAAK88PjSCxWpAqVIayZfKCXcbF TUABA0/XXIo3zaLYdoe8MaN2PqbDZCQY6t1DU/sNh9ugEf9tSA3TLB32RB1KK8sjjypF ofHntc4fX1b9ibFe0cyHpdZnCUqZJmKlsZdjWwpZjFT/Co3H6PYUPOwtLZ6/OxQH70CT iOl+7G8qBa6lDqCS8CZb+Ver6VYEUjZUA2J1viH1iq9j+suWMGyZkcGur99W5lqWnK2k CsBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=L+igaxl4AZ8jla6Q2JLvqdFeKdguo/12f4Dr51SULwg=; b=ISSWNkxWsPNP4ROhNgPYpNvgMHDsnQIpZZhkSf84vzps30UTZjGphcU8vUDv01HBg5 Q283R62P4FnaCmjMz2ye2k5oscOylX+hqpP5xM8T5zgIybQNoQedUbjyOJOztI50HPRy 566VATw8f3TdSOvaLsUmKe4CoftUs4NDqQFIz0IlYZYku+uo+3nIJuN3BPeUBah3WNsz 2JmAvy5M9AAUhHkoijON/RqWyN8ya0HpWwWRAThsNB8RDF5t4TGWm6NC1d8PglltKqSI gQW41z14kwUxBZkHz54waYlaDJzVS0Bp1unJXf/ktN3Jo1ZKxEixrG/LYn+P+hgFoWNe LNKg== X-Gm-Message-State: AOAM531Hd7x4xNG+2QT0GrBkexkz7TPLB+XH9nqL7uGMHIFLNtYW4K34 nEyJc1sXKW3NlyItVY8b93mDqmwPY4WuKk6VyAtQg4tn8rIrgdp+ X-Google-Smtp-Source: ABdhPJxGaEt6HZyDUCtA+E9iPf4NZSBrz7tHfVdkl5iBrLivJOf/fEYm/UKdCQHggWSPJQ4IRA6ut8UV+hn49bZnglU= X-Received: by 2002:ac8:5710:: with SMTP id 16mr14367146qtw.393.1631010675023; Tue, 07 Sep 2021 03:31:15 -0700 (PDT) MIME-Version: 1.0 References: <0A048A30-444F-4DB0-A79C-9EA9BD07B1EC@cschneid.com> <569E3A48-E3F5-46FA-BA08-D2493CE4FD33@cschneid.com> In-Reply-To: Date: Tue, 7 Sep 2021 11:31:04 +0100 Message-ID: To: Nikita Popov Cc: Kevin Lyda , Christian Schneider , PHP internals Content-Type: multipart/alternative; boundary="000000000000e8e2e605cb654377" Subject: Re: [PHP-DEV] Adding a way to disable the stat cache From: tekiela246@gmail.com (Kamil Tekiela) --000000000000e8e2e605cb654377 Content-Type: text/plain; charset="UTF-8" > 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. --000000000000e8e2e605cb654377--