Performance Computer10

Created by: Lester Caine, Last modification: 21 October 2011

Testing PHP version: 5.3.8
on machine 19.0.0.10
-----------------------------------
empty_loop 0.439
func() 1.623 1.184
undef_func() 1.691 1.252
int_func() 1.355 0.916
$x = self::$x 1.104 0.664
self::$x = 0 1.095 0.655
isset(self::$x) 1.077 0.637
empty(self::$x) 1.098 0.658
$x = Foo::$x 2.186 1.746
Foo::$x = 0 2.133 1.693
isset(Foo::$x) 2.142 1.703
empty(Foo::$x) 2.143 1.703
self::f() 2.727 2.288
Foo::f() 3.556 3.117
$x = $this->x 1.112 0.672
$this->x = 0 1.272 0.833
$this->x += 2 1.077 0.637
++$this->x 1.010 0.571
--$this->x 1.016 0.577
$this->x++ 1.089 0.649
$this->x-- 1.086 0.646
isset($this->x) 1.068 0.628
empty($this->x) 1.121 0.682
$this->f() 2.612 2.173
$x = Foo::TEST 1.002 0.563
new Foo() 4.533 4.093
$x = TEST 0.935 0.496
$x = $_GET 0.956 0.516
$x = $GLOBALS['v'] 1.325 0.886
$x = $hash['v'] 0.931 0.491
$x = $str[0] 1.568 1.128
$x = $a ?: null 5.020 4.580
$x = $f ?: tmp 0.899 0.460
$x = $f ? $f : $a 5.096 4.657
$x = $f ? $f : tmp 0.902 0.462
------------------------
Total 59.997