summaryrefslogtreecommitdiff
path: root/buildscripts/Benchmark/doc
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2016-02-29 22:47:02 +0100
committerFabio Bas <ctrlaltca@gmail.com>2016-03-29 17:40:15 +0200
commitc0627c7a5e3bd343d0b33bf0b3a37639c5f33885 (patch)
tree7a54c5ba2a3d7e4ef0b0a620cc1374da07687fc6 /buildscripts/Benchmark/doc
parentdc76cfdcf0521552667d44395a2290a5c8e48281 (diff)
Dropped unused benchmark script
Diffstat (limited to 'buildscripts/Benchmark/doc')
-rw-r--r--buildscripts/Benchmark/doc/timer_example.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/buildscripts/Benchmark/doc/timer_example.php b/buildscripts/Benchmark/doc/timer_example.php
deleted file mode 100644
index ff9de936..00000000
--- a/buildscripts/Benchmark/doc/timer_example.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-require '../Timer.php';
-
-function wait($amount) {
- for ($i=0; $i < $amount; $i++) {
- for ($i=0; $i < 100; $i++);
- }
-}
-// Pass the param "true" to constructor to automatically display the results
-$timer = new Benchmark_Timer();
-$timer->start();
-wait(10);
-$timer->setMarker('Mark1');
-echo "Elapsed time between Start and Mark1: " .
- $timer->timeElapsed('Start', 'Mark1') . "\n";
-wait(50);
-$timer->stop();
-$timer->display();