 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
peggylon
Joined: 13 Sep 2006 Posts: 1 Location: Berlin
|
Posted: Wed Sep 13, 2006 5:59 pm Post subject: Apache being killed when benchmarking |
|
|
Hello,
in a project I am using PEAR: B and PEAR::CACHE_LITE without trouble. When it comes to benchmarking, though Apache complains and shuts down. There is no error message explaining exactly what's wrong. At least I don't understand details...
I'm running the app on a WAMP system (XAMPP on WindowsXP).
that's the code:
| Code: |
<?php
require_once ("Benchmark/Timer.php");
$timer = new Benchmark_Timer;
$timer->setMarker("start");
//....more stuff here
$timer->setMarker("point1");
//....more stuff here
$timer->setMarker("point2");
//....more stuff here
$timer->setMarker("end");
print $timer->timeElapsed("start","point1");
print $timer->timeElapsed("point1","point2");
print $timer->timeElapsed("point2","end");
?>
|
Sometimes it did it but most of the times Apache crached....
What could be the reason for this strange behaviour? _________________ ~peggylon~ |
|
| Back to top |
|
 |
domins
Joined: 26 Feb 2010 Posts: 1
|
|
| Back to top |
|
 |
giantmonster
Joined: 05 Mar 2010 Posts: 2
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|