Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119286 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 77791 invoked from network); 16 Jan 2023 16:43:26 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 16 Jan 2023 16:43:26 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 24A3A180538 for ; Mon, 16 Jan 2023 08:43:26 -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 ; Mon, 16 Jan 2023 08:43:25 -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 25F2441116; Mon, 16 Jan 2023 17:43:24 +0100 (CET) Date: Mon, 16 Jan 2023 17:43:22 +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:25, Kamil Tekiela wrote: > Have you done any benchmarking in terms of build time? Is there any > tangible difference or is it only theoretical? 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. Once I have disentangled and splitted those fat headers (e.g. move zend_result to a separate header to avoid including zend_types.h everywhere), the speedup will be measurable and perceptible. It's too early to prove it with numbers.