Archived
1
0
Fork 0
This commit is contained in:
Fredric N 2010-09-19 16:08:43 +02:00
parent d648d58628
commit 359e42a44b
19 changed files with 260 additions and 28 deletions

View file

@ -12,6 +12,11 @@ class IndexController extends Fiktiv_Controller_Action
$me = $this->dataService->User->findRandom();
echo $me;
$r = Fiktiv_Performance::benchmark(array('IndexController','test'));
echo '<pre>';
print_r($r);
echo '</pre>';
}
public function aboutAction()
@ -24,4 +29,12 @@ class IndexController extends Fiktiv_Controller_Action
echo $me;
}
public function test()
{
$r = rand(100,999);
for ($i=0;$i<$r;$i++) {
$s = $i+$i;
}
}
}