Proxy generation requires a lot of I/O as well as heavy usage of reflection
and `eval()`, which also means that you can't benefit from opcode cache
optimizations.

It is not a good idea to auto-generate proxies in production.

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/


On 13 March 2014 20:40, Nima Sadjadi <[email protected]> wrote:

> Is there any reasons that proxies on production version should be as file
> rather than autogenerated like development version? Proxies as file are
> faster than autogenerated?
>
> --
> You received this message because you are subscribed to the Google Groups
> "doctrine-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/doctrine-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to