Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize Autloader #3

Open
infabo opened this issue Jul 1, 2016 · 1 comment
Open

Optimize Autloader #3

infabo opened this issue Jul 1, 2016 · 1 comment

Comments

@infabo
Copy link

infabo commented Jul 1, 2016

I have investigated, why this extension slows down Magento's page-rendering.
Now I have tracked it down to the Danslo_Aop_Model_Autoloader class.
Method loadClass is not cached in any way, so I experience about 200-300ms delay every pageload.

Seems like there is some caching needed (like the GO! AOP Autoloader does, but is not used in this custom autoloader here).
I'll think about it when I have some sparetime and probably return with a PR.

@infabo
Copy link
Author

infabo commented Aug 10, 2016

Update:
I have implemented a solution, unfortunately my it has a dependency to EcomDev_ComposerAutoload, because this is the autoloader I'm using for Magento 1.x projects right now.

See here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant