Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125708 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id BC3B61A00BD for ; Sun, 29 Sep 2024 11:56:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1727611100; bh=mDwJQ1it9f37eey8E8s98Y0mp7fQEx0kzHXv8jZgOGU=; h=From:Date:Subject:To:From; b=IUFSELlCRhwIsAaHez2C7toV7EsyF9fUZ/Oko85YCVcTyHru2hJrlKOCh61QCoXnQ qY+yLh1sb3qviXUrLRnpfnBvfJGkxmZJH99BD3/soIzCQsr+l+WhyW48yQTiQsnfGn DN3qgMSieYWnKdse3sL9eJZwTUUpcANMWtp05z75H2Wlk+7tYZg+0pBB8eHrMvqT6Q 2kFMpeOvjPV2ymGDeEjNStfKIvI9VQqzqWM1x8s/eIVTT8a18aao/2fEnFtaroh6N1 tAbfdmqsokM1zpS+4rJHMmt4hIULhWxTWtxdXp+8FUu/XF+NyATx0UKG9ObHQfUBrr bgzE0Nu8/m2lA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A005B180037 for ; Sun, 29 Sep 2024 11:58:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, 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=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 29 Sep 2024 11:58:13 +0000 (UTC) Received: by mail-qt1-f173.google.com with SMTP id d75a77b69052e-457e153cbdcso32353021cf.2 for ; Sun, 29 Sep 2024 04:56:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727610961; x=1728215761; darn=lists.php.net; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=mDwJQ1it9f37eey8E8s98Y0mp7fQEx0kzHXv8jZgOGU=; b=NMDg8rIPfeEyAf8wO+EydNT1DZNlbvw05m05gkD9AsDf3Hiygo6bmufFEknfIlsexA HwuX8eOC7S2PpP0GmWIC190JM7pnLS2UnLy3HJ7NzEfX40j3SpMvLi16DhzXXomXaOOD xPtreFNlrHs3Nz3HxXjsAI5sCWeKEgUSzxqj0EbCcboPNkeyFRh6z5UtuBFQTGzb6eGh R88D1zNA3igYmnqxb4GgaLwrQiEOiwP95NyeOwVjDrai2OnEW+XrpDgPJPz0wTIy+H// 8zN7p/N02TsPDyU/ARsHI2BeEC3FKnUCOfg6qHyjJ/IE03czOJ2FMjLj+omHjKAyZeuF vpzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727610961; x=1728215761; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=mDwJQ1it9f37eey8E8s98Y0mp7fQEx0kzHXv8jZgOGU=; b=mFaLtPRDgwUBh208idZzRjo20kjrwewclGm82gkY/seL4IcfP8hgbKZgtFG04x/VWb X4UBLX0Rr74RzDbv2GMDp+VWQ7YAp1xphEfqPp6xiTOYdl+xPgQnCeu9Ab5AVZRl6gno z6YLHW8066S7T51DtqGcqju8k+JJvGgB2ZH3AOPZRFz6hg+KYelGyNrCAMUrsQ7XDQj9 4hQ5WQqeRVuyqj0KtChtdpEVDqQsyTY0vsg+kLX/RDVA8vv8lahMjhK35KSCHImtUzwc MwL+maLl+BL7zBfuZjuahC3JjnGGwQczAsVivDyWtcIenOH5Hh0XD0LkZ20GfIolLWuJ DwcA== X-Gm-Message-State: AOJu0YzM2mtWQ/++A6vJGPCkUpEYWxhY3GoOytxQsAl2ab+CokbL1avu 6EewwgLxDqFkeDNvMVwxMRiMe0ghiFaRFIdnaoJMB9TQtP5PdMFiM022To/6D6btca/LhAt7yCk tUlwdCEtXSgQB71aiReLLshvEWUEqPSb2 X-Google-Smtp-Source: AGHT+IFNUu1I+z5UIZa3X00MRcapccssvU6cKa98EpfDOcMe6BuQZPQuwPX1Bssix2dTeN5n0ZaLEQnomI2YSZX1KhI= X-Received: by 2002:a05:622a:14d:b0:458:2b7b:c45c with SMTP id d75a77b69052e-45c9f2876eemr133290191cf.39.1727610960580; Sun, 29 Sep 2024 04:56:00 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Date: Sun, 29 Sep 2024 13:55:48 +0200 Message-ID: Subject: [PHP-DEV] Real-time benchmark suite has just been added To: PHP Internals List Content-Type: multipart/alternative; boundary="0000000000009d9cf7062340c58c" From: kocsismate90@gmail.com (=?UTF-8?B?TcOhdMOpIEtvY3Npcw==?=) --0000000000009d9cf7062340c58c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Everyone, It's been a while when I sent my email about introducing an automatic benchmark suite I had been working: https://externals.io/message/116323#116323 Now I would like to share an important milestone of this project: After doing lots of improvements and fixes throughout the year, the suite now reached the required maturity level to be able to use it within PHP's nightly CI jobs (experimentally for now). Previously, consistency and reliability issues, as well as the lack of financial support prevented us from doing so. As these issues were addressed by now, we will be able to track the performance changes of PHP, starting with 8.5. The initial results are very promising for real-word app based tests (Larav= el, Symfony, Wordpress), indicating that the results are consistent and seemingly reliable. For example run to run variation of the median absolute results typically don't exceed 0.001 sec. When benchmarking a php-src commit against itself, the relative difference for each real-word test varied between 0.01% and 0.06% (while 0.0% would have been the best possible value). Unfortunately, unlike real-word apps, micro benchmarks (bench.php and micro_bench.php) sometimes give inconsistent results, so there is still room for improvements. Besides making micro benchmarks more reliable, future plans include adding visualization, and coming up with some notification system which tells us if there is a notable performance regression or progression. For anyone interested in the project and the results, the benchmark suite is available at https://github.com/kocsismate/php-version-benchmarks, while the nightly results are committed into https://github.com/php/real-time-benchmark-data in both human friendly (markdown) and in machine processable format (tsv). Additionally, a more detailed explanation about the benchmark's methodology can be found at https://github.com/php/php-src/pull/15696. Regards, M=C3=A1t=C3=A9 --0000000000009d9cf7062340c58c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Everyone,

It's been a while when= I sent my email about introducing an automatic benchmark suite I had been = working:=C2=A0https:= //externals.io/message/116323#116323 Now I would like to share an
=
important milestone of this project:

After do= ing lots of improvements and fixes throughout the year, the=C2=A0suite now = reached the
required maturity level to be able to use it within P= HP's nightly CI jobs (experimentally for now).
Previously, co= nsistency and reliability issues, as well as the lack of financial support = prevented
us from doing so. As these issues were addressed by now= , we will be able to track the
performance changes of PHP, starti= ng with 8.5.

The initial results are very promisin= g for real-word app based tests=C2=A0(Laravel, Symfony,
Wordpress), indicating that = the results are consistent and seemingly reliable. For example run to
run variation of the med= ian absolute results typically=C2=A0don't exceed 0.001 sec. When
benchmarking a php-src commit against itself, the rela= tive difference for each real-word test
varied between 0.01% and 0.06% (while 0.0% would have = been the best possible value).

Un= fortunately, unlike real-word apps, micro benchmarks (bench.php and micro_b= ench.php)
sometimes= give inconsistent results, so there is still room for improvements. Beside= s making
micro benchmarks more reliable, future= =C2=A0plans include adding visualization, and coming up with
some notification system which te= lls us if there is a notable performance regression or progression.<= /div>

For anyone interested in the project and the resul= ts, the benchmark suite is available at
https://github.com/kocsismate/php-v= ersion-benchmarks, while the nightly results are committed
in= to https://gith= ub.com/php/real-time-benchmark-data in both human friendly (markdown) a= nd in
machine processable format (tsv).=C2=A0Additionally, a=C2=A0more detailed explanation about the= benchmark's methodology can be found at https://github.com/php/php-src/pull/15696.

Regards,
M=C3=A1t=C3=A9
--0000000000009d9cf7062340c58c--