- 
    Bug 
- 
    Resolution: Fixed
- 
    Major 
- 
    3.1.5, 3.1.6-RC1
- 
    None
With the https://github.com/phpbb/phpbb/pull/2674 the feature to allow extensions adding custom autoloaders was added.
As far as it iterates all subfolders in the ext/ folder for every page load, and moreover for every avatar/attachment-image loaded on a single page (as the function is called within includes/file.php too), it has a big perfomance impact.
For me, it takes ~0.15 sec (measured with XDebug).
The result of iterating should be cached.
From IRC:
[14:26] Nicofuma: We could cache this result actually.
[14:26] rxu: would be very nice
[14:26] rxu: thanks
[14:26] Nicofuma: And generate a file in cache/autoload.php
- is duplicated by
- 
                    PHPBB-14275 Extension autoload.php is only included when compiling container -         
- Closed
 
-         
- was caused by solution of
- 
                    PHPBB-12784 Allow the extensions to add a custom auto loader -         
- Unverified Fix
 
-         

