Open
Description
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)