php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
bench.php File Reference

Go to the source code of this file.

Functions

if(function_exists("date_default_timezone_set")) simple ()
 
 simplecall ()
 
 hallo ($a)
 
 simpleucall ()
 
 simpleudcall ()
 
 hallo2 ($a)
 
 mandel ()
 
 mandel2 ()
 
 Ack ($m, $n)
 
 ackermann ($n)
 
 ary ($n)
 
 ary2 ($n)
 
 ary3 ($n)
 
 fibo_r ($n)
 
 fibo ($n)
 
 hash1 ($n)
 
 hash2 ($n)
 
 gen_random ($n)
 
 heapsort_r ($n, &$ra)
 
 heapsort ($N)
 
 mkmatrix ($rows, $cols)
 
 mmult ($rows, $cols, $m1, $m2)
 
 matrix ($n)
 
 nestedloop ($n)
 
 sieve ($n)
 
 strcat ($n)
 
 gethrtime ()
 
 start_test ()
 
 end_test ($start, $name)
 
 total ()
 

Variables

 $t0 = $t = start_test()
 
 $t = end_test($t, "simple")
 

Function Documentation

◆ Ack()

Ack ( $m,
$n )

Definition at line 99 of file bench.php.

◆ ackermann()

ackermann ( $n)

Definition at line 105 of file bench.php.

◆ ary()

ary ( $n)

Definition at line 112 of file bench.php.

◆ ary2()

ary2 ( $n)

Definition at line 125 of file bench.php.

◆ ary3()

ary3 ( $n)

Definition at line 158 of file bench.php.

◆ end_test()

end_test ( $start,
$name )

Definition at line 360 of file bench.php.

◆ fibo()

fibo ( $n)

Definition at line 178 of file bench.php.

◆ fibo_r()

fibo_r ( $n)

Definition at line 174 of file bench.php.

◆ gen_random()

gen_random ( $n)

Definition at line 213 of file bench.php.

◆ gethrtime()

gethrtime ( )

Definition at line 348 of file bench.php.

◆ hallo()

hallo ( $a)

Definition at line 25 of file bench.php.

◆ hallo2()

hallo2 ( $a)

Definition at line 40 of file bench.php.

◆ hash1()

hash1 ( $n)

Definition at line 185 of file bench.php.

◆ hash2()

hash2 ( $n)

Definition at line 198 of file bench.php.

◆ heapsort()

heapsort ( $N)

Definition at line 250 of file bench.php.

◆ heapsort_r()

heapsort_r ( $n,
& $ra )

Definition at line 218 of file bench.php.

◆ mandel()

mandel ( )

Definition at line 45 of file bench.php.

◆ mandel2()

mandel2 ( )

Definition at line 85 of file bench.php.

◆ matrix()

matrix ( $n)

Definition at line 292 of file bench.php.

◆ mkmatrix()

mkmatrix ( $rows,
$cols )

Definition at line 267 of file bench.php.

◆ mmult()

mmult ( $rows,
$cols,
$m1,
$m2 )

Definition at line 278 of file bench.php.

◆ nestedloop()

nestedloop ( $n)

Definition at line 304 of file bench.php.

◆ sieve()

sieve ( $n)

Definition at line 318 of file bench.php.

◆ simple()

if(function_exists("date_default_timezone_set")) simple ( )

Definition at line 6 of file bench.php.

◆ simplecall()

simplecall ( )

Definition at line 18 of file bench.php.

◆ simpleucall()

simpleucall ( )

Definition at line 28 of file bench.php.

◆ simpleudcall()

simpleudcall ( )

Definition at line 35 of file bench.php.

◆ start_test()

start_test ( )

Definition at line 354 of file bench.php.

◆ strcat()

strcat ( $n)

Definition at line 337 of file bench.php.

◆ total()

total ( )

Definition at line 374 of file bench.php.

Variable Documentation

◆ $t

hashtables $t = end_test($t, "simple")

Definition at line 386 of file bench.php.

◆ $t0

$t0 = $t = start_test()

Definition at line 384 of file bench.php.