Hi Fabien !

On 21 oct, 03:05, Fabian Lange <[email protected]>
wrote:
> Hi Roberto,
> I have a hard time understanding your numbers.
> You say you generate a benchmark file in the front controller which
> just writes how long the page took to load?
> Which unit is that time? Is it bad? Is there any change when invoking
> the pages a few more times?
> what are the specs of the system? is apc or similar on?

The intention is make a fast testing with tutorial Jobeet as guide.
That was the initial goal. Because i did start learn more about
Doctrine and i was testing my traducction to spanish.
Was a simple script for test my hosting, the cause of all this. And i
was think , will it work with symfony ?

Then use this script inside to benchmark.php

<?php
error_reporting("FATAL");

function time_start() {
global $starttime;
$mtime = microtime();
$mtime = explode(" ",$mtime);
$mtime = $mtime[1] + $mtime[0];
$starttime = $mtime;
}

function time_end() {
global $starttime;
$mtime = microtime();
$mtime = explode(" ",$mtime);
$mtime = $mtime[1] + $mtime[0];
$res = $mtime - $starttime;
$archivo = str_ireplace("/","_",$_SERVER['PHP_SELF'])."-".$res.".BMK";
$control = fopen($archivo,"w+");
return ($res);
}

time_start();
include_once 'frontend_dev.php';
echo time_end();
?>


I test this, with WAMP server (PHP 5.3, ...)  over windows XP. I don“t
have here at office, my Ubuntu :(
Of course, Firefox 3.5.X

I don't want use nothing more (enviorement PROD, or, APC, or caching)


> Or, what would symfony help more: find out what part of the respective
> pages is slow. For that you need additional profiling means like
> xdebug. Profilers can show hot spots where most time is spend and we
> can go for them to fix them

I put more result at http://www.puentesdiaz.com.ar/blog/?p=167  .
Today Zaninotto, a new Propel's developer. and send me Zipfile with
PROPEL 1.4.
Doctrine is more OO.
Propel is more simple.

That's the why, performances are different... I don't know... :D


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to