V
V
Vampiro2012-09-15 18:13:45
symfony
Vampiro, 2012-09-15 18:13:45

For how much do you "going" symfony2.1?

I raised the virtual machine, put ubuntu, lamp, everything else there, put the “naked” symphony2.1 + FOSUser, put
the freshly squeezed bundle into the “empty” controller:

xdebug_enable();<br>
$start =  xdebug_time_index();<br>

I get "0.14433002471924" (± 0.06)
This is the same time that passed "before" the execution of my hellish code in the body of the controller.
With my brain, I understand that this is a virtual machine, and that the cache is file, but still, what is the “real” figure you have on an average server?
0.144 sec. give it to the assembly ... I can’t :(

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sirian, 2012-09-17
@Vampiro

with APC, the total running time of the script ($start = microtime(true) at the very beginning of app.php and echo microtime(true) - $start at the very end) is approximately 0.02s.
without APC - 0.10-0.12

A
Alexey Akulovich, 2012-09-15
@AterCattus

Look in xdebug or xhprof to see what time is running out. It is possible that this is a normal start time.

C
cronfy, 2012-09-15
@cronfy

Install the accelerator. APC or eAccelerator for example.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question