-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to Promise-based requirejs #19517
Upgrade to Promise-based requirejs #19517
Conversation
Hi @kirmorozov. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
Hi @kirmorozov , thanks for your contribution! For such fundamental changes an architectural approval is required. Can please create a pull request to https://github.com/magento/architecture describing your proposition. |
Hi, fellow, It does not change architecture outside requirejs, and requirejs-related internals. I'll handle issues with tests as soon as reproduce them locally. |
Hi @kirmorozov , I mean you are actually updating the library we are relying on |
jsbuild is doomed. |
We'll discuss more in the meeting (magento/architecture#47), but regarding the perf comment:
Do you have before/after traces you can share? Would be nice to see where the time was being spent. |
@magento-engcom-team give me test instance |
Hi @sivaschenko. Thank you for your request. I'm working on Magento instance for you |
Hi @sivaschenko, here is your new Magento instance. |
@magento-engcom-team give me test instance |
Hi @kirmorozov. Thank you for your request. I'm working on Magento instance for you |
Hi @kirmorozov can you please provide benchmark for this pull request as was requested on the architecture discussion meeting |
Hi @kirmorozov , I am closing this PR now due to inactivity. |
Hi @kirmorozov, thank you for your contribution! |
Description (*)
Changes introduce major performance upgrade for Front-end, removes extra computation and timeouts overhead.
These changes are upgrading requirejs internals with requirejs/alameda - Promise-based implementation.
*mostly compatible with original RequireJS.
In this PR incompatible changes are resolved.
Fixed Issues (if relevant)
Manual testing scenarios (*)
Changes must be at low level and compatible with most modules.
Contribution checklist (*)