Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110187 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 68107 invoked from network); 16 May 2020 17:59:32 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 16 May 2020 17:59:32 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 0DE6B1804E0 for ; Sat, 16 May 2020 09:37: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.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS8075 40.64.0.0/10 X-Spam-Virus: No X-Envelope-From: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-oln040092004013.outbound.protection.outlook.com [40.92.4.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sat, 16 May 2020 09:37:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DQ38/UhHQm7FTW9pcPKPCVLKdmYyg+A8a7OdiMvSpOmibUcXg0n1Mkdr7DZqAXwRf+UITBzCKzSJ74+SZm9oWIMzGm3nvOtCoOOUn2jxED+3w/ZKKlCuO4ycg+dcOTvJti6ESqP2jXJJ2yaNB4wHG9oqtual70porVi96cYlJk52Yce8ERHpsHNgvP4pQQQeyBKQMJ4F551T5Rx/nnK4ottNCheQ2pM0Pwvh9EKUdey6IFQ3MLJA1GRHVuTVm7s8vWuNaTdvPmfdCJEItELycwfAzKSYnwsvYJzBcoT6AvW9RegBYFy+Gvb9ceu3dyTrIfNz4PosqgknNaX/5PAB/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Rgbho75vhD28TEQBxSU1mOfayzxyJ07uLEVk54dSxxs=; b=FSv5mXUumyzqrGIs72QK/ry2w1zpv9kpVGQHCOBhR7nI9yVj8cSc+1p8x/MsapSAu0ab+QmjaunXza5ZPJIoxTqKHOIby21v8OhabGQ847iPBLfMgJ8bOJ7yWga1P6X0b/iCi71rXsKC+S7Ck50HT2wI9UHOsCNgLvfYMiD4phyORv0avGbjJWSUgo41NnYVT69CctYvBfP7Z8jK7vn7torR9lObCYFVJhXWd119VoUPRMRyOiyo6/+OUjALwgNUvfqxJx6YJIaAAbWZpq3+rKbAsciScLiBVs4w6O6snH71fVhoMA35IsrSFMq1LqGZDrOwcSnOWax2YMA7AQ7Gew== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Rgbho75vhD28TEQBxSU1mOfayzxyJ07uLEVk54dSxxs=; b=ROoibi0flHFrbCvRDEILlDliW9Yb0LMlbtK4pKmymSVM1L2ixjpG5eWKMMXst08tofW2qgGyr8FPOcWBtlJprwP0pe1Uti9OnSSwefN5XAM393SgQRMaUtXxrW2dFX0zx/7zPwz/6SKmWPpcN6KPbCF4WaRzmSCoyjDa4JS+IX9SFX0ovIKom4P/iHd6+wtIWCSSxMqFdv0HPBE16ZC+N2MLQd9UbW9n45bdrYqaoJsOOvEZ2lTZ663mVDgjp3OJyIwgheR6inzHeWzuNDkhbnTFch+bNEy6SzI+3oZsGQtjZxLnl2YScmsXLKmx028gx5agk+xIQ5N1FkJgij/o9A== Received: from BL2NAM02FT021.eop-nam02.prod.protection.outlook.com (10.152.76.54) by BL2NAM02HT103.eop-nam02.prod.protection.outlook.com (10.152.77.110) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.19; Sat, 16 May 2020 16:37:13 +0000 Received: from DM6PR07MB6618.namprd07.prod.outlook.com (2a01:111:e400:7e46::50) by BL2NAM02FT021.mail.protection.outlook.com (2a01:111:e400:7e46::414) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.19 via Frontend Transport; Sat, 16 May 2020 16:37:12 +0000 Received: from DM6PR07MB6618.namprd07.prod.outlook.com ([fe80::3054:f599:829e:7dd1]) by DM6PR07MB6618.namprd07.prod.outlook.com ([fe80::3054:f599:829e:7dd1%6]) with mapi id 15.20.3000.022; Sat, 16 May 2020 16:37:12 +0000 To: "internals@lists.php.net" Thread-Topic: [RFC] opcache.no_cache: Opcache optimization without any caching Thread-Index: AQHWK5wzTowRpqnQX0mkb/2wfLlg3Q== Date: Sat, 16 May 2020 16:37:12 +0000 Message-ID: Accept-Language: en-CA, en-US Content-Language: en-CA X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:9200A79B5F03F123D1721CF231C57FE4AD5BBBE9A91537A61276831FC3141249;UpperCasedChecksum:7238E677C1C1A7F1D0A2CD113D4ED484F8262B03C3E30BA194DDEC7B71905712;SizeAsReceived:6912;Count:42 x-tmn: [h9Ab7CvV0lpxsMdnwEcS7YGEtKm50m0+78dTz+SK14/OVZsqYkAgcCwb5eVm//E/] x-ms-publictraffictype: Email x-incomingheadercount: 42 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 88874aa5-2395-4229-2c11-08d7f9b762b4 x-ms-traffictypediagnostic: BL2NAM02HT103: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: iUpPuG/q/Nj29iym8tgltvpmvwWkMeUdtxI89YrirTWt6jHDO5bTvhyoSvhJ06Embp5BkeB018UEb7YwXChekGMDGPk7aFMgdMM2+F/0Low7avGVcqhOik9sud9K/pfLEJAQ35aOCD6bn86NA9pTNYyU4zFqjWri26hLcrYI1uZfJaFImhQoPYDwp0ElnNGx1crTKle/4CdoM5/ywzG64h5ySMXlPf02mTzOonEerh0c1pB3r9XIpY8hRTM66cQ3 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:0;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR07MB6618.namprd07.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:;DIR:OUT;SFP:1901; x-ms-exchange-antispam-messagedata: GsZsHU+fjVQHmO/Nv72/7lu1Z9eqWyS2szyP15835P1EKTR2K/NTOaBAVrALzYatoCTu416BT48Un2cWcDIINMr1SuXwEx1Ma2/pesr5upAohU8NJUNcDPM60oXgY4TcPDEKFswVggPsE1ZoEPLSsNgVEA/b2op7aGWdGqefh+jmB/oF8nrNuWJz453zD7SQOADxtFpegLrP0uRsy4BDkw== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 88874aa5-2395-4229-2c11-08d7f9b762b4 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 May 2020 16:37:12.5891 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2NAM02HT103 Subject: [RFC] opcache.no_cache: Opcache optimization without any caching From: tysonandre775@hotmail.com (tyson andre) Hi internals,=0A= =0A= I've created the RFC https://wiki.php.net/rfc/opcache.no_cache to make the = opcode optimizer and JIT available without opcode caching, through a new se= tting `opcache.no_cache=3D1`.=0A= =0A= So far, the feedback I've gotten is that having the ability to optimize wit= hout caching would be useful,=0A= but that moving the optimizer into Zend is possibly a better solution.=0A= (https://github.com/php/php-src/pull/5504 , =0A= announced two weeks ago in https://externals.io/message/109959 =0A= "opcache.no_cache prototype: Opcode optimization without caching")=0A= =0A= To summarize my reasons for creating the RFC without moving the optimizer:= =0A= =0A= - Even with the optimizer moved into PHP's core,=0A= I still think there'd be the same use case for a system ini configuration= setting to disable caching.=0A= (in designs I can imagine)=0A= - I consider this useful functionality to have, so I'd rather have a good s= olution than an ideal solution=0A= that currently isn't being worked on (to my knowledge)=0A= - I'd prefer creating an RFC with small changes here.=0A= - The discussions would be useful for future RFCs in this area.=0A= =0A= If a viable RFC&implementation to move opcache into core is created=0A= (and would conflict with this), I'll postpone this RFC.=0A= =0A= Thanks,=0A= - Tyson=