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
I have also the problem with a slow build with yarn dev-server.
I believe it's the same or similar to #476 and #662 ...
Based on this two issues and the feedback of Lyrkan, I make a really simple reproducer (also with my events.json from ProfilingPlugin): https://github.com/urkob/slow_encore
It's that normal, that for so a relativ simple setup with a small admin template, the build time is around 12 or 13 seconds? When you say yes, it's okay. But when a project is growing...
On my current project with this similar setup with 4 entrypoints (only one with the admin template) it needs 20 seconds.
Let me know if you need more information.
Thanks.
The text was updated successfully, but these errors were encountered:
Your build time doesn't strike me as really odd though.
You have a full React + Material UI app there, which involves a lot of modules and files to read/parse/...
It doesn't really matter if you only have a few screens, the "big" dependencies you use have to be processed anyway.
You could probably gain some time by disabling source maps or changing their type (they currently account for 1/5th of your build time based on the events.json file) but you'll have to weight the pros and cons before doing so.
Also your screenshot only shows the first build, the next ones (for that same command) should probably be faster.
Hi guys
I have also the problem with a slow build with
yarn dev-server
.I believe it's the same or similar to #476 and #662 ...
Based on this two issues and the feedback of Lyrkan, I make a really simple reproducer (also with my events.json from ProfilingPlugin): https://github.com/urkob/slow_encore
It's that normal, that for so a relativ simple setup with a small admin template, the build time is around 12 or 13 seconds? When you say yes, it's okay. But when a project is growing...
On my current project with this similar setup with 4 entrypoints (only one with the admin template) it needs 20 seconds.
Let me know if you need more information.
Thanks.
The text was updated successfully, but these errors were encountered: