Closed nikgraf closed 8 years ago
Holy hell what is in that user-bundle
?
@mxstbr all the webpack, hot-reloading, all libraries, the app, inline source maps (all uncompressed)
all uncompressed
That sounds like something we can change?
@mxstbr yeah, that might help a bit on the other hand it will slow down recompiling with hot reloading afaik - will need some perf testing
Until now we both parts where part of the client and just determined on a condition.
The idea here is for once to have cleaner setup, but also to improve the execution time. Unfortunately this will bring just save us around 50 milliseconds per iFrame (on my machine).
Previous loading results with client & iframe client combined:
Loading results with client & iframe client being separate:
The big chunk definitely is the user-bundle with the app inside taking up around 700milliseconds to evaluate:
Even in our dev example the file-size of the user-bundle is already quite large with 9.6 MB