Lines Matching refs:overhead
253 function end_test($start, $name, $overhead = null) argument
263 if (is_null($overhead)) {
266 $num2 = number_format($last_time - $overhead,3);
288 $overhead = $last_time; variable
290 $t = end_test($t, 'func()', $overhead);
292 $t = end_test($t, 'undef_func()', $overhead);
294 $t = end_test($t, 'int_func()', $overhead);
296 $t = end_test($t, '$x = self::$x', $overhead);
298 $t = end_test($t, 'self::$x = 0', $overhead);
300 $t = end_test($t, 'isset(self::$x)', $overhead);
302 $t = end_test($t, 'empty(self::$x)', $overhead);
304 $t = end_test($t, '$x = Foo::$x', $overhead);
306 $t = end_test($t, 'Foo::$x = 0', $overhead);
308 $t = end_test($t, 'isset(Foo::$x)', $overhead);
310 $t = end_test($t, 'empty(Foo::$x)', $overhead);
312 $t = end_test($t, 'self::f()', $overhead);
314 $t = end_test($t, 'Foo::f()', $overhead);
317 $t = end_test($t, '$x = $this->x', $overhead);
319 $t = end_test($t, '$this->x = 0', $overhead);
321 $t = end_test($t, '$this->x += 2', $overhead);
323 $t = end_test($t, '++$this->x', $overhead);
325 $t = end_test($t, '--$this->x', $overhead);
327 $t = end_test($t, '$this->x++', $overhead);
329 $t = end_test($t, '$this->x--', $overhead);
331 $t = end_test($t, 'isset($this->x)', $overhead);
333 $t = end_test($t, 'empty($this->x)', $overhead);
335 $t = end_test($t, '$this->f()', $overhead);
337 $t = end_test($t, '$x = Foo::TEST', $overhead);
339 $t = end_test($t, 'new Foo()', $overhead);
341 $t = end_test($t, '$x = TEST', $overhead);
343 $t = end_test($t, '$x = $_GET', $overhead);
345 $t = end_test($t, '$x = $GLOBALS[\'v\']', $overhead);
347 $t = end_test($t, '$x = $hash[\'v\']', $overhead);
349 $t = end_test($t, '$x = $str[0]', $overhead);
351 $t = end_test($t, '$x = $a ?: null', $overhead);
353 $t = end_test($t, '$x = $f ?: tmp', $overhead);
355 $t = end_test($t, '$x = $f ? $f : $a', $overhead);
357 $t = end_test($t, '$x = $f ? $f : tmp', $overhead);