A
A
Alexander2014-03-31 15:12:27
1C-Bitrix
Alexander, 2014-03-31 15:12:27

How to improve Symfony2 page generation speed?

The page is generated in about 600ms, with only me visiting the site. There are 7 requests to the database - but they do not take much time.
Memory usage 23.0 / 128.0 MB I

compare with Bitrix - the page is generated in 300 ms. (we visit the site, 17 queries to the database).

Sites work on one VPS (512 MB of memory 2 * 2.7 percent, hosting - Timeweb)

I need to try to achieve at least the same results as on Bitrix, but it's better to increase the generation speed even more.

How to speed up Symfony2? What is the page generation speed of your sites? I would like to know what to look for.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2014-03-31
Protko @Fesor

my requests usually work out within ~ 100-400ms, depending on what happens inside (usually heavy requests eat up a lot and calling controllers (through the render function in twig) from templates (which I usually cache).
Your site definitely does not work with enabled debug and in prod
?

A
Alexander, 2014-04-02
@neokortex

Definitely not in a prod environment.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question