File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 1
1
# Простой скрипт проверки быстродействия PHP
2
2
3
- Работает со всеми версиями ПХП: от 4.3 до 7.3
3
+ Работает со всеми версиями ПХП: от 4.3 до 7.4
4
4
5
5
## Зависимости
6
6
@@ -79,6 +79,10 @@ env PHP_MEMORY_LIMIT=64 PHP_TIME_LIMIT=30 php bench.php
79
79
80
80
## ChangeLog
81
81
82
+ @ 2019-12-20, v1.0.35
83
+
84
+ * Добавлена поддержка php-7.4.
85
+
82
86
@ 2019-05-10, v1.0.34
83
87
84
88
* Поправлено определение модели CPU и частота в MHz для процессоров ARM.
Original file line number Diff line number Diff line change 3
3
################################################################################
4
4
# PHP Benchmark Performance Script #
5
5
# 2010 Code24 BV #
6
- # 2015-2018 Rusoft #
6
+ # 2015-2019 Rusoft #
7
7
# #
8
8
# Author : Alessandro Torrisi #
9
9
# Company : Code24 BV, The Netherlands #
10
10
# Author : Sergey Dryabzhinsky #
11
11
# Company : Rusoft Ltd, Russia #
12
12
# Date : May 10, 2019 #
13
- # Version : 1.0.34 #
13
+ # Version : 1.0.35 #
14
14
# License : Creative Commons CC-BY license #
15
15
# Website : https://github.com/rusoft/php-simple-benchmark-script #
16
16
# Website : https://git.rusoft.ru/open-source/php-simple-benchmark-script #
17
17
# #
18
18
################################################################################
19
19
*/
20
20
21
- $ scriptVersion = '1.0.34 ' ;
21
+ $ scriptVersion = '1.0.35 ' ;
22
22
23
23
ini_set ('display_errors ' , 0 );
24
24
ini_set ('error_log ' , null );
307
307
'4.4 ' => 350 ,
308
308
'5.2 ' => 237 ,
309
309
'5.3 ' => 211 ,
310
- // 5.4, 5.5, 5.6
311
310
'5.4 ' => 191 ,
312
311
'5.5 ' => 189 ,
313
312
'5.6 ' => 190 ,
314
- // 7.0, 7.1
315
313
'7.0 ' => 109 ,
316
314
'7.1 ' => 107 ,
317
315
'7.2 ' => 105 ,
318
316
'7.3 ' => 92 ,
317
+ '7.4 ' => 86 ,
319
318
);
320
319
$ dumbTestMaxPhpTimes = array (
321
320
'4.4 ' => 2.13 ,
322
321
'5.2 ' => 1.82 ,
323
322
'5.3 ' => 1.82 ,
324
- // 5.4, 5.5, 5.6
325
323
'5.4 ' => 1.71 ,
326
324
'5.5 ' => 1.86 ,
327
325
'5.6 ' => 1.92 ,
328
- // 7.0, 7.1
329
326
'7.0 ' => 1.19 ,
330
327
'7.1 ' => 1.19 ,
331
328
'7.2 ' => 1.18 ,
332
329
'7.3 ' => 1.05 ,
330
+ '7.4 ' => 1.02 ,
333
331
);
334
332
$ testsLoopLimits = array (
335
333
'01_math ' => 1000000 ,
You can’t perform that action at this time.
0 commit comments