Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
centminmod vs easyengine vs webinoly vs vestacp vs oneinstack phpbench raw numbers 17/06/18
-------------------------------------------------------------------------------------------
lxc start centos75-2

php -v
PHP 7.2.6 (cli) (built: Jun 16 2018 12:20:03) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.6, Copyright (c) 1999-2018, by Zend Technologies


curl -Iks https://http2.domain.com/bench.php
HTTP/1.1 200 OK
Date: Sat, 16 Jun 2018 17:10:05 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
Server: nginx centminmod
X-Powered-By: centminmod


curl -Iks https://http2.domain.com/micro_bench.php
HTTP/1.1 200 OK
Date: Sat, 16 Jun 2018 17:10:09 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
Server: nginx centminmod
X-Powered-By: centminmod


php -d opcache.enable_cli=0 -f /home/nginx/domains/http2.domain.com/public/micro_bench.php
empty_loop         0.055
func()             0.112    0.057
undef_func()       0.119    0.065
int_func()         0.064    0.009
$x = self::$x      0.104    0.049
self::$x = 0       0.094    0.039
isset(self::$x)    0.087    0.032
empty(self::$x)    0.098    0.043
$x = Foo::$x       0.079    0.024
Foo::$x = 0        0.074    0.019
isset(Foo::$x)     0.073    0.018
empty(Foo::$x)     0.084    0.029
self::f()          0.149    0.094
Foo::f()           0.131    0.076
$x = $this->x      0.074    0.019
$this->x = 0       0.061    0.006
$this->x += 2      0.106    0.051
++$this->x         0.076    0.021
--$this->x         0.074    0.019
$this->x++         0.095    0.040
$this->x--         0.094    0.040
isset($this->x)    0.097    0.042
empty($this->x)    0.101    0.046
$this->f()         0.116    0.061
$x = Foo::TEST     0.117    0.062
new Foo()          0.249    0.194
$x = TEST          0.068    0.013
$x = $_GET         0.116    0.061
$x = $GLOBALS['v'] 0.163    0.109
$x = $hash['v']    0.107    0.052
$x = $str[0]       0.090    0.035
$x = $a ?: null    0.078    0.023
$x = $f ?: tmp     0.094    0.039
$x = $f ? $f : $a  0.072    0.018
$x = $f ? $f : tmp 0.075    0.020
------------------------
Total              3.447
real: 3.53s user: 3.51s sys: 0.00s cpu: 99% maxmem: 32796 KB cswaits: 2

php -d opcache.enable_cli=0 -f /home/nginx/domains/http2.domain.com/public/micro_bench.php
empty_loop         0.034
func()             0.109    0.075
undef_func()       0.123    0.089
int_func()         0.062    0.028
$x = self::$x      0.096    0.062
self::$x = 0       0.094    0.060
isset(self::$x)    0.095    0.061
empty(self::$x)    0.110    0.076
$x = Foo::$x       0.084    0.050
Foo::$x = 0        0.076    0.042
isset(Foo::$x)     0.068    0.034
empty(Foo::$x)     0.077    0.043
self::f()          0.147    0.113
Foo::f()           0.128    0.094
$x = $this->x      0.071    0.037
$this->x = 0       0.056    0.022
$this->x += 2      0.104    0.070
++$this->x         0.074    0.040
--$this->x         0.074    0.040
$this->x++         0.080    0.046
$this->x--         0.086    0.052
isset($this->x)    0.108    0.074
empty($this->x)    0.104    0.070
$this->f()         0.122    0.088
$x = Foo::TEST     0.099    0.065
new Foo()          0.281    0.247
$x = TEST          0.098    0.064
$x = $_GET         0.149    0.115
$x = $GLOBALS['v'] 0.148    0.114
$x = $hash['v']    0.106    0.073
$x = $str[0]       0.094    0.061
$x = $a ?: null    0.083    0.050
$x = $f ?: tmp     0.087    0.053
$x = $f ? $f : $a  0.074    0.040
$x = $f ? $f : tmp 0.077    0.043
------------------------
Total              3.478
real: 3.54s user: 3.49s sys: 0.02s cpu: 99% maxmem: 32844 KB cswaits: 5

php -d opcache.enable_cli=0 -f /home/nginx/domains/http2.domain.com/public/micro_bench.php
empty_loop         0.036
func()             0.118    0.082
undef_func()       0.122    0.086
int_func()         0.060    0.024
$x = self::$x      0.097    0.061
self::$x = 0       0.095    0.059
isset(self::$x)    0.095    0.059
empty(self::$x)    0.100    0.064
$x = Foo::$x       0.093    0.057
Foo::$x = 0        0.071    0.035
isset(Foo::$x)     0.068    0.032
empty(Foo::$x)     0.080    0.044
self::f()          0.136    0.100
Foo::f()           0.114    0.078
$x = $this->x      0.075    0.039
$this->x = 0       0.056    0.020
$this->x += 2      0.115    0.079
++$this->x         0.079    0.043
--$this->x         0.074    0.038
$this->x++         0.083    0.047
$this->x--         0.082    0.046
isset($this->x)    0.098    0.062
empty($this->x)    0.104    0.068
$this->f()         0.121    0.085
$x = Foo::TEST     0.097    0.061
new Foo()          0.253    0.216
$x = TEST          0.069    0.033
$x = $_GET         0.100    0.064
$x = $GLOBALS['v'] 0.148    0.112
$x = $hash['v']    0.103    0.067
$x = $str[0]       0.090    0.054
$x = $a ?: null    0.081    0.045
$x = $f ?: tmp     0.089    0.053
$x = $f ? $f : $a  0.070    0.034
$x = $f ? $f : tmp 0.075    0.039
------------------------
Total              3.347
real: 3.41s user: 3.37s sys: 0.02s cpu: 99% maxmem: 32752 KB cswaits: 5

micro_bench.php results from 3 runs
3.447
3.478
3.347

centos75-2 micro_bench.php avg : 3.4240
[centos75-2 opcache.enable_cli=0] Avg: real: 3.49s user: 3.46s sys: 0.01s cpu: 99.00% maxmem: 32797.33KB cswaits: 4.00
centos75-2-no-pgo opcache.enable_cli=0 micro_bench.php (phpext=66) runtime-min: 3.347 runtime-avg: 3.424 runtime-max: 3.478 runtime-stddev: 0.068 real: 3.49s user: 3.46s sys: 0.01s cpu: 99.00% maxmem: 32797.33KB
[centos75-2] created results log at /home/lxcsh-phpbench-logs/bench_160618-101009.log

php -d opcache.enable_cli=0 -f /home/nginx/domains/http2.domain.com/public/bench.php
simple             0.031
simplecall         0.010
simpleucall        0.026
simpleudcall       0.025
mandel             0.104
mandel2            0.120
ackermann(7)       0.022
ary(50000)         0.006
ary2(50000)        0.004
ary3(2000)         0.055
fibo(30)           0.078
hash1(50000)       0.015
hash2(500)         0.015
heapsort(20000)    0.047
matrix(20)         0.033
nestedloop(12)     0.057
sieve(30)          0.016
strcat(200000)     0.005
------------------------
Total              0.668
real: 0.73s user: 0.69s sys: 0.03s cpu: 99% maxmem: 38684 KB cswaits: 5

php -d opcache.enable_cli=0 -f /home/nginx/domains/http2.domain.com/public/bench.php
simple             0.031
simplecall         0.008
simpleucall        0.028
simpleudcall       0.042
mandel             0.105
mandel2            0.110
ackermann(7)       0.026
ary(50000)         0.006
ary2(50000)        0.004
ary3(2000)         0.054
fibo(30)           0.102
hash1(50000)       0.015
hash2(500)         0.009
heapsort(20000)    0.033
matrix(20)         0.030
nestedloop(12)     0.054
sieve(30)          0.019
strcat(200000)     0.010
------------------------
Total              0.686
real: 0.76s user: 0.72s sys: 0.02s cpu: 99% maxmem: 38920 KB cswaits: 3

php -d opcache.enable_cli=0 -f /home/nginx/domains/http2.domain.com/public/bench.php
simple             0.029
simplecall         0.009
simpleucall        0.023
simpleudcall       0.036
mandel             0.127
mandel2            0.128
ackermann(7)       0.022
ary(50000)         0.006
ary2(50000)        0.004
ary3(2000)         0.063
fibo(30)           0.082
hash1(50000)       0.014
hash2(500)         0.012
heapsort(20000)    0.029
matrix(20)         0.033
nestedloop(12)     0.052
sieve(30)          0.018
strcat(200000)     0.010
------------------------
Total              0.696
real: 0.76s user: 0.72s sys: 0.03s cpu: 99% maxmem: 38756 KB cswaits: 5

bench.php results from 3 runs
0.668
0.686
0.696

centos75-2 bench.php avg : 0.6833
[centos75-2 opcache.enable_cli=0] Avg: real: 0.75s user: 0.71s sys: 0.03s cpu: 99.00% maxmem: 38786.67KB cswaits: 4.33
centos75-2-no-pgo opcache.enable_cli=0 bench.php (phpext=66) runtime-min: 0.668 runtime-avg: 0.683 runtime-max: 0.696 runtime-stddev: 0.014 real: 0.75s user: 0.71s sys: 0.03s cpu: 99.00% maxmem: 38786.67KB
[centos75-2] created results log at /home/lxcsh-phpbench-logs/bench_160618-101021.log

php -d opcache.enable_cli=1 -f /home/nginx/domains/http2.domain.com/public/micro_bench.php
empty_loop         0.028
func()             0.027    -0.001
undef_func()       0.027    -0.002
int_func()         0.031    0.003
$x = self::$x      0.092    0.064
self::$x = 0       0.094    0.065
isset(self::$x)    0.073    0.045
empty(self::$x)    0.078    0.050
$x = Foo::$x       0.078    0.050
Foo::$x = 0        0.069    0.041
isset(Foo::$x)     0.081    0.053
empty(Foo::$x)     0.062    0.034
self::f()          0.031    0.003
Foo::f()           0.031    0.003
$x = $this->x      0.111    0.083
$this->x = 0       0.051    0.023
$this->x += 2      0.098    0.070
++$this->x         0.092    0.064
--$this->x         0.101    0.073
$this->x++         0.109    0.081
$this->x--         0.082    0.054
isset($this->x)    0.077    0.049
empty($this->x)    0.097    0.069
$this->f()         0.127    0.099
$x = Foo::TEST     0.121    0.093
new Foo()          0.286    0.258
$x = TEST          0.063    0.035
$x = $_GET         0.110    0.082
$x = $GLOBALS['v'] 0.149    0.121
$x = $hash['v']    0.030    0.002
$x = $str[0]       0.026    -0.002
$x = $a ?: null    0.026    -0.002
$x = $f ?: tmp     0.029    0.001
$x = $f ? $f : $a  0.030    0.002
$x = $f ? $f : tmp 0.027    -0.001
------------------------
Total              2.646
real: 2.72s user: 2.68s sys: 0.02s cpu: 99% maxmem: 35340 KB cswaits: 5

php -d opcache.enable_cli=1 -f /home/nginx/domains/http2.domain.com/public/micro_bench.php
empty_loop         0.029
func()             0.029    0.000
undef_func()       0.031    0.002
int_func()         0.034    0.004
$x = self::$x      0.095    0.066
self::$x = 0       0.090    0.061
isset(self::$x)    0.071    0.041
empty(self::$x)    0.076    0.047
$x = Foo::$x       0.070    0.040
Foo::$x = 0        0.063    0.034
isset(Foo::$x)     0.050    0.021
empty(Foo::$x)     0.054    0.025
self::f()          0.027    -0.003
Foo::f()           0.029    0.000
$x = $this->x      0.074    0.045
$this->x = 0       0.054    0.025
$this->x += 2      0.100    0.071
++$this->x         0.075    0.046
--$this->x         0.074    0.045
$this->x++         0.079    0.050
$this->x--         0.088    0.059
isset($this->x)    0.093    0.064
empty($this->x)    0.087    0.058
$this->f()         0.147    0.118
$x = Foo::TEST     0.096    0.067
new Foo()          0.240    0.211
$x = TEST          0.066    0.037
$x = $_GET         0.100    0.071
$x = $GLOBALS['v'] 0.141    0.112
$x = $hash['v']    0.031    0.002
$x = $str[0]       0.029    0.000
$x = $a ?: null    0.037    0.008
$x = $f ?: tmp     0.033    0.004
$x = $f ? $f : $a  0.028    -0.001
$x = $f ? $f : tmp 0.027    -0.002
------------------------
Total              2.449
real: 2.52s user: 2.48s sys: 0.02s cpu: 99% maxmem: 35508 KB cswaits: 5

php -d opcache.enable_cli=1 -f /home/nginx/domains/http2.domain.com/public/micro_bench.php
empty_loop         0.031
func()             0.028    -0.002
undef_func()       0.052    0.021
int_func()         0.044    0.013
$x = self::$x      0.093    0.062
self::$x = 0       0.101    0.070
isset(self::$x)    0.075    0.044
empty(self::$x)    0.083    0.052
$x = Foo::$x       0.072    0.041
Foo::$x = 0        0.074    0.043
isset(Foo::$x)     0.050    0.019
empty(Foo::$x)     0.052    0.021
self::f()          0.036    0.005
Foo::f()           0.032    0.001
$x = $this->x      0.096    0.065
$this->x = 0       0.067    0.036
$this->x += 2      0.103    0.072
++$this->x         0.071    0.040
--$this->x         0.072    0.041
$this->x++         0.076    0.046
$this->x--         0.094    0.063
isset($this->x)    0.082    0.051
empty($this->x)    0.084    0.053
$this->f()         0.114    0.083
$x = Foo::TEST     0.095    0.064
new Foo()          0.242    0.211
$x = TEST          0.059    0.028
$x = $_GET         0.113    0.082
$x = $GLOBALS['v'] 0.133    0.102
$x = $hash['v']    0.025    -0.006
$x = $str[0]       0.034    0.003
$x = $a ?: null    0.034    0.003
$x = $f ?: tmp     0.027    -0.004
$x = $f ? $f : $a  0.032    0.001
$x = $f ? $f : tmp 0.029    -0.001
------------------------
Total              2.505
real: 2.58s user: 2.54s sys: 0.03s cpu: 99% maxmem: 35308 KB cswaits: 3

micro_bench.php results from 3 runs
2.646
2.449
2.505

centos75-2 micro_bench.php avg : 2.5333
[centos75-2 opcache.enable_cli=1] Avg: real: 2.61s user: 2.57s sys: 0.02s cpu: 99.00% maxmem: 35385.33KB cswaits: 4.33
centos75-2-no-pgo opcache.enable_cli=1 micro_bench.php (phpext=66) runtime-min: 2.449 runtime-avg: 2.533 runtime-max: 2.646 runtime-stddev: 0.102 real: 2.61s user: 2.57s sys: 0.02s cpu: 99.00% maxmem: 35385.33KB
[centos75-2] created results log at /home/lxcsh-phpbench-logs/bench_160618-101025.log

php -d opcache.enable_cli=1 -f /home/nginx/domains/http2.domain.com/public/bench.php
simple             0.008
simplecall         0.004
simpleucall        0.004
simpleudcall       0.004
mandel             0.030
mandel2            0.045
ackermann(7)       0.018
ary(50000)         0.006
ary2(50000)        0.005
ary3(2000)         0.054
fibo(30)           0.075
hash1(50000)       0.018
hash2(500)         0.015
heapsort(20000)    0.038
matrix(20)         0.034
nestedloop(12)     0.039
sieve(30)          0.016
strcat(200000)     0.009
------------------------
Total              0.421
real: 0.49s user: 0.44s sys: 0.03s cpu: 98% maxmem: 41664 KB cswaits: 5

php -d opcache.enable_cli=1 -f /home/nginx/domains/http2.domain.com/public/bench.php
simple             0.008
simplecall         0.004
simpleucall        0.004
simpleudcall       0.004
mandel             0.045
mandel2            0.061
ackermann(7)       0.019
ary(50000)         0.005
ary2(50000)        0.004
ary3(2000)         0.063
fibo(30)           0.072
hash1(50000)       0.012
hash2(500)         0.011
heapsort(20000)    0.027
matrix(20)         0.023
nestedloop(12)     0.029
sieve(30)          0.011
strcat(200000)     0.006
------------------------
Total              0.409
real: 0.47s user: 0.44s sys: 0.03s cpu: 98% maxmem: 41840 KB cswaits: 4

php -d opcache.enable_cli=1 -f /home/nginx/domains/http2.domain.com/public/bench.php
simple             0.009
simplecall         0.005
simpleucall        0.004
simpleudcall       0.006
mandel             0.033
mandel2            0.053
ackermann(7)       0.021
ary(50000)         0.005
ary2(50000)        0.004
ary3(2000)         0.050
fibo(30)           0.072
hash1(50000)       0.012
hash2(500)         0.010
heapsort(20000)    0.024
matrix(20)         0.025
nestedloop(12)     0.034
sieve(30)          0.012
strcat(200000)     0.006
------------------------
Total              0.384
real: 0.45s user: 0.42s sys: 0.02s cpu: 98% maxmem: 41672 KB cswaits: 4

bench.php results from 3 runs
0.421
0.409
0.384

centos75-2 bench.php avg : 0.4047
[centos75-2 opcache.enable_cli=1] Avg: real: 0.47s user: 0.43s sys: 0.03s cpu: 98.00% maxmem: 41725.33KB cswaits: 4.33
centos75-2-no-pgo opcache.enable_cli=1 bench.php (phpext=66) runtime-min: 0.384 runtime-avg: 0.405 runtime-max: 0.421 runtime-stddev: 0.019 real: 0.47s user: 0.43s sys: 0.03s cpu: 98.00% maxmem: 41725.33KB
[centos75-2] created results log at /home/lxcsh-phpbench-logs/bench_160618-101034.log
php -d opcache.enable_cli=0 -f /home/nginx/domains/http2.domain.com/public/micro_bench.php
empty_loop         0.057
func()             0.118    0.061
undef_func()       0.119    0.062
int_func()         0.058    0.001
$x = self::$x      0.099    0.042
self::$x = 0       0.105    0.048
isset(self::$x)    0.095    0.038
empty(self::$x)    0.105    0.048
$x = Foo::$x       0.076    0.019
Foo::$x = 0        0.072    0.015
isset(Foo::$x)     0.078    0.021
empty(Foo::$x)     0.085    0.028
self::f()          0.141    0.084
Foo::f()           0.122    0.065
$x = $this->x      0.071    0.014
$this->x = 0       0.058    0.001
$this->x += 2      0.102    0.045
++$this->x         0.090    0.032
--$this->x         0.082    0.025
$this->x++         0.086    0.029
$this->x--         0.083    0.026
isset($this->x)    0.096    0.039
empty($this->x)    0.097    0.040
$this->f()         0.113    0.056
$x = Foo::TEST     0.093    0.036
new Foo()          0.239    0.182
$x = TEST          0.064    0.007
$x = $_GET         0.094    0.037
$x = $GLOBALS['v'] 0.176    0.119
$x = $hash['v']    0.122    0.065
$x = $str[0]       0.092    0.035
$x = $a ?: null    0.083    0.025
$x = $f ?: tmp     0.089    0.031
$x = $f ? $f : $a  0.071    0.014
$x = $f ? $f : tmp 0.075    0.018
------------------------
Total              3.404
real: 3.48s user: 3.41s sys: 0.04s cpu: 99% maxmem: 33316 KB cswaits: 5

php -d opcache.enable_cli=0 -f /home/nginx/domains/http2.domain.com/public/micro_bench.php
empty_loop         0.039
func()             0.117    0.078
undef_func()       0.116    0.077
int_func()         0.066    0.027
$x = self::$x      0.130    0.090
self::$x = 0       0.091    0.052
isset(self::$x)    0.102    0.063
empty(self::$x)    0.104    0.065
$x = Foo::$x       0.071    0.032
Foo::$x = 0        0.074    0.035
isset(Foo::$x)     0.067    0.028
empty(Foo::$x)     0.077    0.038
self::f()          0.155    0.115
Foo::f()           0.119    0.080
$x = $this->x      0.073    0.034
$this->x = 0       0.063    0.024
$this->x += 2      0.099    0.060
++$this->x         0.106    0.067
--$this->x         0.099    0.059
$this->x++         0.108    0.069
$this->x--         0.102    0.063
isset($this->x)    0.094    0.055
empty($this->x)    0.104    0.065
$this->f()         0.117    0.078
$x = Foo::TEST     0.088    0.049
new Foo()          0.256    0.217
$x = TEST          0.066    0.027
$x = $_GET         0.091    0.051
$x = $GLOBALS['v'] 0.135    0.096
$x = $hash['v']    0.098    0.059
$x = $str[0]       0.081    0.042
$x = $a ?: null    0.073    0.034
$x = $f ?: tmp     0.117    0.078
$x = $f ? $f : $a  0.089    0.050
$x = $f ? $f : tmp 0.088    0.049
------------------------
Total              3.474
real: 3.52s user: 3.48s sys: 0.03s cpu: 99% maxmem: 33476 KB cswaits: 5

php -d opcache.enable_cli=0 -f /home/nginx/domains/http2.domain.com/public/micro_bench.php
empty_loop         0.045
func()             0.106    0.060
undef_func()       0.115    0.070
int_func()         0.053    0.007
$x = self::$x      0.090    0.044
self::$x = 0       0.089    0.044
isset(self::$x)    0.092    0.047
empty(self::$x)    0.098    0.053
$x = Foo::$x       0.066    0.021
Foo::$x = 0        0.066    0.021
isset(Foo::$x)     0.064    0.019
empty(Foo::$x)     0.087    0.041
self::f()          0.134    0.089
Foo::f()           0.116    0.070
$x = $this->x      0.097    0.051
$this->x = 0       0.059    0.013
$this->x += 2      0.144    0.099
++$this->x         0.080    0.034
--$this->x         0.096    0.050
$this->x++         0.101    0.056
$this->x--         0.093    0.048
isset($this->x)    0.089    0.043
empty($this->x)    0.102    0.056
$this->f()         0.115    0.070
$x = Foo::TEST     0.094    0.049
new Foo()          0.254    0.208
$x = TEST          0.066    0.021
$x = $_GET         0.094    0.049
$x = $GLOBALS['v'] 0.141    0.096
$x = $hash['v']    0.109    0.063
$x = $str[0]       0.090    0.044
$x = $a ?: null    0.079    0.034
$x = $f ?: tmp     0.107    0.062
$x = $f ? $f : $a  0.105    0.060
$x = $f ? $f : tmp 0.070    0.025
------------------------
Total              3.404
real: 3.46s user: 3.44s sys: 0.01s cpu: 99% maxmem: 33536 KB cswaits: 5

micro_bench.php results from 3 runs
3.404
3.474
3.404

centos75-2 micro_bench.php avg : 3.4273
[centos75-2 opcache.enable_cli=0] Avg: real: 3.49s user: 3.44s sys: 0.03s cpu: 99.00% maxmem: 33442.67KB cswaits: 5.00
centos75-2-pgo opcache.enable_cli=0 micro_bench.php (phpext=66) runtime-min: 3.404 runtime-avg: 3.427 runtime-max: 3.474 runtime-stddev: 0.040 real: 3.49s user: 3.44s sys: 0.03s cpu: 99.00% maxmem: 33442.67KB
[centos75-2] created results log at /home/lxcsh-phpbench-logs/bench_160618-101037.log

php -d opcache.enable_cli=0 -f /home/nginx/domains/http2.domain.com/public/bench.php
simple             0.025
simplecall         0.010
simpleucall        0.025
simpleudcall       0.025
mandel             0.185
mandel2            0.129
ackermann(7)       0.026
ary(50000)         0.008
ary2(50000)        0.006
ary3(2000)         0.063
fibo(30)           0.097
hash1(50000)       0.012
hash2(500)         0.015
heapsort(20000)    0.041
matrix(20)         0.024
nestedloop(12)     0.058
sieve(30)          0.022
strcat(200000)     0.005
------------------------
Total              0.776
real: 0.83s user: 0.80s sys: 0.01s cpu: 99% maxmem: 39472 KB cswaits: 5

php -d opcache.enable_cli=0 -f /home/nginx/domains/http2.domain.com/public/bench.php
simple             0.029
simplecall         0.012
simpleucall        0.025
simpleudcall       0.024
mandel             0.167
mandel2            0.131
ackermann(7)       0.028
ary(50000)         0.008
ary2(50000)        0.004
ary3(2000)         0.052
fibo(30)           0.088
hash1(50000)       0.015
hash2(500)         0.010
heapsort(20000)    0.026
matrix(20)         0.031
nestedloop(12)     0.046
sieve(30)          0.016
strcat(200000)     0.006
------------------------
Total              0.718
real: 0.80s user: 0.77s sys: 0.03s cpu: 99% maxmem: 39420 KB cswaits: 3

php -d opcache.enable_cli=0 -f /home/nginx/domains/http2.domain.com/public/bench.php
simple             0.025
simplecall         0.009
simpleucall        0.040
simpleudcall       0.032
mandel             0.204
mandel2            0.127
ackermann(7)       0.038
ary(50000)         0.009
ary2(50000)        0.004
ary3(2000)         0.050
fibo(30)           0.092
hash1(50000)       0.017
hash2(500)         0.010
heapsort(20000)    0.028
matrix(20)         0.024
nestedloop(12)     0.047
sieve(30)          0.025
strcat(200000)     0.008
------------------------
Total              0.790
real: 0.85s user: 0.81s sys: 0.02s cpu: 98% maxmem: 39636 KB cswaits: 4

bench.php results from 3 runs
0.776
0.718
0.790

centos75-2 bench.php avg : 0.7613
[centos75-2 opcache.enable_cli=0] Avg: real: 0.83s user: 0.79s sys: 0.02s cpu: 98.67% maxmem: 39509.33KB cswaits: 4.00
centos75-2-pgo opcache.enable_cli=0 bench.php (phpext=66) runtime-min: 0.718 runtime-avg: 0.761 runtime-max: 0.790 runtime-stddev: 0.038 real: 0.83s user: 0.79s sys: 0.02s cpu: 98.67% maxmem: 39509.33KB
[centos75-2] created results log at /home/lxcsh-phpbench-logs/bench_160618-101048.log

php -d opcache.enable_cli=1 -f /home/nginx/domains/http2.domain.com/public/micro_bench.php
empty_loop         0.033
func()             0.027    -0.006
undef_func()       0.029    -0.003
int_func()         0.033    0.001
$x = self::$x      0.091    0.058
self::$x = 0       0.091    0.058
isset(self::$x)    0.073    0.041
empty(self::$x)    0.087    0.055
$x = Foo::$x       0.073    0.041
Foo::$x = 0        0.065    0.033
isset(Foo::$x)     0.049    0.016
empty(Foo::$x)     0.063    0.030
self::f()          0.027    -0.006
Foo::f()           0.026    -0.007
$x = $this->x      0.071    0.038
$this->x = 0       0.051    0.019
$this->x += 2      0.103    0.071
++$this->x         0.068    0.035
--$this->x         0.075    0.043
$this->x++         0.111    0.079
$this->x--         0.101    0.069
isset($this->x)    0.093    0.061
empty($this->x)    0.095    0.062
$this->f()         0.120    0.087
$x = Foo::TEST     0.082    0.050
new Foo()          0.324    0.292
$x = TEST          0.071    0.038
$x = $_GET         0.106    0.074
$x = $GLOBALS['v'] 0.134    0.101
$x = $hash['v']    0.027    -0.006
$x = $str[0]       0.027    -0.006
$x = $a ?: null    0.026    -0.007
$x = $f ?: tmp     0.029    -0.004
$x = $f ? $f : $a  0.030    -0.002
$x = $f ? $f : tmp 0.027    -0.005
------------------------
Total              2.538
real: 2.60s user: 2.55s sys: 0.03s cpu: 99% maxmem: 35936 KB cswaits: 5

php -d opcache.enable_cli=1 -f /home/nginx/domains/http2.domain.com/public/micro_bench.php
empty_loop         0.037
func()             0.042    0.005
undef_func()       0.028    -0.010
int_func()         0.049    0.012
$x = self::$x      0.109    0.072
self::$x = 0       0.086    0.049
isset(self::$x)    0.084    0.046
empty(self::$x)    0.109    0.071
$x = Foo::$x       0.072    0.034
Foo::$x = 0        0.104    0.067
isset(Foo::$x)     0.048    0.011
empty(Foo::$x)     0.058    0.021
self::f()          0.027    -0.011
Foo::f()           0.027    -0.011
$x = $this->x      0.071    0.034
$this->x = 0       0.057    0.020
$this->x += 2      0.147    0.110
++$this->x         0.077    0.040
--$this->x         0.070    0.032
$this->x++         0.089    0.051
$this->x--         0.080    0.043
isset($this->x)    0.071    0.034
empty($this->x)    0.079    0.042
$this->f()         0.120    0.083
$x = Foo::TEST     0.094    0.056
new Foo()          0.249    0.211
$x = TEST          0.060    0.023
$x = $_GET         0.107    0.070
$x = $GLOBALS['v'] 0.149    0.112
$x = $hash['v']    0.028    -0.010
$x = $str[0]       0.034    -0.004
$x = $a ?: null    0.035    -0.003
$x = $f ?: tmp     0.031    -0.006
$x = $f ? $f : $a  0.028    -0.010
$x = $f ? $f : tmp 0.029    -0.009
------------------------
Total              2.582
real: 2.64s user: 2.61s sys: 0.01s cpu: 99% maxmem: 35976 KB cswaits: 5

php -d opcache.enable_cli=1 -f /home/nginx/domains/http2.domain.com/public/micro_bench.php
empty_loop         0.030
func()             0.027    -0.004
undef_func()       0.025    -0.005
int_func()         0.029    -0.001
$x = self::$x      0.087    0.057
self::$x = 0       0.087    0.057
isset(self::$x)    0.076    0.046
empty(self::$x)    0.082    0.051
$x = Foo::$x       0.068    0.037
Foo::$x = 0        0.066    0.036
isset(Foo::$x)     0.048    0.018
empty(Foo::$x)     0.072    0.042
self::f()          0.026    -0.004
Foo::f()           0.030    0.000
$x = $this->x      0.075    0.045
$this->x = 0       0.053    0.023
$this->x += 2      0.105    0.075
++$this->x         0.071    0.041
--$this->x         0.073    0.043
$this->x++         0.076    0.046
$this->x--         0.079    0.049
isset($this->x)    0.070    0.040
empty($this->x)    0.080    0.050
$this->f()         0.120    0.089
$x = Foo::TEST     0.091    0.060
new Foo()          0.280    0.249
$x = TEST          0.059    0.029
$x = $_GET         0.099    0.069
$x = $GLOBALS['v'] 0.132    0.101
$x = $hash['v']    0.028    -0.003
$x = $str[0]       0.049    0.019
$x = $a ?: null    0.039    0.008
$x = $f ?: tmp     0.030    0.000
$x = $f ? $f : $a  0.031    0.001
$x = $f ? $f : tmp 0.031    0.001
------------------------
Total              2.425
real: 2.50s user: 2.45s sys: 0.03s cpu: 99% maxmem: 36216 KB cswaits: 4

micro_bench.php results from 3 runs
2.538
2.582
2.425

centos75-2 micro_bench.php avg : 2.5150
[centos75-2 opcache.enable_cli=1] Avg: real: 2.58s user: 2.54s sys: 0.02s cpu: 99.00% maxmem: 36042.67KB cswaits: 4.67
centos75-2-pgo opcache.enable_cli=1 micro_bench.php (phpext=66) runtime-min: 2.425 runtime-avg: 2.515 runtime-max: 2.582 runtime-stddev: 0.081 real: 2.58s user: 2.54s sys: 0.02s cpu: 99.00% maxmem: 36042.67KB
[centos75-2] created results log at /home/lxcsh-phpbench-logs/bench_160618-101052.log

php -d opcache.enable_cli=1 -f /home/nginx/domains/http2.domain.com/public/bench.php
simple             0.009
simplecall         0.004
simpleucall        0.005
simpleudcall       0.004
mandel             0.044
mandel2            0.062
ackermann(7)       0.028
ary(50000)         0.007
ary2(50000)        0.005
ary3(2000)         0.061
fibo(30)           0.063
hash1(50000)       0.012
hash2(500)         0.009
heapsort(20000)    0.022
matrix(20)         0.022
nestedloop(12)     0.022
sieve(30)          0.011
strcat(200000)     0.005
------------------------
Total              0.395
real: 0.47s user: 0.43s sys: 0.03s cpu: 99% maxmem: 42684 KB cswaits: 5

php -d opcache.enable_cli=1 -f /home/nginx/domains/http2.domain.com/public/bench.php
simple             0.009
simplecall         0.004
simpleucall        0.005
simpleudcall       0.006
mandel             0.029
mandel2            0.049
ackermann(7)       0.022
ary(50000)         0.005
ary2(50000)        0.004
ary3(2000)         0.047
fibo(30)           0.070
hash1(50000)       0.013
hash2(500)         0.011
heapsort(20000)    0.026
matrix(20)         0.023
nestedloop(12)     0.023
sieve(30)          0.010
strcat(200000)     0.007
------------------------
Total              0.363
real: 0.44s user: 0.39s sys: 0.04s cpu: 98% maxmem: 42416 KB cswaits: 4

php -d opcache.enable_cli=1 -f /home/nginx/domains/http2.domain.com/public/bench.php
simple             0.009
simplecall         0.005
simpleucall        0.005
simpleudcall       0.004
mandel             0.027
mandel2            0.062
ackermann(7)       0.020
ary(50000)         0.005
ary2(50000)        0.004
ary3(2000)         0.062
fibo(30)           0.076
hash1(50000)       0.017
hash2(500)         0.009
heapsort(20000)    0.022
matrix(20)         0.022
nestedloop(12)     0.022
sieve(30)          0.009
strcat(200000)     0.006
------------------------
Total              0.386
real: 0.46s user: 0.43s sys: 0.02s cpu: 98% maxmem: 42576 KB cswaits: 5

bench.php results from 3 runs
0.395
0.363
0.386

centos75-2 bench.php avg : 0.3813
[centos75-2 opcache.enable_cli=1] Avg: real: 0.46s user: 0.42s sys: 0.03s cpu: 98.33% maxmem: 42558.67KB cswaits: 4.67
centos75-2-pgo opcache.enable_cli=1 bench.php (phpext=66) runtime-min: 0.363 runtime-avg: 0.381 runtime-max: 0.395 runtime-stddev: 0.017 real: 0.46s user: 0.42s sys: 0.03s cpu: 98.33% maxmem: 42558.67KB
[centos75-2] created results log at /home/lxcsh-phpbench-logs/bench_160618-101101.log
lxc stop centos75-2
-------------------------------------------------------------------------------------------
lxc start easyengine-ubuntu1604

php -v
PHP 7.0.30-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: May  2 2018 12:43:14) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.30-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2017, by Zend Technologies


curl -Iks https://http2.domain.com/bench.php
HTTP/1.1 200 OK
Server: nginx
Date: Sat, 16 Jun 2018 17:11:28 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
X-Powered-By: EasyEngine 3.8.1


curl -Iks https://http2.domain.com/micro_bench.php
HTTP/1.1 200 OK
Server: nginx
Date: Sat, 16 Jun 2018 17:11:33 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
X-Powered-By: EasyEngine 3.8.1


php -d opcache.enable_cli=0 -f/var/www/http2.domain.com/htdocs/micro_bench.php
empty_loop         0.043
func()             0.121    0.078
undef_func()       0.187    0.144
int_func()         0.106    0.063
$x = self::$x      0.101    0.059
self::$x = 0       0.122    0.079
isset(self::$x)    0.093    0.050
empty(self::$x)    0.107    0.064
$x = Foo::$x       0.075    0.033
Foo::$x = 0        0.075    0.032
isset(Foo::$x)     0.065    0.023
empty(Foo::$x)     0.072    0.029
self::f()          0.172    0.129
Foo::f()           0.131    0.088
$x = $this->x      0.072    0.029
$this->x = 0       0.069    0.026
$this->x += 2      0.116    0.073
++$this->x         0.105    0.062
--$this->x         0.078    0.036
$this->x++         0.098    0.055
$this->x--         0.095    0.052
isset($this->x)    0.100    0.057
empty($this->x)    0.111    0.068
$this->f()         0.219    0.176
$x = Foo::TEST     0.075    0.032
new Foo()          0.398    0.355
$x = TEST          0.093    0.051
$x = $_GET         0.137    0.094
$x = $GLOBALS['v'] 0.201    0.158
$x = $hash['v']    0.166    0.123
$x = $str[0]       0.173    0.130
$x = $a ?: null    0.095    0.052
$x = $f ?: tmp     0.108    0.065
$x = $f ? $f : $a  0.077    0.034
$x = $f ? $f : tmp 0.088    0.045
------------------------
Total              4.145
real: 4.20s user: 4.16s sys: 0.02s cpu: 99% maxmem: 33708 KB cswaits: 1

php -d opcache.enable_cli=0 -f/var/www/http2.domain.com/htdocs/micro_bench.php
empty_loop         0.039
func()             0.119    0.080
undef_func()       0.132    0.093
int_func()         0.093    0.054
$x = self::$x      0.106    0.067
self::$x = 0       0.101    0.062
isset(self::$x)    0.096    0.057
empty(self::$x)    0.098    0.059
$x = Foo::$x       0.084    0.045
Foo::$x = 0        0.109    0.070
isset(Foo::$x)     0.080    0.041
empty(Foo::$x)     0.077    0.038
self::f()          0.183    0.144
Foo::f()           0.123    0.084
$x = $this->x      0.076    0.037
$this->x = 0       0.078    0.039
$this->x += 2      0.116    0.077
++$this->x         0.087    0.048
--$this->x         0.074    0.035
$this->x++         0.095    0.056
$this->x--         0.102    0.063
isset($this->x)    0.094    0.055
empty($this->x)    0.110    0.071
$this->f()         0.167    0.128
$x = Foo::TEST     0.099    0.060
new Foo()          0.387    0.347
$x = TEST          0.076    0.037
$x = $_GET         0.112    0.073
$x = $GLOBALS['v'] 0.175    0.136
$x = $hash['v']    0.124    0.085
$x = $str[0]       0.128    0.088
$x = $a ?: null    0.087    0.048
$x = $f ?: tmp     0.098    0.059
$x = $f ? $f : $a  0.079    0.039
$x = $f ? $f : tmp 0.085    0.046
------------------------
Total              3.893
real: 3.94s user: 3.90s sys: 0.02s cpu: 99% maxmem: 33808 KB cswaits: 4

php -d opcache.enable_cli=0 -f/var/www/http2.domain.com/htdocs/micro_bench.php
empty_loop         0.041
func()             0.126    0.085
undef_func()       0.137    0.096
int_func()         0.099    0.058
$x = self::$x      0.101    0.061
self::$x = 0       0.103    0.062
isset(self::$x)    0.094    0.053
empty(self::$x)    0.112    0.071
$x = Foo::$x       0.086    0.046
Foo::$x = 0        0.116    0.076
isset(Foo::$x)     0.068    0.027
empty(Foo::$x)     0.076    0.035
self::f()          0.164    0.123
Foo::f()           0.142    0.101
$x = $this->x      0.076    0.035
$this->x = 0       0.070    0.029
$this->x += 2      0.120    0.079
++$this->x         0.078    0.037
--$this->x         0.068    0.028
$this->x++         0.105    0.065
$this->x--         0.093    0.053
isset($this->x)    0.102    0.062
empty($this->x)    0.103    0.062
$this->f()         0.127    0.086
$x = Foo::TEST     0.079    0.039
new Foo()          0.418    0.378
$x = TEST          0.079    0.038
$x = $_GET         0.145    0.105
$x = $GLOBALS['v'] 0.202    0.161
$x = $hash['v']    0.117    0.077
$x = $str[0]       0.134    0.094
$x = $a ?: null    0.083    0.042
$x = $f ?: tmp     0.088    0.048
$x = $f ? $f : $a  0.088    0.047
$x = $f ? $f : tmp 0.086    0.045
------------------------
Total              3.924
real: 3.98s user: 3.95s sys: 0.01s cpu: 99% maxmem: 33716 KB cswaits: 5

micro_bench.php results from 3 runs
4.145
3.893
3.924

easyengine-ubuntu1604 micro_bench.php avg : 3.9873
[easyengine-ubuntu1604 opcache.enable_cli=0] Avg: real: 4.04s user: 4.00s sys: 0.02s cpu: 99.00% maxmem: 33744.00KB cswaits: 3.33
easyengine-ubuntu1604 opcache.enable_cli=0 micro_bench.php (phpext=58) runtime-min: 3.893 runtime-avg: 3.987 runtime-max: 4.145 runtime-stddev: 0.137 real: 4.04s user: 4.00s sys: 0.02s cpu: 99.00% maxmem: 33744.00KB
[easyengine-ubuntu1604] created results log at /home/lxcsh-phpbench-logs/bench_160618-101133.log

php -d opcache.enable_cli=0 -f/var/www/http2.domain.com/htdocs/bench.php
simple             0.033
simplecall         0.011
simpleucall        0.027
simpleudcall       0.029
mandel             0.104
mandel2            0.123
ackermann(7)       0.025
ary(50000)         0.006
ary2(50000)        0.004
ary3(2000)         0.073
fibo(30)           0.111
hash1(50000)       0.020
hash2(500)         0.011
heapsort(20000)    0.035
matrix(20)         0.038
nestedloop(12)     0.060
sieve(30)          0.020
strcat(200000)     0.005
------------------------
Total              0.736
real: 0.79s user: 0.75s sys: 0.02s cpu: 98% maxmem: 40028 KB cswaits: 5

php -d opcache.enable_cli=0 -f/var/www/http2.domain.com/htdocs/bench.php
simple             0.038
simplecall         0.011
simpleucall        0.027
simpleudcall       0.035
mandel             0.125
mandel2            0.134
ackermann(7)       0.028
ary(50000)         0.007
ary2(50000)        0.005
ary3(2000)         0.067
fibo(30)           0.101
hash1(50000)       0.019
hash2(500)         0.014
heapsort(20000)    0.034
matrix(20)         0.031
nestedloop(12)     0.056
sieve(30)          0.020
strcat(200000)     0.006
------------------------
Total              0.756
real: 0.82s user: 0.80s sys: 0.01s cpu: 99% maxmem: 40088 KB cswaits: 1

php -d opcache.enable_cli=0 -f/var/www/http2.domain.com/htdocs/bench.php
simple             0.032
simplecall         0.011
simpleucall        0.027
simpleudcall       0.027
mandel             0.119
mandel2            0.135
ackermann(7)       0.024
ary(50000)         0.005
ary2(50000)        0.003
ary3(2000)         0.093
fibo(30)           0.095
hash1(50000)       0.036
hash2(500)         0.020
heapsort(20000)    0.053
matrix(20)         0.038
nestedloop(12)     0.066
sieve(30)          0.019
strcat(200000)     0.005
------------------------
Total              0.807
real: 0.86s user: 0.83s sys: 0.02s cpu: 99% maxmem: 39916 KB cswaits: 4

bench.php results from 3 runs
0.736
0.756
0.807

easyengine-ubuntu1604 bench.php avg : 0.7663
[easyengine-ubuntu1604 opcache.enable_cli=0] Avg: real: 0.82s user: 0.79s sys: 0.02s cpu: 98.67% maxmem: 40010.67KB cswaits: 3.33
easyengine-ubuntu1604 opcache.enable_cli=0 bench.php (phpext=58) runtime-min: 0.736 runtime-avg: 0.766 runtime-max: 0.807 runtime-stddev: 0.037 real: 0.82s user: 0.79s sys: 0.02s cpu: 98.67% maxmem: 40010.67KB
[easyengine-ubuntu1604] created results log at /home/lxcsh-phpbench-logs/bench_160618-101146.log

php -d opcache.enable_cli=1 -f/var/www/http2.domain.com/htdocs/micro_bench.php
empty_loop         0.070
func()             0.112    0.043
undef_func()       0.118    0.049
int_func()         0.081    0.012
$x = self::$x      0.113    0.043
self::$x = 0       0.103    0.034
isset(self::$x)    0.091    0.022
empty(self::$x)    0.100    0.030
$x = Foo::$x       0.077    0.008
Foo::$x = 0        0.076    0.006
isset(Foo::$x)     0.067    -0.003
empty(Foo::$x)     0.079    0.009
self::f()          0.166    0.096
Foo::f()           0.125    0.056
$x = $this->x      0.067    -0.002
$this->x = 0       0.067    -0.003
$this->x += 2      0.138    0.068
++$this->x         0.079    0.009
--$this->x         0.084    0.014
$this->x++         0.107    0.037
$this->x--         0.093    0.023
isset($this->x)    0.097    0.027
empty($this->x)    0.110    0.040
$this->f()         0.143    0.074
$x = Foo::TEST     0.081    0.011
new Foo()          0.346    0.276
$x = TEST          0.061    -0.008
$x = $_GET         0.098    0.028
$x = $GLOBALS['v'] 0.146    0.077
$x = $hash['v']    0.105    0.035
$x = $str[0]       0.081    0.011
$x = $a ?: null    0.072    0.002
$x = $f ?: tmp     0.089    0.020
$x = $f ? $f : $a  0.071    0.001
$x = $f ? $f : tmp 0.084    0.014
------------------------
Total              3.597
real: 3.68s user: 3.64s sys: 0.03s cpu: 99% maxmem: 42864 KB cswaits: 1

php -d opcache.enable_cli=1 -f/var/www/http2.domain.com/htdocs/micro_bench.php
empty_loop         0.051
func()             0.103    0.052
undef_func()       0.103    0.053
int_func()         0.079    0.028
$x = self::$x      0.098    0.047
self::$x = 0       0.139    0.089
isset(self::$x)    0.115    0.065
empty(self::$x)    0.116    0.065
$x = Foo::$x       0.095    0.044
Foo::$x = 0        0.088    0.037
isset(Foo::$x)     0.084    0.033
empty(Foo::$x)     0.079    0.028
self::f()          0.163    0.112
Foo::f()           0.144    0.093
$x = $this->x      0.068    0.017
$this->x = 0       0.062    0.012
$this->x += 2      0.120    0.070
++$this->x         0.081    0.031
--$this->x         0.074    0.023
$this->x++         0.096    0.045
$this->x--         0.084    0.033
isset($this->x)    0.088    0.037
empty($this->x)    0.096    0.046
$this->f()         0.133    0.083
$x = Foo::TEST     0.081    0.031
new Foo()          0.403    0.353
$x = TEST          0.091    0.040
$x = $_GET         0.108    0.058
$x = $GLOBALS['v'] 0.159    0.108
$x = $hash['v']    0.106    0.055
$x = $str[0]       0.083    0.033
$x = $a ?: null    0.066    0.015
$x = $f ?: tmp     0.090    0.039
$x = $f ? $f : $a  0.079    0.029
$x = $f ? $f : tmp 0.089    0.039
------------------------
Total              3.715
real: 3.78s user: 3.74s sys: 0.03s cpu: 99% maxmem: 42720 KB cswaits: 1

php -d opcache.enable_cli=1 -f/var/www/http2.domain.com/htdocs/micro_bench.php
empty_loop         0.054
func()             0.115    0.061
undef_func()       0.110    0.056
int_func()         0.081    0.028
$x = self::$x      0.098    0.044
self::$x = 0       0.101    0.048
isset(self::$x)    0.097    0.043
empty(self::$x)    0.104    0.050
$x = Foo::$x       0.083    0.030
Foo::$x = 0        0.080    0.026
isset(Foo::$x)     0.073    0.019
empty(Foo::$x)     0.096    0.043
self::f()          0.159    0.106
Foo::f()           0.130    0.076
$x = $this->x      0.089    0.035
$this->x = 0       0.145    0.091
$this->x += 2      0.164    0.111
++$this->x         0.112    0.058
--$this->x         0.092    0.038
$this->x++         0.105    0.052
$this->x--         0.103    0.049
isset($this->x)    0.149    0.096
empty($this->x)    0.131    0.077
$this->f()         0.164    0.110
$x = Foo::TEST     0.091    0.038
new Foo()          0.412    0.358
$x = TEST          0.072    0.018
$x = $_GET         0.098    0.044
$x = $GLOBALS['v'] 0.156    0.102
$x = $hash['v']    0.119    0.065
$x = $str[0]       0.096    0.042
$x = $a ?: null    0.079    0.025
$x = $f ?: tmp     0.095    0.041
$x = $f ? $f : $a  0.077    0.023
$x = $f ? $f : tmp 0.097    0.043
------------------------
Total              4.029
real: 4.12s user: 4.03s sys: 0.06s cpu: 99% maxmem: 42912 KB cswaits: 1

micro_bench.php results from 3 runs
3.597
3.715
4.029

easyengine-ubuntu1604 micro_bench.php avg : 3.7803
[easyengine-ubuntu1604 opcache.enable_cli=1] Avg: real: 3.86s user: 3.80s sys: 0.04s cpu: 99.00% maxmem: 42832.00KB cswaits: 1.00
easyengine-ubuntu1604 opcache.enable_cli=1 micro_bench.php (phpext=58) runtime-min: 3.597 runtime-avg: 3.780 runtime-max: 4.029 runtime-stddev: 0.223 real: 3.86s user: 3.80s sys: 0.04s cpu: 99.00% maxmem: 42832.00KB
[easyengine-ubuntu1604] created results log at /home/lxcsh-phpbench-logs/bench_160618-101150.log

php -d opcache.enable_cli=1 -f/var/www/http2.domain.com/htdocs/bench.php
simple             0.030
simplecall         0.011
simpleucall        0.023
simpleudcall       0.024
mandel             0.088
mandel2            0.128
ackermann(7)       0.021
ary(50000)         0.005
ary2(50000)        0.003
ary3(2000)         0.064
fibo(30)           0.075
hash1(50000)       0.017
hash2(500)         0.019
heapsort(20000)    0.049
matrix(20)         0.051
nestedloop(12)     0.036
sieve(30)          0.020
strcat(200000)     0.005
------------------------
Total              0.670
real: 0.75s user: 0.70s sys: 0.04s cpu: 99% maxmem: 49060 KB cswaits: 1

php -d opcache.enable_cli=1 -f/var/www/http2.domain.com/htdocs/bench.php
simple             0.019
simplecall         0.007
simpleucall        0.023
simpleudcall       0.021
mandel             0.093
mandel2            0.116
ackermann(7)       0.051
ary(50000)         0.004
ary2(50000)        0.003
ary3(2000)         0.075
fibo(30)           0.078
hash1(50000)       0.015
hash2(500)         0.010
heapsort(20000)    0.028
matrix(20)         0.028
nestedloop(12)     0.043
sieve(30)          0.019
strcat(200000)     0.005
------------------------
Total              0.637
real: 0.71s user: 0.68s sys: 0.03s cpu: 99% maxmem: 49316 KB cswaits: 1

php -d opcache.enable_cli=1 -f/var/www/http2.domain.com/htdocs/bench.php
simple             0.022
simplecall         0.007
simpleucall        0.022
simpleudcall       0.026
mandel             0.110
mandel2            0.149
ackermann(7)       0.022
ary(50000)         0.006
ary2(50000)        0.004
ary3(2000)         0.065
fibo(30)           0.086
hash1(50000)       0.015
hash2(500)         0.011
heapsort(20000)    0.028
matrix(20)         0.029
nestedloop(12)     0.037
sieve(30)          0.018
strcat(200000)     0.007
------------------------
Total              0.664
real: 0.72s user: 0.68s sys: 0.04s cpu: 99% maxmem: 49308 KB cswaits: 1

bench.php results from 3 runs
0.670
0.637
0.664

easyengine-ubuntu1604 bench.php avg : 0.6570
[easyengine-ubuntu1604 opcache.enable_cli=1] Avg: real: 0.73s user: 0.69s sys: 0.04s cpu: 99.00% maxmem: 49228.00KB cswaits: 1.00
easyengine-ubuntu1604 opcache.enable_cli=1 bench.php (phpext=58) runtime-min: 0.637 runtime-avg: 0.657 runtime-max: 0.670 runtime-stddev: 0.018 real: 0.73s user: 0.69s sys: 0.04s cpu: 99.00% maxmem: 49228.00KB
[easyengine-ubuntu1604] created results log at /home/lxcsh-phpbench-logs/bench_160618-101204.log
lxc stop easyengine-ubuntu1604
-------------------------------------------------------------------------------------------
lxc start oneinstack-ubuntu16-nginx

/usr/local/php/bin/php -v
PHP 7.2.6 (cli) (built: Jun 12 2018 04:14:37) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.6, Copyright (c) 1999-2018, by Zend Technologies


curl -Iks https://http2.domain.com/bench.php
HTTP/1.1 200 OK
Server: nginx
Date: Sat, 16 Jun 2018 17:12:31 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding


curl -Iks https://http2.domain.com/micro_bench.php
HTTP/1.1 200 OK
Server: nginx
Date: Sat, 16 Jun 2018 17:12:34 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding


/usr/local/php/bin/php -d opcache.enable_cli=0 -f /data/wwwroot/http2.domain.com/micro_bench.php
empty_loop         0.029
func()             0.117    0.088
undef_func()       0.121    0.092
int_func()         0.132    0.103
$x = self::$x      0.097    0.067
self::$x = 0       0.089    0.059
isset(self::$x)    0.091    0.062
empty(self::$x)    0.098    0.069
$x = Foo::$x       0.069    0.040
Foo::$x = 0        0.076    0.047
isset(Foo::$x)     0.064    0.035
empty(Foo::$x)     0.089    0.060
self::f()          0.131    0.102
Foo::f()           0.114    0.084
$x = $this->x      0.097    0.068
$this->x = 0       0.056    0.026
$this->x += 2      0.116    0.087
++$this->x         0.090    0.060
--$this->x         0.079    0.050
$this->x++         0.087    0.057
$this->x--         0.092    0.062
isset($this->x)    0.098    0.068
empty($this->x)    0.109    0.079
$this->f()         0.119    0.090
$x = Foo::TEST     0.100    0.071
new Foo()          0.267    0.238
$x = TEST          0.071    0.042
$x = $_GET         0.111    0.082
$x = $GLOBALS['v'] 0.143    0.114
$x = $hash['v']    0.122    0.093
$x = $str[0]       0.089    0.060
$x = $a ?: null    0.106    0.077
$x = $f ?: tmp     0.110    0.081
$x = $f ? $f : $a  0.076    0.046
$x = $f ? $f : tmp 0.081    0.052
------------------------
Total              3.538
real: 3.57s user: 3.53s sys: 0.01s cpu: 99% maxmem: 24932 KB cswaits: 1

/usr/local/php/bin/php -d opcache.enable_cli=0 -f /data/wwwroot/http2.domain.com/micro_bench.php
empty_loop         0.028
func()             0.109    0.080
undef_func()       0.120    0.091
int_func()         0.079    0.051
$x = self::$x      0.120    0.092
self::$x = 0       0.101    0.073
isset(self::$x)    0.087    0.059
empty(self::$x)    0.106    0.078
$x = Foo::$x       0.076    0.048
Foo::$x = 0        0.094    0.065
isset(Foo::$x)     0.066    0.038
empty(Foo::$x)     0.073    0.044
self::f()          0.143    0.115
Foo::f()           0.121    0.092
$x = $this->x      0.080    0.051
$this->x = 0       0.058    0.030
$this->x += 2      0.112    0.083
++$this->x         0.076    0.048
--$this->x         0.075    0.047
$this->x++         0.086    0.058
$this->x--         0.085    0.057
isset($this->x)    0.096    0.068
empty($this->x)    0.112    0.083
$this->f()         0.132    0.104
$x = Foo::TEST     0.090    0.062
new Foo()          0.296    0.267
$x = TEST          0.072    0.043
$x = $_GET         0.100    0.072
$x = $GLOBALS['v'] 0.145    0.116
$x = $hash['v']    0.120    0.091
$x = $str[0]       0.078    0.050
$x = $a ?: null    0.082    0.054
$x = $f ?: tmp     0.079    0.050
$x = $f ? $f : $a  0.073    0.045
$x = $f ? $f : tmp 0.098    0.070
------------------------
Total              3.467
real: 3.51s user: 3.48s sys: 0.02s cpu: 99% maxmem: 24844 KB cswaits: 1

/usr/local/php/bin/php -d opcache.enable_cli=0 -f /data/wwwroot/http2.domain.com/micro_bench.php
empty_loop         0.031
func()             0.107    0.076
undef_func()       0.129    0.099
int_func()         0.062    0.031
$x = self::$x      0.099    0.068
self::$x = 0       0.092    0.061
isset(self::$x)    0.094    0.063
empty(self::$x)    0.105    0.074
$x = Foo::$x       0.078    0.048
Foo::$x = 0        0.077    0.046
isset(Foo::$x)     0.081    0.051
empty(Foo::$x)     0.085    0.054
self::f()          0.166    0.136
Foo::f()           0.147    0.116
$x = $this->x      0.092    0.062
$this->x = 0       0.074    0.044
$this->x += 2      0.119    0.088
++$this->x         0.077    0.046
--$this->x         0.109    0.078
$this->x++         0.095    0.064
$this->x--         0.099    0.068
isset($this->x)    0.111    0.081
empty($this->x)    0.112    0.081
$this->f()         0.126    0.095
$x = Foo::TEST     0.107    0.077
new Foo()          0.274    0.243
$x = TEST          0.072    0.041
$x = $_GET         0.101    0.070
$x = $GLOBALS['v'] 0.139    0.109
$x = $hash['v']    0.120    0.089
$x = $str[0]       0.078    0.048
$x = $a ?: null    0.080    0.050
$x = $f ?: tmp     0.083    0.052
$x = $f ? $f : $a  0.075    0.044
$x = $f ? $f : tmp 0.074    0.043
------------------------
Total              3.568
real: 3.60s user: 3.57s sys: 0.01s cpu: 99% maxmem: 25028 KB cswaits: 1

micro_bench.php results from 3 runs
3.538
3.467
3.568

oneinstack-ubuntu16-nginx micro_bench.php avg : 3.5243
[oneinstack-ubuntu16-nginx opcache.enable_cli=0] Avg: real: 3.56s user: 3.53s sys: 0.01s cpu: 99.00% maxmem: 24934.67KB cswaits: 1.00
oneinstack-ubuntu16-nginx opcache.enable_cli=0 micro_bench.php (phpext=52) runtime-min: 3.467 runtime-avg: 3.524 runtime-max: 3.568 runtime-stddev: 0.052 real: 3.56s user: 3.53s sys: 0.01s cpu: 99.00% maxmem: 24934.67KB
[oneinstack-ubuntu16-nginx] created results log at /home/lxcsh-phpbench-logs/bench_160618-101234.log

/usr/local/php/bin/php -d opcache.enable_cli=0 -f /data/wwwroot/http2.domain.com/bench.php
simple             0.031
simplecall         0.009
simpleucall        0.028
simpleudcall       0.027
mandel             0.126
mandel2            0.140
ackermann(7)       0.025
ary(50000)         0.006
ary2(50000)        0.004
ary3(2000)         0.055
fibo(30)           0.082
hash1(50000)       0.013
hash2(500)         0.013
heapsort(20000)    0.029
matrix(20)         0.030
nestedloop(12)     0.054
sieve(30)          0.018
strcat(200000)     0.008
------------------------
Total              0.697
real: 0.73s user: 0.70s sys: 0.01s cpu: 99% maxmem: 31092 KB cswaits: 1

/usr/local/php/bin/php -d opcache.enable_cli=0 -f /data/wwwroot/http2.domain.com/bench.php
simple             0.037
simplecall         0.012
simpleucall        0.033
simpleudcall       0.034
mandel             0.124
mandel2            0.134
ackermann(7)       0.026
ary(50000)         0.006
ary2(50000)        0.004
ary3(2000)         0.054
fibo(30)           0.078
hash1(50000)       0.013
hash2(500)         0.010
heapsort(20000)    0.026
matrix(20)         0.029
nestedloop(12)     0.051
sieve(30)          0.017
strcat(200000)     0.005
------------------------
Total              0.693
real: 0.73s user: 0.70s sys: 0.01s cpu: 99% maxmem: 31188 KB cswaits: 1

/usr/local/php/bin/php -d opcache.enable_cli=0 -f /data/wwwroot/http2.domain.com/bench.php
simple             0.029
simplecall         0.009
simpleucall        0.023
simpleudcall       0.024
mandel             0.130
mandel2            0.128
ackermann(7)       0.028
ary(50000)         0.005
ary2(50000)        0.004
ary3(2000)         0.062
fibo(30)           0.084
hash1(50000)       0.012
hash2(500)         0.010
heapsort(20000)    0.036
matrix(20)         0.030
nestedloop(12)     0.051
sieve(30)          0.017
strcat(200000)     0.005
------------------------
Total              0.688
real: 0.72s user: 0.69s sys: 0.01s cpu: 99% maxmem: 31136 KB cswaits: 1

bench.php results from 3 runs
0.697
0.693
0.688

oneinstack-ubuntu16-nginx bench.php avg : 0.6927
[oneinstack-ubuntu16-nginx opcache.enable_cli=0] Avg: real: 0.73s user: 0.70s sys: 0.01s cpu: 99.00% maxmem: 31138.67KB cswaits: 1.00
oneinstack-ubuntu16-nginx opcache.enable_cli=0 bench.php (phpext=52) runtime-min: 0.688 runtime-avg: 0.693 runtime-max: 0.697 runtime-stddev: 0.005 real: 0.73s user: 0.70s sys: 0.01s cpu: 99.00% maxmem: 31138.67KB
[oneinstack-ubuntu16-nginx] created results log at /home/lxcsh-phpbench-logs/bench_160618-101246.log

/usr/local/php/bin/php -d opcache.enable_cli=1 -f /data/wwwroot/http2.domain.com/micro_bench.php
empty_loop         0.026
func()             0.032    0.006
undef_func()       0.035    0.009
int_func()         0.044    0.018
$x = self::$x      0.120    0.094
self::$x = 0       0.105    0.079
isset(self::$x)    0.070    0.044
empty(self::$x)    0.097    0.070
$x = Foo::$x       0.097    0.070
Foo::$x = 0        0.069    0.043
isset(Foo::$x)     0.053    0.027
empty(Foo::$x)     0.056    0.029
self::f()          0.027    0.000
Foo::f()           0.031    0.005
$x = $this->x      0.085    0.059
$this->x = 0       0.051    0.025
$this->x += 2      0.107    0.081
++$this->x         0.074    0.048
--$this->x         0.072    0.046
$this->x++         0.084    0.057
$this->x--         0.080    0.054
isset($this->x)    0.069    0.043
empty($this->x)    0.088    0.062
$this->f()         0.113    0.086
$x = Foo::TEST     0.090    0.064
new Foo()          0.304    0.278
$x = TEST          0.061    0.035
$x = $_GET         0.105    0.078
$x = $GLOBALS['v'] 0.139    0.113
$x = $hash['v']    0.029    0.003
$x = $str[0]       0.026    0.000
$x = $a ?: null    0.026    0.000
$x = $f ?: tmp     0.026    0.000
$x = $f ? $f : $a  0.027    0.001
$x = $f ? $f : tmp 0.025    -0.001
------------------------
Total              2.540
real: 2.58s user: 2.53s sys: 0.03s cpu: 99% maxmem: 27872 KB cswaits: 1

/usr/local/php/bin/php -d opcache.enable_cli=1 -f /data/wwwroot/http2.domain.com/micro_bench.php
empty_loop         0.042
func()             0.052    0.010
undef_func()       0.046    0.005
int_func()         0.032    -0.009
$x = self::$x      0.112    0.070
self::$x = 0       0.091    0.049
isset(self::$x)    0.071    0.029
empty(self::$x)    0.082    0.041
$x = Foo::$x       0.068    0.027
Foo::$x = 0        0.089    0.048
isset(Foo::$x)     0.072    0.030
empty(Foo::$x)     0.068    0.026
self::f()          0.040    -0.001
Foo::f()           0.030    -0.012
$x = $this->x      0.079    0.037
$this->x = 0       0.051    0.009
$this->x += 2      0.113    0.072
++$this->x         0.081    0.040
--$this->x         0.075    0.033
$this->x++         0.088    0.046
$this->x--         0.090    0.048
isset($this->x)    0.079    0.038
empty($this->x)    0.084    0.043
$this->f()         0.119    0.078
$x = Foo::TEST     0.095    0.053
new Foo()          0.333    0.292
$x = TEST          0.062    0.020
$x = $_GET         0.136    0.094
$x = $GLOBALS['v'] 0.148    0.106
$x = $hash['v']    0.034    -0.008
$x = $str[0]       0.028    -0.014
$x = $a ?: null    0.027    -0.015
$x = $f ?: tmp     0.034    -0.008
$x = $f ? $f : $a  0.033    -0.009
$x = $f ? $f : tmp 0.027    -0.014
------------------------
Total              2.711
real: 2.75s user: 2.70s sys: 0.02s cpu: 99% maxmem: 28040 KB cswaits: 1

/usr/local/php/bin/php -d opcache.enable_cli=1 -f /data/wwwroot/http2.domain.com/micro_bench.php
empty_loop         0.027
func()             0.028    0.001
undef_func()       0.033    0.005
int_func()         0.034    0.007
$x = self::$x      0.099    0.072
self::$x = 0       0.106    0.079
isset(self::$x)    0.070    0.043
empty(self::$x)    0.082    0.055
$x = Foo::$x       0.095    0.068
Foo::$x = 0        0.067    0.040
isset(Foo::$x)     0.049    0.022
empty(Foo::$x)     0.054    0.027
self::f()          0.026    -0.001
Foo::f()           0.026    -0.001
$x = $this->x      0.074    0.047
$this->x = 0       0.065    0.038
$this->x += 2      0.136    0.109
++$this->x         0.112    0.085
--$this->x         0.077    0.050
$this->x++         0.085    0.058
$this->x--         0.086    0.059
isset($this->x)    0.072    0.045
empty($this->x)    0.074    0.047
$this->f()         0.121    0.094
$x = Foo::TEST     0.092    0.065
new Foo()          0.240    0.212
$x = TEST          0.080    0.053
$x = $_GET         0.132    0.105
$x = $GLOBALS['v'] 0.156    0.129
$x = $hash['v']    0.029    0.002
$x = $str[0]       0.028    0.001
$x = $a ?: null    0.028    0.001
$x = $f ?: tmp     0.030    0.003
$x = $f ? $f : $a  0.027    0.000
$x = $f ? $f : tmp 0.028    0.001
------------------------
Total              2.566
real: 2.60s user: 2.59s sys: 0.00s cpu: 99% maxmem: 27836 KB cswaits: 1

micro_bench.php results from 3 runs
2.540
2.711
2.566

oneinstack-ubuntu16-nginx micro_bench.php avg : 2.6057
[oneinstack-ubuntu16-nginx opcache.enable_cli=1] Avg: real: 2.64s user: 2.61s sys: 0.02s cpu: 99.00% maxmem: 27916.00KB cswaits: 1.00
oneinstack-ubuntu16-nginx opcache.enable_cli=1 micro_bench.php (phpext=52) runtime-min: 2.540 runtime-avg: 2.606 runtime-max: 2.711 runtime-stddev: 0.092 real: 2.64s user: 2.61s sys: 0.02s cpu: 99.00% maxmem: 27916.00KB
[oneinstack-ubuntu16-nginx] created results log at /home/lxcsh-phpbench-logs/bench_160618-101250.log

/usr/local/php/bin/php -d opcache.enable_cli=1 -f /data/wwwroot/http2.domain.com/bench.php
simple             0.009
simplecall         0.004
simpleucall        0.005
simpleudcall       0.005
mandel             0.052
mandel2            0.085
ackermann(7)       0.022
ary(50000)         0.007
ary2(50000)        0.005
ary3(2000)         0.052
fibo(30)           0.065
hash1(50000)       0.013
hash2(500)         0.009
heapsort(20000)    0.023
matrix(20)         0.023
nestedloop(12)     0.021
sieve(30)          0.010
strcat(200000)     0.006
------------------------
Total              0.416
real: 0.45s user: 0.43s sys: 0.01s cpu: 99% maxmem: 34520 KB cswaits: 1

/usr/local/php/bin/php -d opcache.enable_cli=1 -f /data/wwwroot/http2.domain.com/bench.php
simple             0.013
simplecall         0.006
simpleucall        0.006
simpleudcall       0.007
mandel             0.060
mandel2            0.091
ackermann(7)       0.026
ary(50000)         0.005
ary2(50000)        0.004
ary3(2000)         0.048
fibo(30)           0.085
hash1(50000)       0.015
hash2(500)         0.011
heapsort(20000)    0.031
matrix(20)         0.034
nestedloop(12)     0.024
sieve(30)          0.012
strcat(200000)     0.010
------------------------
Total              0.487
real: 0.54s user: 0.51s sys: 0.02s cpu: 99% maxmem: 34444 KB cswaits: 1

/usr/local/php/bin/php -d opcache.enable_cli=1 -f /data/wwwroot/http2.domain.com/bench.php
simple             0.010
simplecall         0.007
simpleucall        0.005
simpleudcall       0.005
mandel             0.054
mandel2            0.107
ackermann(7)       0.022
ary(50000)         0.006
ary2(50000)        0.004
ary3(2000)         0.050
fibo(30)           0.082
hash1(50000)       0.011
hash2(500)         0.011
heapsort(20000)    0.030
matrix(20)         0.022
nestedloop(12)     0.023
sieve(30)          0.011
strcat(200000)     0.005
------------------------
Total              0.466
real: 0.51s user: 0.47s sys: 0.03s cpu: 99% maxmem: 34664 KB cswaits: 1

bench.php results from 3 runs
0.416
0.487
0.466

oneinstack-ubuntu16-nginx bench.php avg : 0.4563
[oneinstack-ubuntu16-nginx opcache.enable_cli=1] Avg: real: 0.50s user: 0.47s sys: 0.02s cpu: 99.00% maxmem: 34542.67KB cswaits: 1.00
oneinstack-ubuntu16-nginx opcache.enable_cli=1 bench.php (phpext=52) runtime-min: 0.416 runtime-avg: 0.456 runtime-max: 0.487 runtime-stddev: 0.036 real: 0.50s user: 0.47s sys: 0.02s cpu: 99.00% maxmem: 34542.67KB
[oneinstack-ubuntu16-nginx] created results log at /home/lxcsh-phpbench-logs/bench_160618-101259.log
lxc stop oneinstack-ubuntu16-nginx
-------------------------------------------------------------------------------------------
lxc start oneinstack-ubuntu16-openresty

/usr/local/php/bin/php -v
PHP 7.2.6 (cli) (built: Jun 12 2018 06:10:31) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.6, Copyright (c) 1999-2018, by Zend Technologies


curl -Iks https://http2.domain.com/bench.php
HTTP/1.1 200 OK
Server: openresty
Date: Sat, 16 Jun 2018 17:13:26 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding


curl -Iks https://http2.domain.com/micro_bench.php
HTTP/1.1 200 OK
Server: openresty
Date: Sat, 16 Jun 2018 17:13:30 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding


/usr/local/php/bin/php -d opcache.enable_cli=0 -f /data/wwwroot/http2.domain.com/micro_bench.php
empty_loop         0.027
func()             0.107    0.079
undef_func()       0.117    0.090
int_func()         0.062    0.035
$x = self::$x      0.092    0.065
self::$x = 0       0.091    0.064
isset(self::$x)    0.090    0.062
empty(self::$x)    0.140    0.112
$x = Foo::$x       0.092    0.064
Foo::$x = 0        0.094    0.066
isset(Foo::$x)     0.081    0.054
empty(Foo::$x)     0.112    0.084
self::f()          0.158    0.131
Foo::f()           0.114    0.087
$x = $this->x      0.079    0.051
$this->x = 0       0.055    0.027
$this->x += 2      0.105    0.077
++$this->x         0.088    0.061
--$this->x         0.087    0.059
$this->x++         0.083    0.056
$this->x--         0.089    0.062
isset($this->x)    0.094    0.066
empty($this->x)    0.132    0.105
$this->f()         0.131    0.104
$x = Foo::TEST     0.095    0.068
new Foo()          0.267    0.240
$x = TEST          0.063    0.035
$x = $_GET         0.104    0.076
$x = $GLOBALS['v'] 0.168    0.140
$x = $hash['v']    0.122    0.094
$x = $str[0]       0.085    0.057
$x = $a ?: null    0.078    0.050
$x = $f ?: tmp     0.086    0.058
$x = $f ? $f : $a  0.069    0.042
$x = $f ? $f : tmp 0.083    0.055
------------------------
Total              3.537
real: 3.57s user: 3.52s sys: 0.02s cpu: 99% maxmem: 25084 KB cswaits: 1

/usr/local/php/bin/php -d opcache.enable_cli=0 -f /data/wwwroot/http2.domain.com/micro_bench.php
empty_loop         0.034
func()             0.110    0.076
undef_func()       0.123    0.089
int_func()         0.068    0.034
$x = self::$x      0.119    0.086
self::$x = 0       0.113    0.080
isset(self::$x)    0.088    0.055
empty(self::$x)    0.099    0.066
$x = Foo::$x       0.071    0.037
Foo::$x = 0        0.068    0.034
isset(Foo::$x)     0.064    0.030
empty(Foo::$x)     0.080    0.046
self::f()          0.143    0.110
Foo::f()           0.114    0.080
$x = $this->x      0.079    0.046
$this->x = 0       0.055    0.021
$this->x += 2      0.123    0.089
++$this->x         0.076    0.043
--$this->x         0.073    0.039
$this->x++         0.090    0.056
$this->x--         0.103    0.070
isset($this->x)    0.158    0.124
empty($this->x)    0.109    0.075
$this->f()         0.131    0.097
$x = Foo::TEST     0.097    0.063
new Foo()          0.328    0.294
$x = TEST          0.069    0.036
$x = $_GET         0.097    0.064
$x = $GLOBALS['v'] 0.148    0.114
$x = $hash['v']    0.122    0.089
$x = $str[0]       0.084    0.050
$x = $a ?: null    0.073    0.039
$x = $f ?: tmp     0.084    0.051
$x = $f ? $f : $a  0.083    0.050
$x = $f ? $f : tmp 0.079    0.045
------------------------
Total              3.557
real: 3.59s user: 3.56s sys: 0.01s cpu: 99% maxmem: 24860 KB cswaits: 1

/usr/local/php/bin/php -d opcache.enable_cli=0 -f /data/wwwroot/http2.domain.com/micro_bench.php
empty_loop         0.058
func()             0.112    0.055
undef_func()       0.137    0.079
int_func()         0.087    0.030
$x = self::$x      0.093    0.035
self::$x = 0       0.087    0.029
isset(self::$x)    0.094    0.037
empty(self::$x)    0.104    0.047
$x = Foo::$x       0.080    0.022
Foo::$x = 0        0.068    0.010
isset(Foo::$x)     0.066    0.009
empty(Foo::$x)     0.075    0.018
self::f()          0.133    0.075
Foo::f()           0.124    0.067
$x = $this->x      0.083    0.026
$this->x = 0       0.062    0.004
$this->x += 2      0.103    0.046
++$this->x         0.074    0.016
--$this->x         0.075    0.017
$this->x++         0.085    0.027
$this->x--         0.089    0.032
isset($this->x)    0.106    0.049
empty($this->x)    0.098    0.041
$this->f()         0.111    0.054
$x = Foo::TEST     0.090    0.032
new Foo()          0.283    0.225
$x = TEST          0.067    0.009
$x = $_GET         0.105    0.048
$x = $GLOBALS['v'] 0.156    0.099
$x = $hash['v']    0.122    0.065
$x = $str[0]       0.092    0.035
$x = $a ?: null    0.095    0.037
$x = $f ?: tmp     0.106    0.049
$x = $f ? $f : $a  0.074    0.017
$x = $f ? $f : tmp 0.078    0.021
------------------------
Total              3.473
real: 3.52s user: 3.46s sys: 0.03s cpu: 99% maxmem: 24888 KB cswaits: 1

micro_bench.php results from 3 runs
3.537
3.557
3.473

oneinstack-ubuntu16-openresty micro_bench.php avg : 3.5223
[oneinstack-ubuntu16-openresty opcache.enable_cli=0] Avg: real: 3.56s user: 3.51s sys: 0.02s cpu: 99.00% maxmem: 24944.00KB cswaits: 1.00
oneinstack-ubuntu16-openresty opcache.enable_cli=0 micro_bench.php (phpext=52) runtime-min: 3.473 runtime-avg: 3.522 runtime-max: 3.557 runtime-stddev: 0.044 real: 3.56s user: 3.51s sys: 0.02s cpu: 99.00% maxmem: 24944.00KB
[oneinstack-ubuntu16-openresty] created results log at /home/lxcsh-phpbench-logs/bench_160618-101330.log

/usr/local/php/bin/php -d opcache.enable_cli=0 -f /data/wwwroot/http2.domain.com/bench.php
simple             0.032
simplecall         0.012
simpleucall        0.027
simpleudcall       0.026
mandel             0.124
mandel2            0.145
ackermann(7)       0.025
ary(50000)         0.005
ary2(50000)        0.004
ary3(2000)         0.053
fibo(30)           0.082
hash1(50000)       0.013
hash2(500)         0.010
heapsort(20000)    0.029
matrix(20)         0.035
nestedloop(12)     0.054
sieve(30)          0.019
strcat(200000)     0.005
------------------------
Total              0.700
real: 0.73s user: 0.71s sys: 0.01s cpu: 99% maxmem: 31372 KB cswaits: 1

/usr/local/php/bin/php -d opcache.enable_cli=0 -f /data/wwwroot/http2.domain.com/bench.php
simple             0.030
simplecall         0.011
simpleucall        0.033
simpleudcall       0.027
mandel             0.121
mandel2            0.139
ackermann(7)       0.026
ary(50000)         0.005
ary2(50000)        0.004
ary3(2000)         0.062
fibo(30)           0.092
hash1(50000)       0.013
hash2(500)         0.011
heapsort(20000)    0.028
matrix(20)         0.030
nestedloop(12)     0.054
sieve(30)          0.017
strcat(200000)     0.005
------------------------
Total              0.708
real: 0.74s user: 0.73s sys: 0.00s cpu: 99% maxmem: 31216 KB cswaits: 1

/usr/local/php/bin/php -d opcache.enable_cli=0 -f /data/wwwroot/http2.domain.com/bench.php
simple             0.032
simplecall         0.023
simpleucall        0.029
simpleudcall       0.027
mandel             0.146
mandel2            0.149
ackermann(7)       0.047
ary(50000)         0.005
ary2(50000)        0.004
ary3(2000)         0.058
fibo(30)           0.082
hash1(50000)       0.013
hash2(500)         0.010
heapsort(20000)    0.031
matrix(20)         0.029
nestedloop(12)     0.048
sieve(30)          0.022
strcat(200000)     0.006
------------------------
Total              0.760
real: 0.79s user: 0.75s sys: 0.03s cpu: 99% maxmem: 31220 KB cswaits: 1

bench.php results from 3 runs
0.700
0.708
0.760

oneinstack-ubuntu16-openresty bench.php avg : 0.7227
[oneinstack-ubuntu16-openresty opcache.enable_cli=0] Avg: real: 0.75s user: 0.73s sys: 0.01s cpu: 99.00% maxmem: 31269.33KB cswaits: 1.00
oneinstack-ubuntu16-openresty opcache.enable_cli=0 bench.php (phpext=52) runtime-min: 0.700 runtime-avg: 0.723 runtime-max: 0.760 runtime-stddev: 0.033 real: 0.75s user: 0.73s sys: 0.01s cpu: 99.00% maxmem: 31269.33KB
[oneinstack-ubuntu16-openresty] created results log at /home/lxcsh-phpbench-logs/bench_160618-101341.log

/usr/local/php/bin/php -d opcache.enable_cli=1 -f /data/wwwroot/http2.domain.com/micro_bench.php
empty_loop         0.026
func()             0.030    0.003
undef_func()       0.027    0.001
int_func()         0.029    0.003
$x = self::$x      0.100    0.074
self::$x = 0       0.119    0.093
isset(self::$x)    0.094    0.068
empty(self::$x)    0.083    0.057
$x = Foo::$x       0.073    0.047
Foo::$x = 0        0.078    0.052
isset(Foo::$x)     0.046    0.020
empty(Foo::$x)     0.057    0.030
self::f()          0.026    0.000
Foo::f()           0.027    0.000
$x = $this->x      0.073    0.047
$this->x = 0       0.050    0.024
$this->x += 2      0.112    0.086
++$this->x         0.092    0.066
--$this->x         0.071    0.045
$this->x++         0.107    0.081
$this->x--         0.085    0.059
isset($this->x)    0.075    0.049
empty($this->x)    0.083    0.057
$this->f()         0.123    0.097
$x = Foo::TEST     0.090    0.064
new Foo()          0.246    0.220
$x = TEST          0.059    0.033
$x = $_GET         0.105    0.079
$x = $GLOBALS['v'] 0.193    0.167
$x = $hash['v']    0.042    0.016
$x = $str[0]       0.038    0.012
$x = $a ?: null    0.035    0.009
$x = $f ?: tmp     0.035    0.008
$x = $f ? $f : $a  0.039    0.013
$x = $f ? $f : tmp 0.036    0.010
------------------------
Total              2.605
real: 2.64s user: 2.60s sys: 0.03s cpu: 99% maxmem: 28052 KB cswaits: 1

/usr/local/php/bin/php -d opcache.enable_cli=1 -f /data/wwwroot/http2.domain.com/micro_bench.php
empty_loop         0.030
func()             0.033    0.003
undef_func()       0.029    0.000
int_func()         0.030    0.001
$x = self::$x      0.107    0.077
self::$x = 0       0.086    0.056
isset(self::$x)    0.112    0.083
empty(self::$x)    0.110    0.081
$x = Foo::$x       0.103    0.073
Foo::$x = 0        0.075    0.046
isset(Foo::$x)     0.049    0.019
empty(Foo::$x)     0.052    0.023
self::f()          0.025    -0.005
Foo::f()           0.032    0.002
$x = $this->x      0.074    0.044
$this->x = 0       0.063    0.033
$this->x += 2      0.168    0.138
++$this->x         0.099    0.069
--$this->x         0.160    0.130
$this->x++         0.128    0.098
$this->x--         0.113    0.083
isset($this->x)    0.130    0.100
empty($this->x)    0.083    0.053
$this->f()         0.127    0.098
$x = Foo::TEST     0.135    0.105
new Foo()          0.273    0.243
$x = TEST          0.055    0.026
$x = $_GET         0.101    0.071
$x = $GLOBALS['v'] 0.143    0.113
$x = $hash['v']    0.030    0.000
$x = $str[0]       0.029    -0.001
$x = $a ?: null    0.031    0.001
$x = $f ?: tmp     0.027    -0.003
$x = $f ? $f : $a  0.030    0.000
$x = $f ? $f : tmp 0.025    -0.005
------------------------
Total              2.896
real: 2.94s user: 2.89s sys: 0.02s cpu: 99% maxmem: 27936 KB cswaits: 1

/usr/local/php/bin/php -d opcache.enable_cli=1 -f /data/wwwroot/http2.domain.com/micro_bench.php
empty_loop         0.030
func()             0.034    0.004
undef_func()       0.030    0.000
int_func()         0.035    0.005
$x = self::$x      0.122    0.092
self::$x = 0       0.101    0.071
isset(self::$x)    0.077    0.047
empty(self::$x)    0.081    0.051
$x = Foo::$x       0.073    0.043
Foo::$x = 0        0.072    0.042
isset(Foo::$x)     0.051    0.021
empty(Foo::$x)     0.058    0.028
self::f()          0.029    -0.001
Foo::f()           0.028    -0.002
$x = $this->x      0.076    0.046
$this->x = 0       0.059    0.029
$this->x += 2      0.127    0.096
++$this->x         0.079    0.049
--$this->x         0.072    0.042
$this->x++         0.082    0.052
$this->x--         0.083    0.052
isset($this->x)    0.077    0.047
empty($this->x)    0.090    0.060
$this->f()         0.129    0.099
$x = Foo::TEST     0.114    0.084
new Foo()          0.278    0.248
$x = TEST          0.070    0.040
$x = $_GET         0.119    0.089
$x = $GLOBALS['v'] 0.155    0.125
$x = $hash['v']    0.027    -0.003
$x = $str[0]       0.028    -0.003
$x = $a ?: null    0.027    -0.003
$x = $f ?: tmp     0.027    -0.003
$x = $f ? $f : $a  0.027    -0.003
$x = $f ? $f : tmp 0.027    -0.003
------------------------
Total              2.596
real: 2.63s user: 2.60s sys: 0.01s cpu: 99% maxmem: 28128 KB cswaits: 1

micro_bench.php results from 3 runs
2.605
2.896
2.596

oneinstack-ubuntu16-openresty micro_bench.php avg : 2.6990
[oneinstack-ubuntu16-openresty opcache.enable_cli=1] Avg: real: 2.74s user: 2.70s sys: 0.02s cpu: 99.00% maxmem: 28038.67KB cswaits: 1.00
oneinstack-ubuntu16-openresty opcache.enable_cli=1 micro_bench.php (phpext=52) runtime-min: 2.596 runtime-avg: 2.699 runtime-max: 2.896 runtime-stddev: 0.171 real: 2.74s user: 2.70s sys: 0.02s cpu: 99.00% maxmem: 28038.67KB
[oneinstack-ubuntu16-openresty] created results log at /home/lxcsh-phpbench-logs/bench_160618-101346.log

/usr/local/php/bin/php -d opcache.enable_cli=1 -f /data/wwwroot/http2.domain.com/bench.php
simple             0.010
simplecall         0.006
simpleucall        0.005
simpleudcall       0.005
mandel             0.057
mandel2            0.089
ackermann(7)       0.019
ary(50000)         0.005
ary2(50000)        0.005
ary3(2000)         0.057
fibo(30)           0.065
hash1(50000)       0.011
hash2(500)         0.009
heapsort(20000)    0.022
matrix(20)         0.021
nestedloop(12)     0.020
sieve(30)          0.011
strcat(200000)     0.005
------------------------
Total              0.423
real: 0.47s user: 0.45s sys: 0.01s cpu: 99% maxmem: 34424 KB cswaits: 1

/usr/local/php/bin/php -d opcache.enable_cli=1 -f /data/wwwroot/http2.domain.com/bench.php
simple             0.010
simplecall         0.005
simpleucall        0.021
simpleudcall       0.006
mandel             0.053
mandel2            0.089
ackermann(7)       0.025
ary(50000)         0.006
ary2(50000)        0.005
ary3(2000)         0.051
fibo(30)           0.065
hash1(50000)       0.012
hash2(500)         0.011
heapsort(20000)    0.023
matrix(20)         0.022
nestedloop(12)     0.020
sieve(30)          0.011
strcat(200000)     0.005
------------------------
Total              0.439
real: 0.47s user: 0.46s sys: 0.01s cpu: 99% maxmem: 34460 KB cswaits: 1

/usr/local/php/bin/php -d opcache.enable_cli=1 -f /data/wwwroot/http2.domain.com/bench.php
simple             0.012
simplecall         0.005
simpleucall        0.006
simpleudcall       0.005
mandel             0.052
mandel2            0.087
ackermann(7)       0.021
ary(50000)         0.007
ary2(50000)        0.004
ary3(2000)         0.047
fibo(30)           0.077
hash1(50000)       0.014
hash2(500)         0.011
heapsort(20000)    0.026
matrix(20)         0.024
nestedloop(12)     0.020
sieve(30)          0.010
strcat(200000)     0.005
------------------------
Total              0.434
real: 0.47s user: 0.45s sys: 0.01s cpu: 97% maxmem: 34400 KB cswaits: 1

bench.php results from 3 runs
0.423
0.439
0.434

oneinstack-ubuntu16-openresty bench.php avg : 0.4320
[oneinstack-ubuntu16-openresty opcache.enable_cli=1] Avg: real: 0.47s user: 0.45s sys: 0.01s cpu: 98.33% maxmem: 34428.00KB cswaits: 1.00
oneinstack-ubuntu16-openresty opcache.enable_cli=1 bench.php (phpext=52) runtime-min: 0.423 runtime-avg: 0.432 runtime-max: 0.439 runtime-stddev: 0.008 real: 0.47s user: 0.45s sys: 0.01s cpu: 98.33% maxmem: 34428.00KB
[oneinstack-ubuntu16-openresty] created results log at /home/lxcsh-phpbench-logs/bench_160618-101355.log
lxc stop oneinstack-ubuntu16-openresty
-------------------------------------------------------------------------------------------
lxc start vestacp-ubuntu1604

php -v
PHP 7.0.30-0ubuntu0.16.04.1 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.30-0ubuntu0.16.04.1, Copyright (c) 1999-2017, by Zend Technologies


curl -Iks https://http2.domain.com/bench.php
HTTP/1.1 200 OK
Server: nginx
Date: Sat, 16 Jun 2018 17:14:22 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Keep-Alive: timeout=60


curl -Iks https://http2.domain.com/micro_bench.php
HTTP/1.1 200 OK
Server: nginx
Date: Sat, 16 Jun 2018 17:14:27 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Keep-Alive: timeout=60


php -d opcache.enable_cli=0 -f /home/admin/web/http2.domain.com/public_html/micro_bench.php
empty_loop         0.055
func()             0.190    0.135
undef_func()       0.156    0.101
int_func()         0.138    0.083
$x = self::$x      0.145    0.090
self::$x = 0       0.146    0.092
isset(self::$x)    0.138    0.083
empty(self::$x)    0.148    0.093
$x = Foo::$x       0.121    0.066
Foo::$x = 0        0.124    0.069
isset(Foo::$x)     0.110    0.055
empty(Foo::$x)     0.105    0.050
self::f()          0.194    0.140
Foo::f()           0.151    0.097
$x = $this->x      0.093    0.038
$this->x = 0       0.096    0.041
$this->x += 2      0.157    0.102
++$this->x         0.106    0.051
--$this->x         0.087    0.032
$this->x++         0.118    0.063
$this->x--         0.147    0.092
isset($this->x)    0.169    0.115
empty($this->x)    0.132    0.077
$this->f()         0.154    0.099
$x = Foo::TEST     0.084    0.029
new Foo()          0.375    0.320
$x = TEST          0.074    0.019
$x = $_GET         0.135    0.080
$x = $GLOBALS['v'] 0.184    0.129
$x = $hash['v']    0.122    0.067
$x = $str[0]       0.178    0.123
$x = $a ?: null    0.093    0.038
$x = $f ?: tmp     0.085    0.030
$x = $f ? $f : $a  0.079    0.024
$x = $f ? $f : tmp 0.085    0.030
------------------------
Total              4.674
real: 4.72s user: 4.64s sys: 0.03s cpu: 99% maxmem: 27416 KB cswaits: 1

php -d opcache.enable_cli=0 -f /home/admin/web/http2.domain.com/public_html/micro_bench.php
empty_loop         0.038
func()             0.132    0.093
undef_func()       0.136    0.098
int_func()         0.107    0.068
$x = self::$x      0.108    0.070
self::$x = 0       0.106    0.067
isset(self::$x)    0.107    0.069
empty(self::$x)    0.118    0.080
$x = Foo::$x       0.097    0.059
Foo::$x = 0        0.103    0.065
isset(Foo::$x)     0.095    0.056
empty(Foo::$x)     0.083    0.045
self::f()          0.224    0.186
Foo::f()           0.196    0.158
$x = $this->x      0.106    0.068
$this->x = 0       0.105    0.067
$this->x += 2      0.146    0.108
++$this->x         0.074    0.036
--$this->x         0.079    0.041
$this->x++         0.100    0.061
$this->x--         0.097    0.058
isset($this->x)    0.089    0.051
empty($this->x)    0.120    0.082
$this->f()         0.142    0.104
$x = Foo::TEST     0.093    0.055
new Foo()          0.352    0.313
$x = TEST          0.079    0.040
$x = $_GET         0.119    0.081
$x = $GLOBALS['v'] 0.151    0.113
$x = $hash['v']    0.111    0.073
$x = $str[0]       0.126    0.088
$x = $a ?: null    0.090    0.052
$x = $f ?: tmp     0.094    0.055
$x = $f ? $f : $a  0.081    0.043
$x = $f ? $f : tmp 0.107    0.068
------------------------
Total              4.115
real: 4.16s user: 4.11s sys: 0.02s cpu: 99% maxmem: 27324 KB cswaits: 1

php -d opcache.enable_cli=0 -f /home/admin/web/http2.domain.com/public_html/micro_bench.php
empty_loop         0.039
func()             0.120    0.081
undef_func()       0.139    0.100
int_func()         0.098    0.059
$x = self::$x      0.101    0.062
self::$x = 0       0.109    0.069
isset(self::$x)    0.095    0.055
empty(self::$x)    0.120    0.080
$x = Foo::$x       0.110    0.070
Foo::$x = 0        0.084    0.045
isset(Foo::$x)     0.079    0.039
empty(Foo::$x)     0.078    0.039
self::f()          0.171    0.132
Foo::f()           0.147    0.108
$x = $this->x      0.096    0.056
$this->x = 0       0.071    0.031
$this->x += 2      0.110    0.071
++$this->x         0.082    0.043
--$this->x         0.079    0.039
$this->x++         0.102    0.062
$this->x--         0.094    0.054
isset($this->x)    0.136    0.097
empty($this->x)    0.134    0.095
$this->f()         0.146    0.106
$x = Foo::TEST     0.086    0.047
new Foo()          0.354    0.315
$x = TEST          0.076    0.036
$x = $_GET         0.107    0.067
$x = $GLOBALS['v'] 0.165    0.125
$x = $hash['v']    0.123    0.084
$x = $str[0]       0.192    0.152
$x = $a ?: null    0.086    0.047
$x = $f ?: tmp     0.091    0.051
$x = $f ? $f : $a  0.086    0.047
$x = $f ? $f : tmp 0.099    0.059
------------------------
Total              4.004
real: 4.05s user: 3.98s sys: 0.02s cpu: 99% maxmem: 27288 KB cswaits: 1

micro_bench.php results from 3 runs
4.674
4.115
4.004

vestacp-ubuntu1604 micro_bench.php avg : 4.2643
[vestacp-ubuntu1604 opcache.enable_cli=0] Avg: real: 4.31s user: 4.24s sys: 0.02s cpu: 99.00% maxmem: 27342.67KB cswaits: 1.00
vestacp-ubuntu1604 opcache.enable_cli=0 micro_bench.php (phpext=52) runtime-min: 4.004 runtime-avg: 4.264 runtime-max: 4.674 runtime-stddev: 0.359 real: 4.31s user: 4.24s sys: 0.02s cpu: 99.00% maxmem: 27342.67KB
[vestacp-ubuntu1604] created results log at /home/lxcsh-phpbench-logs/bench_160618-101427.log

php -d opcache.enable_cli=0 -f /home/admin/web/http2.domain.com/public_html/bench.php
simple             0.035
simplecall         0.015
simpleucall        0.028
simpleudcall       0.025
mandel             0.127
mandel2            0.145
ackermann(7)       0.024
ary(50000)         0.007
ary2(50000)        0.006
ary3(2000)         0.071
fibo(30)           0.111
hash1(50000)       0.014
hash2(500)         0.010
heapsort(20000)    0.041
matrix(20)         0.035
nestedloop(12)     0.060
sieve(30)          0.022
strcat(200000)     0.005
------------------------
Total              0.782
real: 0.82s user: 0.79s sys: 0.02s cpu: 99% maxmem: 33324 KB cswaits: 1

php -d opcache.enable_cli=0 -f /home/admin/web/http2.domain.com/public_html/bench.php
simple             0.030
simplecall         0.009
simpleucall        0.024
simpleudcall       0.027
mandel             0.111
mandel2            0.109
ackermann(7)       0.023
ary(50000)         0.006
ary2(50000)        0.004
ary3(2000)         0.081
fibo(30)           0.098
hash1(50000)       0.016
hash2(500)         0.011
heapsort(20000)    0.029
matrix(20)         0.031
nestedloop(12)     0.054
sieve(30)          0.019
strcat(200000)     0.005
------------------------
Total              0.688
real: 0.72s user: 0.70s sys: 0.02s cpu: 99% maxmem: 33404 KB cswaits: 1

php -d opcache.enable_cli=0 -f /home/admin/web/http2.domain.com/public_html/bench.php
simple             0.029
simplecall         0.010
simpleucall        0.030
simpleudcall       0.034
mandel             0.109
mandel2            0.160
ackermann(7)       0.031
ary(50000)         0.009
ary2(50000)        0.006
ary3(2000)         0.097
fibo(30)           0.105
hash1(50000)       0.014
hash2(500)         0.010
heapsort(20000)    0.029
matrix(20)         0.031
nestedloop(12)     0.055
sieve(30)          0.020
strcat(200000)     0.006
------------------------
Total              0.785
real: 0.82s user: 0.79s sys: 0.02s cpu: 99% maxmem: 33368 KB cswaits: 1

bench.php results from 3 runs
0.782
0.688
0.785

vestacp-ubuntu1604 bench.php avg : 0.7517
[vestacp-ubuntu1604 opcache.enable_cli=0] Avg: real: 0.79s user: 0.76s sys: 0.02s cpu: 99.00% maxmem: 33365.33KB cswaits: 1.00
vestacp-ubuntu1604 opcache.enable_cli=0 bench.php (phpext=52) runtime-min: 0.688 runtime-avg: 0.752 runtime-max: 0.785 runtime-stddev: 0.055 real: 0.79s user: 0.76s sys: 0.02s cpu: 99.00% maxmem: 33365.33KB
[vestacp-ubuntu1604] created results log at /home/lxcsh-phpbench-logs/bench_160618-101441.log

php -d opcache.enable_cli=1 -f /home/admin/web/http2.domain.com/public_html/micro_bench.php
empty_loop         0.041
func()             0.106    0.065
undef_func()       0.124    0.083
int_func()         0.094    0.053
$x = self::$x      0.106    0.065
self::$x = 0       0.101    0.060
isset(self::$x)    0.109    0.068
empty(self::$x)    0.105    0.064
$x = Foo::$x       0.079    0.038
Foo::$x = 0        0.069    0.028
isset(Foo::$x)     0.066    0.025
empty(Foo::$x)     0.072    0.031
self::f()          0.155    0.114
Foo::f()           0.125    0.084
$x = $this->x      0.070    0.029
$this->x = 0       0.066    0.025
$this->x += 2      0.112    0.071
++$this->x         0.081    0.040
--$this->x         0.070    0.029
$this->x++         0.091    0.050
$this->x--         0.087    0.046
isset($this->x)    0.093    0.052
empty($this->x)    0.139    0.098
$this->f()         0.189    0.148
$x = Foo::TEST     0.117    0.076
new Foo()          0.342    0.301
$x = TEST          0.090    0.049
$x = $_GET         0.107    0.066
$x = $GLOBALS['v'] 0.154    0.113
$x = $hash['v']    0.108    0.067
$x = $str[0]       0.087    0.046
$x = $a ?: null    0.067    0.026
$x = $f ?: tmp     0.097    0.056
$x = $f ? $f : $a  0.078    0.037
$x = $f ? $f : tmp 0.093    0.052
------------------------
Total              3.692
real: 3.75s user: 3.68s sys: 0.03s cpu: 99% maxmem: 36168 KB cswaits: 1

php -d opcache.enable_cli=1 -f /home/admin/web/http2.domain.com/public_html/micro_bench.php
empty_loop         0.036
func()             0.109    0.073
undef_func()       0.105    0.069
int_func()         0.085    0.049
$x = self::$x      0.148    0.112
self::$x = 0       0.118    0.082
isset(self::$x)    0.090    0.054
empty(self::$x)    0.100    0.064
$x = Foo::$x       0.077    0.041
Foo::$x = 0        0.071    0.035
isset(Foo::$x)     0.067    0.031
empty(Foo::$x)     0.071    0.035
self::f()          0.168    0.132
Foo::f()           0.135    0.099
$x = $this->x      0.075    0.039
$this->x = 0       0.097    0.061
$this->x += 2      0.116    0.080
++$this->x         0.076    0.040
--$this->x         0.081    0.045
$this->x++         0.097    0.061
$this->x--         0.087    0.052
isset($this->x)    0.089    0.053
empty($this->x)    0.103    0.067
$this->f()         0.138    0.102
$x = Foo::TEST     0.078    0.042
new Foo()          0.321    0.285
$x = TEST          0.059    0.023
$x = $_GET         0.096    0.060
$x = $GLOBALS['v'] 0.142    0.107
$x = $hash['v']    0.100    0.064
$x = $str[0]       0.082    0.047
$x = $a ?: null    0.076    0.040
$x = $f ?: tmp     0.092    0.056
$x = $f ? $f : $a  0.072    0.036
$x = $f ? $f : tmp 0.107    0.071
------------------------
Total              3.563
real: 3.61s user: 3.55s sys: 0.03s cpu: 99% maxmem: 36232 KB cswaits: 1

php -d opcache.enable_cli=1 -f /home/admin/web/http2.domain.com/public_html/micro_bench.php
empty_loop         0.041
func()             0.118    0.077
undef_func()       0.111    0.070
int_func()         0.084    0.043
$x = self::$x      0.102    0.061
self::$x = 0       0.101    0.060
isset(self::$x)    0.100    0.059
empty(self::$x)    0.100    0.059
$x = Foo::$x       0.104    0.062
Foo::$x = 0        0.071    0.029
isset(Foo::$x)     0.074    0.032
empty(Foo::$x)     0.076    0.035
self::f()          0.159    0.118
Foo::f()           0.139    0.098
$x = $this->x      0.066    0.025
$this->x = 0       0.064    0.023
$this->x += 2      0.109    0.068
++$this->x         0.075    0.034
--$this->x         0.074    0.032
$this->x++         0.096    0.055
$this->x--         0.147    0.106
isset($this->x)    0.117    0.076
empty($this->x)    0.098    0.057
$this->f()         0.148    0.107
$x = Foo::TEST     0.083    0.042
new Foo()          0.347    0.306
$x = TEST          0.068    0.027
$x = $_GET         0.114    0.073
$x = $GLOBALS['v'] 0.149    0.108
$x = $hash['v']    0.122    0.081
$x = $str[0]       0.081    0.040
$x = $a ?: null    0.071    0.030
$x = $f ?: tmp     0.092    0.051
$x = $f ? $f : $a  0.083    0.042
$x = $f ? $f : tmp 0.085    0.043
------------------------
Total              3.670
real: 3.74s user: 3.68s sys: 0.03s cpu: 99% maxmem: 36284 KB cswaits: 1

micro_bench.php results from 3 runs
3.692
3.563
3.670

vestacp-ubuntu1604 micro_bench.php avg : 3.6417
[vestacp-ubuntu1604 opcache.enable_cli=1] Avg: real: 3.70s user: 3.64s sys: 0.03s cpu: 99.00% maxmem: 36228.00KB cswaits: 1.00
vestacp-ubuntu1604 opcache.enable_cli=1 micro_bench.php (phpext=52) runtime-min: 3.563 runtime-avg: 3.642 runtime-max: 3.692 runtime-stddev: 0.069 real: 3.70s user: 3.64s sys: 0.03s cpu: 99.00% maxmem: 36228.00KB
[vestacp-ubuntu1604] created results log at /home/lxcsh-phpbench-logs/bench_160618-101445.log

php -d opcache.enable_cli=1 -f /home/admin/web/http2.domain.com/public_html/bench.php
simple             0.018
simplecall         0.010
simpleucall        0.025
simpleudcall       0.023
mandel             0.096
mandel2            0.111
ackermann(7)       0.023
ary(50000)         0.005
ary2(50000)        0.004
ary3(2000)         0.065
fibo(30)           0.084
hash1(50000)       0.014
hash2(500)         0.011
heapsort(20000)    0.027
matrix(20)         0.045
nestedloop(12)     0.047
sieve(30)          0.019
strcat(200000)     0.005
------------------------
Total              0.632
real: 0.69s user: 0.65s sys: 0.03s cpu: 98% maxmem: 42564 KB cswaits: 1

php -d opcache.enable_cli=1 -f /home/admin/web/http2.domain.com/public_html/bench.php
simple             0.018
simplecall         0.010
simpleucall        0.023
simpleudcall       0.024
mandel             0.116
mandel2            0.130
ackermann(7)       0.028
ary(50000)         0.005
ary2(50000)        0.004
ary3(2000)         0.072
fibo(30)           0.088
hash1(50000)       0.019
hash2(500)         0.011
heapsort(20000)    0.036
matrix(20)         0.039
nestedloop(12)     0.051
sieve(30)          0.019
strcat(200000)     0.005
------------------------
Total              0.699
real: 0.75s user: 0.72s sys: 0.01s cpu: 99% maxmem: 42660 KB cswaits: 1

php -d opcache.enable_cli=1 -f /home/admin/web/http2.domain.com/public_html/bench.php
simple             0.017
simplecall         0.007
simpleucall        0.027
simpleudcall       0.030
mandel             0.112
mandel2            0.139
ackermann(7)       0.025
ary(50000)         0.006
ary2(50000)        0.004
ary3(2000)         0.068
fibo(30)           0.092
hash1(50000)       0.024
hash2(500)         0.021
heapsort(20000)    0.051
matrix(20)         0.034
nestedloop(12)     0.059
sieve(30)          0.061
strcat(200000)     0.017
------------------------
Total              0.796
real: 0.85s user: 0.81s sys: 0.03s cpu: 99% maxmem: 42516 KB cswaits: 1

bench.php results from 3 runs
0.632
0.699
0.796

vestacp-ubuntu1604 bench.php avg : 0.7090
[vestacp-ubuntu1604 opcache.enable_cli=1] Avg: real: 0.76s user: 0.73s sys: 0.02s cpu: 98.67% maxmem: 42580.00KB cswaits: 1.00
vestacp-ubuntu1604 opcache.enable_cli=1 bench.php (phpext=52) runtime-min: 0.632 runtime-avg: 0.709 runtime-max: 0.796 runtime-stddev: 0.082 real: 0.76s user: 0.73s sys: 0.02s cpu: 98.67% maxmem: 42580.00KB
[vestacp-ubuntu1604] created results log at /home/lxcsh-phpbench-logs/bench_160618-101457.log
lxc stop vestacp-ubuntu1604
-------------------------------------------------------------------------------------------
lxc start webinoly

php -v
PHP 7.2.5-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: May  5 2018 05:00:15) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.5-1+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies


curl -Iks https://http2.domain.com/bench.php
HTTP/2 200 
server: nginx
date: Sat, 16 Jun 2018 17:15:25 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
x-frame-options: SAMEORIGIN
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
cache-control: public, no-cache
referrer-policy: unsafe-url

curl -Iks https://http2.domain.com/bench.php
HTTP/2 200
server: nginx
date: Sat, 16 Jun 2018 17:15:30 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
x-frame-options: SAMEORIGIN
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
cache-control: public, no-cache
referrer-policy: unsafe-url

php -d opcache.enable_cli=0 -f /var/www/http2.domain.com/htdocs/micro_bench.php
empty_loop         0.042
func()             0.116    0.074
undef_func()       0.133    0.091
int_func()         0.091    0.049
$x = self::$x      0.108    0.066
self::$x = 0       0.092    0.049
isset(self::$x)    0.093    0.051
empty(self::$x)    0.102    0.060
$x = Foo::$x       0.075    0.033
Foo::$x = 0        0.064    0.022
isset(Foo::$x)     0.066    0.024
empty(Foo::$x)     0.076    0.034
self::f()          0.131    0.089
Foo::f()           0.126    0.084
$x = $this->x      0.077    0.035
$this->x = 0       0.061    0.018
$this->x += 2      0.120    0.078
++$this->x         0.078    0.036
--$this->x         0.072    0.030
$this->x++         0.095    0.052
$this->x--         0.083    0.040
isset($this->x)    0.089    0.046
empty($this->x)    0.097    0.055
$this->f()         0.128    0.086
$x = Foo::TEST     0.094    0.051
new Foo()          0.246    0.204
$x = TEST          0.063    0.020
$x = $_GET         0.120    0.078
$x = $GLOBALS['v'] 0.143    0.100
$x = $hash['v']    0.122    0.079
$x = $str[0]       0.081    0.038
$x = $a ?: null    0.076    0.033
$x = $f ?: tmp     0.089    0.046
$x = $f ? $f : $a  0.070    0.028
$x = $f ? $f : tmp 0.072    0.029
------------------------
Total              3.393
real: 3.45s user: 3.42s sys: 0.02s cpu: 99% maxmem: 34580 KB cswaits: 3

php -d opcache.enable_cli=0 -f /var/www/http2.domain.com/htdocs/micro_bench.php
empty_loop         0.038
func()             0.119    0.080
undef_func()       0.127    0.089
int_func()         0.076    0.038
$x = self::$x      0.098    0.060
self::$x = 0       0.092    0.054
isset(self::$x)    0.090    0.052
empty(self::$x)    0.212    0.173
$x = Foo::$x       0.078    0.040
Foo::$x = 0        0.069    0.031
isset(Foo::$x)     0.078    0.040
empty(Foo::$x)     0.072    0.034
self::f()          0.128    0.089
Foo::f()           0.118    0.080
$x = $this->x      0.075    0.037
$this->x = 0       0.056    0.018
$this->x += 2      0.130    0.092
++$this->x         0.074    0.036
--$this->x         0.078    0.040
$this->x++         0.097    0.059
$this->x--         0.083    0.045
isset($this->x)    0.099    0.061
empty($this->x)    0.112    0.074
$this->f()         0.120    0.082
$x = Foo::TEST     0.100    0.062
new Foo()          0.277    0.239
$x = TEST          0.071    0.033
$x = $_GET         0.100    0.062
$x = $GLOBALS['v'] 0.136    0.098
$x = $hash['v']    0.114    0.076
$x = $str[0]       0.079    0.041
$x = $a ?: null    0.090    0.052
$x = $f ?: tmp     0.087    0.049
$x = $f ? $f : $a  0.071    0.033
$x = $f ? $f : tmp 0.071    0.033
------------------------
Total              3.516
real: 3.56s user: 3.52s sys: 0.02s cpu: 99% maxmem: 34612 KB cswaits: 3

php -d opcache.enable_cli=0 -f /var/www/http2.domain.com/htdocs/micro_bench.php
empty_loop         0.037
func()             0.111    0.074
undef_func()       0.118    0.081
int_func()         0.074    0.036
$x = self::$x      0.179    0.142
self::$x = 0       0.089    0.052
isset(self::$x)    0.096    0.059
empty(self::$x)    0.103    0.065
$x = Foo::$x       0.075    0.037
Foo::$x = 0        0.066    0.029
isset(Foo::$x)     0.085    0.048
empty(Foo::$x)     0.071    0.034
self::f()          0.128    0.091
Foo::f()           0.118    0.081
$x = $this->x      0.075    0.038
$this->x = 0       0.052    0.014
$this->x += 2      0.103    0.066
++$this->x         0.073    0.035
--$this->x         0.069    0.031
$this->x++         0.093    0.056
$this->x--         0.084    0.046
isset($this->x)    0.096    0.059
empty($this->x)    0.101    0.063
$this->f()         0.119    0.081
$x = Foo::TEST     0.097    0.059
new Foo()          0.242    0.205
$x = TEST          0.063    0.026
$x = $_GET         0.098    0.060
$x = $GLOBALS['v'] 0.162    0.125
$x = $hash['v']    0.125    0.088
$x = $str[0]       0.076    0.039
$x = $a ?: null    0.083    0.045
$x = $f ?: tmp     0.083    0.046
$x = $f ? $f : $a  0.082    0.045
$x = $f ? $f : tmp 0.069    0.032
------------------------
Total              3.397
real: 3.45s user: 3.41s sys: 0.03s cpu: 99% maxmem: 34364 KB cswaits: 3

micro_bench.php results from 3 runs
3.393
3.516
3.397

webinoly micro_bench.php avg : 3.4353
[webinoly opcache.enable_cli=0] Avg: real: 3.49s user: 3.45s sys: 0.02s cpu: 99.00% maxmem: 34518.67KB cswaits: 3.00
webinoly opcache.enable_cli=0 micro_bench.php (phpext=59) runtime-min: 3.393 runtime-avg: 3.435 runtime-max: 3.516 runtime-stddev: 0.070 real: 3.49s user: 3.45s sys: 0.02s cpu: 99.00% maxmem: 34518.67KB
[webinoly] created results log at /home/lxcsh-phpbench-logs/bench_160618-101525.log

php -d opcache.enable_cli=0 -f /var/www/http2.domain.com/htdocs/bench.php
simple             0.036
simplecall         0.010
simpleucall        0.026
simpleudcall       0.027
mandel             0.135
mandel2            0.112
ackermann(7)       0.022
ary(50000)         0.005
ary2(50000)        0.004
ary3(2000)         0.054
fibo(30)           0.081
hash1(50000)       0.013
hash2(500)         0.010
heapsort(20000)    0.026
matrix(20)         0.028
nestedloop(12)     0.056
sieve(30)          0.019
strcat(200000)     0.006
------------------------
Total              0.666
real: 0.72s user: 0.69s sys: 0.02s cpu: 99% maxmem: 40232 KB cswaits: 1

php -d opcache.enable_cli=0 -f /var/www/http2.domain.com/htdocs/bench.php
simple             0.032
simplecall         0.013
simpleucall        0.027
simpleudcall       0.029
mandel             0.141
mandel2            0.114
ackermann(7)       0.022
ary(50000)         0.007
ary2(50000)        0.005
ary3(2000)         0.057
fibo(30)           0.094
hash1(50000)       0.021
hash2(500)         0.017
heapsort(20000)    0.030
matrix(20)         0.027
nestedloop(12)     0.064
sieve(30)          0.017
strcat(200000)     0.005
------------------------
Total              0.721
real: 0.77s user: 0.74s sys: 0.02s cpu: 98% maxmem: 40572 KB cswaits: 2

php -d opcache.enable_cli=0 -f /var/www/http2.domain.com/htdocs/bench.php
simple             0.045
simplecall         0.013
simpleucall        0.026
simpleudcall       0.031
mandel             0.134
mandel2            0.120
ackermann(7)       0.023
ary(50000)         0.006
ary2(50000)        0.004
ary3(2000)         0.056
fibo(30)           0.084
hash1(50000)       0.013
hash2(500)         0.010
heapsort(20000)    0.041
matrix(20)         0.034
nestedloop(12)     0.057
sieve(30)          0.020
strcat(200000)     0.005
------------------------
Total              0.722
real: 0.78s user: 0.75s sys: 0.02s cpu: 99% maxmem: 40656 KB cswaits: 2

bench.php results from 3 runs
0.666
0.721
0.722

webinoly bench.php avg : 0.7030
[webinoly opcache.enable_cli=0] Avg: real: 0.76s user: 0.73s sys: 0.02s cpu: 98.67% maxmem: 40486.67KB cswaits: 1.67
webinoly opcache.enable_cli=0 bench.php (phpext=59) runtime-min: 0.666 runtime-avg: 0.703 runtime-max: 0.722 runtime-stddev: 0.032 real: 0.76s user: 0.73s sys: 0.02s cpu: 98.67% maxmem: 40486.67KB
[webinoly] created results log at /home/lxcsh-phpbench-logs/bench_160618-101537.log

php -d opcache.enable_cli=1 -f /var/www/http2.domain.com/htdocs/micro_bench.php
empty_loop         0.040
func()             0.035    -0.004
undef_func()       0.032    -0.008
int_func()         0.045    0.005
$x = self::$x      0.136    0.096
self::$x = 0       0.095    0.055
isset(self::$x)    0.122    0.082
empty(self::$x)    0.120    0.081
$x = Foo::$x       0.102    0.062
Foo::$x = 0        0.087    0.048
isset(Foo::$x)     0.047    0.007
empty(Foo::$x)     0.054    0.014
self::f()          0.025    -0.015
Foo::f()           0.026    -0.014
$x = $this->x      0.070    0.030
$this->x = 0       0.044    0.004
$this->x += 2      0.119    0.079
++$this->x         0.100    0.060
--$this->x         0.061    0.021
$this->x++         0.102    0.063
$this->x--         0.100    0.060
isset($this->x)    0.089    0.049
empty($this->x)    0.076    0.036
$this->f()         0.123    0.083
$x = Foo::TEST     0.099    0.059
new Foo()          0.248    0.208
$x = TEST          0.060    0.021
$x = $_GET         0.103    0.063
$x = $GLOBALS['v'] 0.148    0.108
$x = $hash['v']    0.030    -0.010
$x = $str[0]       0.029    -0.010
$x = $a ?: null    0.026    -0.014
$x = $f ?: tmp     0.028    -0.012
$x = $f ? $f : $a  0.026    -0.013
$x = $f ? $f : tmp 0.027    -0.013
------------------------
Total              2.673
real: 2.74s user: 2.69s sys: 0.04s cpu: 99% maxmem: 36644 KB cswaits: 2

php -d opcache.enable_cli=1 -f /var/www/http2.domain.com/htdocs/micro_bench.php
empty_loop         0.034
func()             0.025    -0.009
undef_func()       0.028    -0.005
int_func()         0.063    0.029
$x = self::$x      0.148    0.114
self::$x = 0       0.097    0.063
isset(self::$x)    0.100    0.067
empty(self::$x)    0.090    0.057
$x = Foo::$x       0.071    0.037
Foo::$x = 0        0.069    0.035
isset(Foo::$x)     0.047    0.013
empty(Foo::$x)     0.051    0.017
self::f()          0.024    -0.010
Foo::f()           0.030    -0.004
$x = $this->x      0.070    0.036
$this->x = 0       0.051    0.017
$this->x += 2      0.102    0.068
++$this->x         0.068    0.034
--$this->x         0.067    0.034
$this->x++         0.083    0.049
$this->x--         0.074    0.040
isset($this->x)    0.071    0.037
empty($this->x)    0.079    0.045
$this->f()         0.130    0.096
$x = Foo::TEST     0.150    0.116
new Foo()          0.304    0.270
$x = TEST          0.080    0.046
$x = $_GET         0.100    0.066
$x = $GLOBALS['v'] 0.141    0.107
$x = $hash['v']    0.025    -0.009
$x = $str[0]       0.028    -0.006
$x = $a ?: null    0.025    -0.008
$x = $f ?: tmp     0.027    -0.007
$x = $f ? $f : $a  0.028    -0.006
$x = $f ? $f : tmp 0.026    -0.008
------------------------
Total              2.606
real: 2.66s user: 2.63s sys: 0.03s cpu: 99% maxmem: 36492 KB cswaits: 3

php -d opcache.enable_cli=1 -f /var/www/http2.domain.com/htdocs/micro_bench.php
empty_loop         0.055
func()             0.052    -0.003
undef_func()       0.049    -0.006
int_func()         0.048    -0.006
$x = self::$x      0.114    0.059
self::$x = 0       0.149    0.094
isset(self::$x)    0.091    0.036
empty(self::$x)    0.098    0.043
$x = Foo::$x       0.080    0.025
Foo::$x = 0        0.068    0.013
isset(Foo::$x)     0.046    -0.008
empty(Foo::$x)     0.051    -0.004
self::f()          0.028    -0.026
Foo::f()           0.024    -0.030
$x = $this->x      0.069    0.014
$this->x = 0       0.045    -0.010
$this->x += 2      0.110    0.055
++$this->x         0.090    0.036
--$this->x         0.096    0.041
$this->x++         0.092    0.038
$this->x--         0.095    0.040
isset($this->x)    0.069    0.015
empty($this->x)    0.074    0.020
$this->f()         0.115    0.061
$x = Foo::TEST     0.094    0.039
new Foo()          0.252    0.198
$x = TEST          0.059    0.004
$x = $_GET         0.116    0.062
$x = $GLOBALS['v'] 0.214    0.159
$x = $hash['v']    0.034    -0.020
$x = $str[0]       0.035    -0.020
$x = $a ?: null    0.035    -0.020
$x = $f ?: tmp     0.025    -0.030
$x = $f ? $f : $a  0.024    -0.031
$x = $f ? $f : tmp 0.024    -0.031
------------------------
Total              2.721
real: 2.78s user: 2.75s sys: 0.02s cpu: 99% maxmem: 36396 KB cswaits: 3

micro_bench.php results from 3 runs
2.673
2.606
2.721

webinoly micro_bench.php avg : 2.6667
[webinoly opcache.enable_cli=1] Avg: real: 2.73s user: 2.69s sys: 0.03s cpu: 99.00% maxmem: 36510.67KB cswaits: 2.67
webinoly opcache.enable_cli=1 micro_bench.php (phpext=59) runtime-min: 2.606 runtime-avg: 2.667 runtime-max: 2.721 runtime-stddev: 0.058 real: 2.73s user: 2.69s sys: 0.03s cpu: 99.00% maxmem: 36510.67KB
[webinoly] created results log at /home/lxcsh-phpbench-logs/bench_160618-101541.log

php -d opcache.enable_cli=1 -f /var/www/http2.domain.com/htdocs/bench.php
simple             0.011
simplecall         0.006
simpleucall        0.006
simpleudcall       0.006
mandel             0.034
mandel2            0.056
ackermann(7)       0.024
ary(50000)         0.006
ary2(50000)        0.005
ary3(2000)         0.049
fibo(30)           0.079
hash1(50000)       0.012
hash2(500)         0.011
heapsort(20000)    0.025
matrix(20)         0.026
nestedloop(12)     0.021
sieve(30)          0.011
strcat(200000)     0.005
------------------------
Total              0.392
real: 0.46s user: 0.41s sys: 0.03s cpu: 98% maxmem: 42856 KB cswaits: 2

php -d opcache.enable_cli=1 -f /var/www/http2.domain.com/htdocs/bench.php
simple             0.009
simplecall         0.007
simpleucall        0.006
simpleudcall       0.005
mandel             0.030
mandel2            0.046
ackermann(7)       0.020
ary(50000)         0.006
ary2(50000)        0.006
ary3(2000)         0.047
fibo(30)           0.066
hash1(50000)       0.013
hash2(500)         0.012
heapsort(20000)    0.027
matrix(20)         0.039
nestedloop(12)     0.032
sieve(30)          0.010
strcat(200000)     0.005
------------------------
Total              0.385
real: 0.45s user: 0.40s sys: 0.04s cpu: 98% maxmem: 42664 KB cswaits: 3

php -d opcache.enable_cli=1 -f /var/www/http2.domain.com/htdocs/bench.php
simple             0.010
simplecall         0.005
simpleucall        0.005
simpleudcall       0.005
mandel             0.033
mandel2            0.048
ackermann(7)       0.020
ary(50000)         0.006
ary2(50000)        0.005
ary3(2000)         0.059
fibo(30)           0.072
hash1(50000)       0.013
hash2(500)         0.010
heapsort(20000)    0.025
matrix(20)         0.033
nestedloop(12)     0.025
sieve(30)          0.013
strcat(200000)     0.005
------------------------
Total              0.391
real: 0.45s user: 0.42s sys: 0.02s cpu: 98% maxmem: 42656 KB cswaits: 3

bench.php results from 3 runs
0.392
0.385
0.391

webinoly bench.php avg : 0.3893
[webinoly opcache.enable_cli=1] Avg: real: 0.45s user: 0.41s sys: 0.03s cpu: 98.00% maxmem: 42725.33KB cswaits: 2.67
webinoly opcache.enable_cli=1 bench.php (phpext=59) runtime-min: 0.385 runtime-avg: 0.389 runtime-max: 0.392 runtime-stddev: 0.004 real: 0.45s user: 0.41s sys: 0.03s cpu: 98.00% maxmem: 42725.33KB
[webinoly] created results log at /home/lxcsh-phpbench-logs/bench_160618-101551.log
centos75-2-no-pgo              opcache.enable_cli=0  micro_bench.php  (phpext=66)  runtime-min:  3.347  runtime-avg:  3.424  runtime-max:  3.478  runtime-stddev:  0.068  real:  3.49s  user:  3.46s  sys:  0.01s  cpu:  99.00%  maxmem:  32797.33KB
centos75-2-pgo                 opcache.enable_cli=0  micro_bench.php  (phpext=66)  runtime-min:  3.404  runtime-avg:  3.427  runtime-max:  3.474  runtime-stddev:  0.040  real:  3.49s  user:  3.44s  sys:  0.03s  cpu:  99.00%  maxmem:  33442.67KB
easyengine-ubuntu1604          opcache.enable_cli=0  micro_bench.php  (phpext=58)  runtime-min:  3.893  runtime-avg:  3.987  runtime-max:  4.145  runtime-stddev:  0.137  real:  4.04s  user:  4.00s  sys:  0.02s  cpu:  99.00%  maxmem:  33744.00KB
oneinstack-ubuntu16-nginx      opcache.enable_cli=0  micro_bench.php  (phpext=52)  runtime-min:  3.467  runtime-avg:  3.524  runtime-max:  3.568  runtime-stddev:  0.052  real:  3.56s  user:  3.53s  sys:  0.01s  cpu:  99.00%  maxmem:  24934.67KB
oneinstack-ubuntu16-openresty  opcache.enable_cli=0  micro_bench.php  (phpext=52)  runtime-min:  3.473  runtime-avg:  3.522  runtime-max:  3.557  runtime-stddev:  0.044  real:  3.56s  user:  3.51s  sys:  0.02s  cpu:  99.00%  maxmem:  24944.00KB
vestacp-ubuntu1604             opcache.enable_cli=0  micro_bench.php  (phpext=52)  runtime-min:  4.004  runtime-avg:  4.264  runtime-max:  4.674  runtime-stddev:  0.359  real:  4.31s  user:  4.24s  sys:  0.02s  cpu:  99.00%  maxmem:  27342.67KB
webinoly                       opcache.enable_cli=0  micro_bench.php  (phpext=59)  runtime-min:  3.393  runtime-avg:  3.435  runtime-max:  3.516  runtime-stddev:  0.070  real:  3.49s  user:  3.45s  sys:  0.02s  cpu:  99.00%  maxmem:  34518.67KB

centos75-2-no-pgo              opcache.enable_cli=0  bench.php  (phpext=66)  runtime-min:  0.668  runtime-avg:  0.683  runtime-max:  0.696  runtime-stddev:  0.014  real:  0.75s  user:  0.71s  sys:  0.03s  cpu:  99.00%  maxmem:  38786.67KB
centos75-2-pgo                 opcache.enable_cli=0  bench.php  (phpext=66)  runtime-min:  0.718  runtime-avg:  0.761  runtime-max:  0.790  runtime-stddev:  0.038  real:  0.83s  user:  0.79s  sys:  0.02s  cpu:  98.67%  maxmem:  39509.33KB
easyengine-ubuntu1604          opcache.enable_cli=0  bench.php  (phpext=58)  runtime-min:  0.736  runtime-avg:  0.766  runtime-max:  0.807  runtime-stddev:  0.037  real:  0.82s  user:  0.79s  sys:  0.02s  cpu:  98.67%  maxmem:  40010.67KB
oneinstack-ubuntu16-nginx      opcache.enable_cli=0  bench.php  (phpext=52)  runtime-min:  0.688  runtime-avg:  0.693  runtime-max:  0.697  runtime-stddev:  0.005  real:  0.73s  user:  0.70s  sys:  0.01s  cpu:  99.00%  maxmem:  31138.67KB
oneinstack-ubuntu16-openresty  opcache.enable_cli=0  bench.php  (phpext=52)  runtime-min:  0.700  runtime-avg:  0.723  runtime-max:  0.760  runtime-stddev:  0.033  real:  0.75s  user:  0.73s  sys:  0.01s  cpu:  99.00%  maxmem:  31269.33KB
vestacp-ubuntu1604             opcache.enable_cli=0  bench.php  (phpext=52)  runtime-min:  0.688  runtime-avg:  0.752  runtime-max:  0.785  runtime-stddev:  0.055  real:  0.79s  user:  0.76s  sys:  0.02s  cpu:  99.00%  maxmem:  33365.33KB
webinoly                       opcache.enable_cli=0  bench.php  (phpext=59)  runtime-min:  0.666  runtime-avg:  0.703  runtime-max:  0.722  runtime-stddev:  0.032  real:  0.76s  user:  0.73s  sys:  0.02s  cpu:  98.67%  maxmem:  40486.67KB

centos75-2-no-pgo              opcache.enable_cli=1  micro_bench.php  (phpext=66)  runtime-min:  2.449  runtime-avg:  2.533  runtime-max:  2.646  runtime-stddev:  0.102  real:  2.61s  user:  2.57s  sys:  0.02s  cpu:  99.00%  maxmem:  35385.33KB
centos75-2-pgo                 opcache.enable_cli=1  micro_bench.php  (phpext=66)  runtime-min:  2.425  runtime-avg:  2.515  runtime-max:  2.582  runtime-stddev:  0.081  real:  2.58s  user:  2.54s  sys:  0.02s  cpu:  99.00%  maxmem:  36042.67KB
easyengine-ubuntu1604          opcache.enable_cli=1  micro_bench.php  (phpext=58)  runtime-min:  3.597  runtime-avg:  3.780  runtime-max:  4.029  runtime-stddev:  0.223  real:  3.86s  user:  3.80s  sys:  0.04s  cpu:  99.00%  maxmem:  42832.00KB
oneinstack-ubuntu16-nginx      opcache.enable_cli=1  micro_bench.php  (phpext=52)  runtime-min:  2.540  runtime-avg:  2.606  runtime-max:  2.711  runtime-stddev:  0.092  real:  2.64s  user:  2.61s  sys:  0.02s  cpu:  99.00%  maxmem:  27916.00KB
oneinstack-ubuntu16-openresty  opcache.enable_cli=1  micro_bench.php  (phpext=52)  runtime-min:  2.596  runtime-avg:  2.699  runtime-max:  2.896  runtime-stddev:  0.171  real:  2.74s  user:  2.70s  sys:  0.02s  cpu:  99.00%  maxmem:  28038.67KB
vestacp-ubuntu1604             opcache.enable_cli=1  micro_bench.php  (phpext=52)  runtime-min:  3.563  runtime-avg:  3.642  runtime-max:  3.692  runtime-stddev:  0.069  real:  3.70s  user:  3.64s  sys:  0.03s  cpu:  99.00%  maxmem:  36228.00KB
webinoly                       opcache.enable_cli=1  micro_bench.php  (phpext=59)  runtime-min:  2.606  runtime-avg:  2.667  runtime-max:  2.721  runtime-stddev:  0.058  real:  2.73s  user:  2.69s  sys:  0.03s  cpu:  99.00%  maxmem:  36510.67KB

centos75-2-no-pgo              opcache.enable_cli=1  bench.php  (phpext=66)  runtime-min:  0.384  runtime-avg:  0.405  runtime-max:  0.421  runtime-stddev:  0.019  real:  0.47s  user:  0.43s  sys:  0.03s  cpu:  98.00%  maxmem:  41725.33KB
centos75-2-pgo                 opcache.enable_cli=1  bench.php  (phpext=66)  runtime-min:  0.363  runtime-avg:  0.381  runtime-max:  0.395  runtime-stddev:  0.017  real:  0.46s  user:  0.42s  sys:  0.03s  cpu:  98.33%  maxmem:  42558.67KB
easyengine-ubuntu1604          opcache.enable_cli=1  bench.php  (phpext=58)  runtime-min:  0.637  runtime-avg:  0.657  runtime-max:  0.670  runtime-stddev:  0.018  real:  0.73s  user:  0.69s  sys:  0.04s  cpu:  99.00%  maxmem:  49228.00KB
oneinstack-ubuntu16-nginx      opcache.enable_cli=1  bench.php  (phpext=52)  runtime-min:  0.416  runtime-avg:  0.456  runtime-max:  0.487  runtime-stddev:  0.036  real:  0.50s  user:  0.47s  sys:  0.02s  cpu:  99.00%  maxmem:  34542.67KB
oneinstack-ubuntu16-openresty  opcache.enable_cli=1  bench.php  (phpext=52)  runtime-min:  0.423  runtime-avg:  0.432  runtime-max:  0.439  runtime-stddev:  0.008  real:  0.47s  user:  0.45s  sys:  0.01s  cpu:  98.33%  maxmem:  34428.00KB
vestacp-ubuntu1604             opcache.enable_cli=1  bench.php  (phpext=52)  runtime-min:  0.632  runtime-avg:  0.709  runtime-max:  0.796  runtime-stddev:  0.082  real:  0.76s  user:  0.73s  sys:  0.02s  cpu:  98.67%  maxmem:  42580.00KB
webinoly                       opcache.enable_cli=1  bench.php  (phpext=59)  runtime-min:  0.385  runtime-avg:  0.389  runtime-max:  0.392  runtime-stddev:  0.004  real:  0.45s  user:  0.41s  sys:  0.03s  cpu:  98.00%  maxmem:  42725.33KB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.