Closed
Description
PR #664 causes huge performance regressions, earlier the class list was cached (using apcu or php files adapter), it isn't anymore. I initially thought it was due to the changes in symfony-bundle (thecodingmachine/graphqlite-bundle#203 (comment)) but apparently the problem lies within the main repo.
See the difference here
Before (with graphqlite using thecodingmachine/class-explorer)
After (with latest graphqlite)
As you can see, earlier it was a 1 or 2 seconds for each request (see the main request and the ajax requests), now it is at least 45 seconds for each request.
I profiled it with xdebug and the regression comes from ComposerFinder (the second column shows time in seconds)
Metadata
Metadata
Assignees
Labels
No labels