Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110314 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 98458 invoked from network); 30 May 2020 18:17:34 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 30 May 2020 18:17:34 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 742071804DD for ; Sat, 30 May 2020 09:58:48 -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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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-il1-f181.google.com (mail-il1-f181.google.com [209.85.166.181]) (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 ; Sat, 30 May 2020 09:58:47 -0700 (PDT) Received: by mail-il1-f181.google.com with SMTP id p5so4413777ile.6 for ; Sat, 30 May 2020 09:58:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8j6toNB+TJlyu+F3TyIPHcfu/8uIxMsuL/3MJ8ENoR4=; b=CYXzmNzzDDNFPsbq9MRwKd6L5J20mxg+vsnO2lSXrMw9LLEg3CC8ChsLNlEYHXHpfg ZA/aAC/fbjEQvPAnKlzyZyOQMDHTq8ce5TDLbgLdIhus1hCp9T7lAan/cStK4vNhnu2c hDwzVCnUGqhrlS6ngDfwnPhQo0+NKjzARMgzObOsSbxjE9QG/ACMaEa6RaRQ1OHEkbvD t8L8JtCNV8nBn5CZoe8D0ckmteG46Sc3ZEvRKcbeHvgJ8wWqdFCgOJl2Q728ayE2exqY Ih2mbv22W8huwRTCVHvYZtu8RT3rpqWJ+mIAZElLST5wpMXC70Lp4vuOIgocdEbbNF6z cWwA== 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=8j6toNB+TJlyu+F3TyIPHcfu/8uIxMsuL/3MJ8ENoR4=; b=Bi01nCfWXSqaewNkm6V2POCELqyCloi5JlrBS4ucmDhEDHJDXJxfJgdZJeovlvfEVh CQLYLuWyZtEw/TthHyb6AhYL16k+IP9hdqpAOaYU2NqTJkP3Oyh5zxqT9SopG0YJelmr lrGeoacrnY0QqMwtbIumwhQzNNihWCWpBlmtcGYjacZIYDByMeHO//VPoJz3++RiB8dL Aop4cj8rTNy0dEPidmP6U2BCwRf/qiBXXRu/+aeQqIW1M+vWSk69bEB0A+PeRLEmfyyv PoODllDbbrsbhUAumJ0TPcz58EGXaqL0G5/5VIK0hQZSiJ7OnC92FZBnd++Ub/XeIxVJ dp4A== X-Gm-Message-State: AOAM5335XWcJyJvoQoKNcA8AIIpt4UK0/mGsGVYpreQj7VjkBjUEXSw1 pOtJtZredIKhGcNougehAjuNfTL1TwY6lkSjFNI= X-Google-Smtp-Source: ABdhPJyYmLjdU7fa5i75VYeDRRw7CDqkpZsucZe/qmjwPkWjpXwrH+1amzJDYk/Fr70NFmQR+nV/D0D/NYuS/toTLgs= X-Received: by 2002:a92:5fda:: with SMTP id i87mr10959011ill.292.1590857925935; Sat, 30 May 2020 09:58:45 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Sat, 30 May 2020 18:58:33 +0200 Message-ID: To: tyson andre Cc: PHP Internals List Content-Type: multipart/alternative; boundary="0000000000009047e805a6e0797a" Subject: Re: [PHP-DEV] [VOTE] Opcache optimization without any caching From: ocramius@gmail.com (Marco Pivetta) --0000000000009047e805a6e0797a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, May 30, 2020, 18:20 tyson andre wrote: > Hi Marco, > > > The naming is extremely wonky: allow_cache to allow_optimization? =F0= =9F=A4=94 > > Nonetheless, this is extremely valuable for widely used binaries and > long running processes, so =F0=9F=91=8D > > I'm not fully clear on what you mean for opcache.allow_optimization to do > - you'd have to combine it with changes to other settings > (e.g. allow it to override opcache.enable=3D0 to optimize but not cache i= f > the opcache extension is loaded). > The setting opcache.optimization_level is already available to enable or > disable *optimizations*. > The separate setting in https://wiki.php.net/rfc/opcache.no_cache to > enable or disable caching seemed like the easiest to understand for me. > > With opcache.enable=3D1, opcache.enable_cli=3D1 (if CLI), and > opcache.allow_cache=3D0, optimizations are enabled, but caching is disabl= ed > Thanks, makes much more sense. > --0000000000009047e805a6e0797a--