Skip to content

Commit f13efcb

Browse files
committedFeb 17, 2023
Предварительная версия 1.0.51 - поддержка php-8.2
1 parent 590f2ed commit f13efcb

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed
 

‎CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# ChangeLog
22

3+
@ 2023-02-17, v1.0.51
4+
5+
* Добавили поддержку php-8.2
6+
37
@ 2022-05-04, v1.0.50
48

59
* Быстрое исправление кода - переместил получение версии PHP выше

‎README.en.md

+4-4
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.1
3+
Works with all versions of PHP: from 4.3 to 8.2
44

55
## Dependencies
66

@@ -137,7 +137,7 @@ CPU :
137137
cores : 4
138138
available : 4
139139
MHz : 3600 MHz
140-
Benchmark version : 1.0.47
140+
Benchmark version : 1.0.51
141141
PHP version : 7.4.29-SergeyD/6.1
142142
PHP time limit : 0 sec
143143
Setup time limit : 600 sec
@@ -214,7 +214,7 @@ Peak PHP memory usage: : 86.58 Mb
214214
Command: `php74 -derror_log= -dxdebug.mode=off bench.php -T 01_math -T 33_phpinfo_generate -J`
215215
```
216216
{
217-
"php_benchmark_script": "1.0.48-dev",
217+
"php_benchmark_script": "1.0.51",
218218
"start": "2022-05-03 22:11:19",
219219
"server": "Linux/5.4.0-104-lowlatency x86_64",
220220
"system": "Ubuntu 18.04.6 LTS",
@@ -237,7 +237,7 @@ Command: `php74 -derror_log= -dxdebug.mode=off bench.php -T 01_math -T 33_phpinf
237237

238238
Command: `php74 -derror_log= -dxdebug.mode=off bench.php -T 01_math -T 33_phpinfo_generate -M`
239239
```
240-
PHP_BENCHMARK_SCRIPT: 1.0.48-dev
240+
PHP_BENCHMARK_SCRIPT: 1.0.51
241241
START: 2022-05-03 22:11:52
242242
SERVER: Linux/5.4.0-104-lowlatency x86_64
243243
SYSTEM: Ubuntu 18.04.6 LTS

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Простой скрипт проверки быстродействия PHP
22

3-
Работает со всеми версиями ПХП: от 4.3 до 8.1
3+
Работает со всеми версиями ПХП: от 4.3 до 8.2
44

55
## Зависимости
66

‎bench.php

+6-4
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@
33
################################################################################
44
# PHP Benchmark Performance Script #
55
# 2010 Code24 BV #
6-
# 2015-2021 Rusoft #
6+
# 2015-2023 Rusoft #
77
# #
88
# Author : Alessandro Torrisi #
99
# Company : Code24 BV, The Netherlands #
1010
# Author : Sergey Dryabzhinsky #
1111
# Company : Rusoft Ltd, Russia #
12-
# Date : May 04, 2022 #
13-
# Version : 1.0.50 #
12+
# Date : Feb 17, 2023 #
13+
# Version : 1.0.51 #
1414
# License : Creative Commons CC-BY license #
1515
# Website : https://github.com/rusoft/php-simple-benchmark-script #
1616
# Website : https://git.rusoft.ru/open-source/php-simple-benchmark-script #
1717
# #
1818
################################################################################
1919
*/
2020

21-
$scriptVersion = '1.0.50';
21+
$scriptVersion = '1.0.51-dev';
2222

2323
// Special string to flush buffers, nginx for example
2424
$flushStr = '<!-- '.str_repeat(" ", 8192).' -->';
@@ -607,6 +607,7 @@ function print_norm($msg) {
607607
'7.4' => 89,
608608
'8.0' => 83,
609609
'8.1' => 82,
610+
'8.2' => 79,
610611
);
611612
// Simple and fast test times, used to adjust all test times and limits
612613
$dumbTestMaxPhpTimes = array(
@@ -623,6 +624,7 @@ function print_norm($msg) {
623624
'7.4' => 0.340,
624625
'8.0' => 0.324,
625626
'8.1' => 0.323,
627+
'8.2' => 0.294,
626628
);
627629
// Nice dice roll
628630
// Should not be longer than 600 seconds

0 commit comments

Comments
 (0)
Failed to load comments.