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
According to XDebug profiling Magento2 calls preg_match() and
preg_quote() unreasonable amount of times during static content deploy.
I've debugged it and found root cause. This is current algorithm:
1. Get list of all modules
2. Get array of all files in all modules
3. Now try to guess which file belongs to which module by using dynamic
regex: preg_quote(), preg_match()
I've refactored it to avoid mixing all files in one array and then
splitting again. Quite simple fix.
0 commit comments