ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 3 replies, has 3 voices, and was last updated by  Benoit 3 years, 5 months ago.

  • Creator
    Topic
  • #2197
    alanstorm
    alanstorm
    Participant

    As an exercise, I dropped the following in the bottom of `app.php`

    and discovered there’s over 2000 PHP files loaded for a dashboard request.

    Are there any (sharable) plans for a performance optimizations before or after the 1.0 launch that would reduce the number of PHP files per request? Or should we be planning our deployment architecture to handle this sort of usage pattern by PHP/OroCRM?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #2199
    Dima Soroka
    Dima Soroka
    Oro Core

    Hi Alan

    Thanks for your post. We are aware of some performance issues and planning to work on them before GA release. One big issue that we currently have related to services usage in twig extensions. Because twig extensions initialized on every request it cause all related services instantiation.

    Please share with us any of your findings, it definitely helps to make platform better.

    #2365
    alanstorm
    alanstorm
    Participant

    I didn’t research extensively, but the only other thing that immediately pops out is there’s over 640 files pulled from the

    folder for a single dashboard page request. I’m not familiar enough with Doctrine’s inner workings to know if there’s anything that can/should be done to help with that.

    #2416

    Benoit
    Oro Core

    Hi Alan,

    You can try to enable APC cache for Doctrine cache in the app/config/config_prod.yml file (and test in prod mode of course). It’s currently commented in the CRM application so there’s maybe some reasons I’m not aware of, but we are using it on our side (Akeneo) without any problem:
    https://github.com/akeneo/pim-community-standard/blob/master/app/config/config_prod.yml

    Regards,

    Benoit

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.