BFC
This commit is contained in:
parent
d648d58628
commit
359e42a44b
19 changed files with 260 additions and 28 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in a new issue