9
9
# Company : Code24 BV, The Netherlands #
10
10
# Author : Sergey Dryabzhinsky #
11
11
# Company : Rusoft Ltd, Russia #
12
- # Date : Jun 21 , 2021 #
13
- # Version : 1.0.43-dev #
12
+ # Date : Nov 26 , 2021 #
13
+ # Version : 1.0.43 #
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 #
@@ -32,7 +32,7 @@ function print_pre($msg) {
32
32
flush ();
33
33
}
34
34
35
- $ scriptVersion = '1.0.43-dev ' ;
35
+ $ scriptVersion = '1.0.43 ' ;
36
36
37
37
// Special striing to flush buffers, nginx for example
38
38
$ flushStr = '<!-- ' .str_repeat (" " , 4096 ).' --> ' ;
@@ -354,35 +354,35 @@ function print_pre($msg) {
354
354
$ loopMaxPhpTimesMHz = 3800 ;
355
355
// How much time needed for tests on this machine
356
356
$ loopMaxPhpTimes = array (
357
- '4.4 ' => 308 ,
358
- '5.2 ' => 226 ,
359
- '5.3 ' => 195 ,
360
- '5.4 ' => 174 ,
361
- '5.5 ' => 173 ,
362
- '5.6 ' => 170 ,
363
- '7.0 ' => 93 ,
364
- '7.1 ' => 92 ,
365
- '7.2 ' => 87 ,
366
- '7.3 ' => 78 ,
367
- '7.4 ' => 78 ,
368
- '8.0 ' => 73 ,
369
- '8.1 ' => 71 ,
357
+ '4.4 ' => 322 ,
358
+ '5.2 ' => 243 ,
359
+ '5.3 ' => 207 ,
360
+ '5.4 ' => 181 ,
361
+ '5.5 ' => 177 ,
362
+ '5.6 ' => 174 ,
363
+ '7.0 ' => 97 ,
364
+ '7.1 ' => 96 ,
365
+ '7.2 ' => 92 ,
366
+ '7.3 ' => 83 ,
367
+ '7.4 ' => 79 ,
368
+ '8.0 ' => 75 ,
369
+ '8.1 ' => 74 ,
370
370
);
371
371
// Simple and fast test times, used to adjust all test times and limits
372
372
$ dumbTestMaxPhpTimes = array (
373
- '4.4 ' => 0.983 ,
374
- '5.2 ' => 0.721 ,
375
- '5.3 ' => 0.659 ,
376
- '5.4 ' => 0.720 ,
377
- '5.5 ' => 0.723 ,
378
- '5.6 ' => 0.723 ,
379
- '7.0 ' => 0.401 ,
380
- '7.1 ' => 0.393 ,
381
- '7.2 ' => 0.387 ,
382
- '7.3 ' => 0.311 ,
383
- '7.4 ' => 0.315 ,
384
- '8.0 ' => 0.298 ,
385
- '8.1 ' => 0.298 ,
373
+ '4.4 ' => 1.041 ,
374
+ '5.2 ' => 0.771 ,
375
+ '5.3 ' => 0.737 ,
376
+ '5.4 ' => 0.769 ,
377
+ '5.5 ' => 0.770 ,
378
+ '5.6 ' => 0.781 ,
379
+ '7.0 ' => 0.425 ,
380
+ '7.1 ' => 0.425 ,
381
+ '7.2 ' => 0.412 ,
382
+ '7.3 ' => 0.339 ,
383
+ '7.4 ' => 0.340 ,
384
+ '8.0 ' => 0.324 ,
385
+ '8.1 ' => 0.323 ,
386
386
);
387
387
// Nice dice roll
388
388
// Should be passed into 600 seconds
@@ -1016,10 +1016,11 @@ function format_result_test($diffSeconds, $opCount, $memory = 0)
1016
1016
}
1017
1017
$ has_xdebug = "no " ;
1018
1018
if (extension_loaded ('xdebug ' )) {
1019
- $ has_debug = "yes " ;
1019
+ print_pre ("Extenstion 'xdebug' loaded! It will affect results and slow things greatly! Even if not enabled! " );
1020
+ $ has_xdebug = "yes " ;
1020
1021
}
1021
1022
$ has_dom = "no " ;
1022
- if (extension_loaded ('dom ' ) || extension_loaded ( ' domxml ' ) ) {
1023
+ if (extension_loaded ('dom ' )) {
1023
1024
$ has_dom = "yes " ;
1024
1025
}
1025
1026
$ has_simplexml = "no " ;
0 commit comments