Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.

Benchmarks #6

Open
c-emil opened this issue Feb 17, 2021 · 1 comment
Open

Benchmarks #6

c-emil opened this issue Feb 17, 2021 · 1 comment

Comments

@c-emil
Copy link

c-emil commented Feb 17, 2021

Hi and thanks for the effort you're putting into this! This looks like a promising addon and I'm already looking forward to seeing a production version of the addon. I wanted to ask whether you have some benchmark data available? How much faster is the build time using ember-cli with your addon compared to the classic build with babel? Thanks a lot.

@alexlafroscia
Copy link
Owner

Thanks for the comment! Unfortunately, I have no idea how much faster this really is.

The road to making this easily usable is, most likely, going to be tied to Embroider.

ember-auto-import requires that the code is processed by Babel, so at best all this addon would allow you to do is avoid processing your code with Babel twice; it'll still need to be run at least once.

Additionally, the @ember/* imports are all re-written using Babel internally, though I'm not sure if that requires fully processing the files again with Babel, or if something more performant is done there.

At this point, I don't believe that this addon works with ember-auto-import and until we can get that resolved, I'm not investing too heavily here 😕

Once I have some information, though, I'll be sure to update this thread!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants