LGV_TZ_Lookup 1.4.2
Time zone lookup for PHP applications and HTTP clients
Loading...
Searching...
No Matches
benchmark.php File Reference

Go to the source code of this file.

Variables

 $cases
if(isset($options['fixture']) &&!isset($options['build']) &&!is_file($options['fixture'])) $createDatabase
 $database
 $expectedResults
 $failures
for($i=0; $i<(int)($options['random'] ?? 0);++$i) $lookup
 $maxExtra
 $maxReserved
 $maxUsage
 $options
 $results
for($run=0; $run< max(1,(int)($options['runs'] ?? 3));++$run) $seconds
 $slowest
if(count(array_intersect(['fixture', 'mysql', 'pgsql'], array_keys($options))) !==1) $source
 $start
 $times
 if (isset( $options[ 'build']))
 if (isset( $options[ 'results']))

Variable Documentation

◆ $cases

$cases

Definition at line 67 of file benchmark.php.

◆ $createDatabase

if (isset( $options[ 'fixture']) &&!isset( $options[ 'build']) &&!is_file( $options[ 'fixture'])) $createDatabase

Definition at line 22 of file benchmark.php.

◆ $database

$database

Definition at line 35 of file benchmark.php.

◆ $expectedResults

$expectedResults

Definition at line 76 of file benchmark.php.

◆ $failures

$failures

Definition at line 79 of file benchmark.php.

Referenced by test_server(), and DemoSourceGeometry\validateStorage().

◆ $lookup

for ( $i=0;$i<(int)( $options[ 'random'] ?? 0);++ $i) $lookup ( )

Definition at line 75 of file benchmark.php.

◆ $maxExtra

$maxExtra

Definition at line 80 of file benchmark.php.

◆ $maxReserved

$maxReserved

Definition at line 82 of file benchmark.php.

◆ $maxUsage

$maxUsage

Definition at line 81 of file benchmark.php.

◆ $options

$options

Definition at line 9 of file benchmark.php.

◆ $results

$results

Definition at line 78 of file benchmark.php.

◆ $seconds

for ( $run=0;$run< max(1,(int)( $options[ 'runs'] ?? 3));++ $run) $seconds ( )

Definition at line 117 of file benchmark.php.

Referenced by demoPrintMetrics().

◆ $slowest

$slowest

Definition at line 83 of file benchmark.php.

◆ $source

if (count(array_intersect([ 'fixture', 'mysql', 'pgsql'], array_keys( $options))) !==1) $source

Definition at line 14 of file benchmark.php.

◆ $start

$start

Definition at line 84 of file benchmark.php.

Referenced by demoCleanup(), and demoTiming().

◆ $times

$times

Definition at line 77 of file benchmark.php.

◆ if [1/2]

if(isset($options['build'])) ( isset( $options[ 'build']) )

Definition at line 36 of file benchmark.php.

◆ if [2/2]

if(isset($options['results'])) ( isset( $options[ 'results']) )

Definition at line 120 of file benchmark.php.