Skip to content

Commit c510d23

Browse files
Version 1.0.68: update times, support php8.5
1 parent 15e5793 commit c510d23

File tree

3 files changed

+27
-21
lines changed

3 files changed

+27
-21
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# ChangeLog
22

3+
@ 2025-07-12, v1.0.68
4+
5+
* Add support of php8.5
6+
37
@ 2025-06-13, v1.0.67
48

59
* Add optiion to make raw values in output

README.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# A simple PHP script to test speed
22

3-
Works with all versions of PHP: from 4.3 to 8.4
3+
Works with all versions of PHP: from 4.3 to 8.5
44

55
## Dependencies
66

bench.php

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# Author : Sergey Dryabzhinsky #
1111
# Company : Rusoft Ltd, Russia #
1212
# Date : Jun 13, 2025 #
13-
# Version : 1.0.68-dev #
13+
# Version : 1.0.68 #
1414
# License : Creative Commons CC-BY license #
1515
# Website : https://github.com/rusoft/php-simple-benchmark-script #
1616
# Website : https://gitea.rusoft.ru/open-source/php-simple-benchmark-script #
@@ -20,7 +20,7 @@
2020

2121
include_once("php-options.php");
2222

23-
$scriptVersion = '1.0.69-dev';
23+
$scriptVersion = '1.0.68';
2424

2525
// Special string to flush buffers, nginx for example
2626
$flushStr = '<!-- '.str_repeat(" ", 8192).' -->';
@@ -764,24 +764,25 @@ function gethostname() {
764764

765765
// Gathered on this machine
766766
$loopMaxPhpTimesMHz = 3500;
767-
// How much time needed for tests on this machine
767+
// How much time needed for tests on this machine, core func measure `phpXY -n bench.php -t 3600`
768768
$loopMaxPhpTimes = array(
769-
'4.4' => 1117,
770-
'5.2' => 1210,
771-
'5.3' => 2259,
772-
'5.4' => 4155,
773-
'5.5' => 4588,
774-
'5.6' => 4481,
775-
'7.0' => 3224,
776-
'7.1' => 3288,
777-
'7.2' => 2974,
778-
'7.3' => 3451,
779-
'7.4' => 3065,
780-
'8.0' => 3198,
781-
'8.1' => 4099,
782-
'8.2' => 2971,
783-
'8.3' => 3001,
784-
'8.4' => 4535
769+
'4.4' => 1529,
770+
'5.2' => 1206,
771+
'5.3' => 666,
772+
'5.4' => 632,
773+
'5.5' => 639,
774+
'5.6' => 620,
775+
'7.0' => 325,
776+
'7.1' => 314,
777+
'7.2' => 308,
778+
'7.3' => 289,
779+
'7.4' => 247,
780+
'8.0' => 296,
781+
'8.1' => 268,
782+
'8.2' => 251,
783+
'8.3' => 194,
784+
'8.4' => 193,
785+
'8.5' => 205
785786
);
786787
// Simple and fast test times, used to adjust all test times and limits
787788
$dumbTestMaxPhpTimes = array(
@@ -800,7 +801,8 @@ function gethostname() {
800801
'8.1' => 0.323,
801802
'8.2' => 0.294,
802803
'8.3' => 0.784,
803-
'8.4' => 0.759
804+
'8.4' => 0.759,
805+
'8.5' => 0.759
804806
);
805807
// Nice dice roll
806808
// Should not be longer than 600 seconds

0 commit comments

Comments
 (0)