You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Okapi\Aop\Core\AutoloadInterceptor\ClassLoader will check all files if they match the aspects, even if files under the vendor folder which won't need AOP most of time. This issue causes a long execution time when there is no cache yet.
By Adding an option to exclude files that don't need AOP could lower the execution time significantly.
Following is a simple test with postman (to run the same request 100 times with debug mode on and compare the avg resp time)
This one is the original code
This one is adding option to exclude paths (I exclude the vendor folder)
The text was updated successfully, but these errors were encountered:
Okapi\Aop\Core\AutoloadInterceptor\ClassLoader will check all files if they match the aspects, even if files under the vendor folder which won't need AOP most of time. This issue causes a long execution time when there is no cache yet.
By Adding an option to exclude files that don't need AOP could lower the execution time significantly.
Following is a simple test with postman (to run the same request 100 times with debug mode on and compare the avg resp time)
This one is the original code
This one is adding option to exclude paths (I exclude the vendor folder)
The text was updated successfully, but these errors were encountered: