Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119359 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 59130 invoked from network); 20 Jan 2023 09:38:32 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 20 Jan 2023 09:38:32 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 37ACC1801FD for ; Fri, 20 Jan 2023 01:38:31 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS24940 138.201.0.0/16 X-Spam-Virus: No X-Envelope-From: Received: from swift.blarg.de (swift.blarg.de [138.201.185.127]) by php-smtp4.php.net (Postfix) with ESMTP for ; Fri, 20 Jan 2023 01:38:30 -0800 (PST) Received: from swift.blarg.de (swift.blarg.de [IPv6:2a01:4f8:c17:52a8::2]) (Authenticated sender: max) by swift.blarg.de (Postfix) with ESMTPSA id 55FBD41294; Fri, 20 Jan 2023 10:38:28 +0100 (CET) Date: Fri, 20 Jan 2023 10:38:27 +0100 To: Kamil Tekiela Cc: internals@lists.php.net Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [PHP-DEV] RFC: rules for #include directives From: max+php@blarg.de (Max Kellermann) On 2023/01/16 17:43, Max Kellermann wrote: > I did, but in this early stage, there is no measurable speedup yet, > because there are still too many "fat" headers left that need to be > included everywhere, which in turn include too much. The many small > improvements I made so far drown in that noise. Meanwhile, my draft branch builds 2% faster (perf-stat/cycles: 328,246,125,055 -> 320,802,717,013; the measurement is stable enough to always see that 2% improvement). This is still in an early stage (most Zend headers have been cleaned up, but little else, no main, no extensions). There's much more to gain. Improved build times are the least important aspect of this code cleanup, but this effect does exist. Max