Skip to content

Commit d5b51cd

Browse files
Version 1.0.35 - support php-7.4
1 parent 176126e commit d5b51cd

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

README.md

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

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

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

@@ -79,6 +79,10 @@ env PHP_MEMORY_LIMIT=64 PHP_TIME_LIMIT=30 php bench.php
7979

8080
## ChangeLog
8181

82+
@ 2019-12-20, v1.0.35
83+
84+
* Добавлена поддержка php-7.4.
85+
8286
@ 2019-05-10, v1.0.34
8387

8488
* Поправлено определение модели CPU и частота в MHz для процессоров ARM.

bench.php

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@
33
################################################################################
44
# PHP Benchmark Performance Script #
55
# 2010 Code24 BV #
6-
# 2015-2018 Rusoft #
6+
# 2015-2019 Rusoft #
77
# #
88
# Author : Alessandro Torrisi #
99
# Company : Code24 BV, The Netherlands #
1010
# Author : Sergey Dryabzhinsky #
1111
# Company : Rusoft Ltd, Russia #
1212
# Date : May 10, 2019 #
13-
# Version : 1.0.34 #
13+
# Version : 1.0.35 #
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.34';
21+
$scriptVersion = '1.0.35';
2222

2323
ini_set('display_errors', 0);
2424
ini_set('error_log', null);
@@ -307,29 +307,27 @@
307307
'4.4' => 350,
308308
'5.2' => 237,
309309
'5.3' => 211,
310-
// 5.4, 5.5, 5.6
311310
'5.4' => 191,
312311
'5.5' => 189,
313312
'5.6' => 190,
314-
// 7.0, 7.1
315313
'7.0' => 109,
316314
'7.1' => 107,
317315
'7.2' => 105,
318316
'7.3' => 92,
317+
'7.4' => 86,
319318
);
320319
$dumbTestMaxPhpTimes = array(
321320
'4.4' => 2.13,
322321
'5.2' => 1.82,
323322
'5.3' => 1.82,
324-
// 5.4, 5.5, 5.6
325323
'5.4' => 1.71,
326324
'5.5' => 1.86,
327325
'5.6' => 1.92,
328-
// 7.0, 7.1
329326
'7.0' => 1.19,
330327
'7.1' => 1.19,
331328
'7.2' => 1.18,
332329
'7.3' => 1.05,
330+
'7.4' => 1.02,
333331
);
334332
$testsLoopLimits = array(
335333
'01_math' => 1000000,

0 commit comments

Comments
 (0)