carteb / carte-blanche

An isolated development space with integrated fuzz testing for your components. See them individually, explore them in different states and quickly and confidently develop them.
https://www.youtube.com/watch?v=6g3-TQ6aaw8
MIT License
1.5k stars 47 forks source link

Speed up loading times of the iframes #330

Open nikgraf opened 8 years ago

nikgraf commented 8 years ago

One issue we have is that every iframe loads the iframe-client-bundle.js as well as the user-bundle.js.

The big chunk definitely is the user-bundle with the app inside taking up around 700milliseconds to evaluate:

screen shot 2016-06-12 at 08 07 15

Even in our dev example the file-size of the user-bundle is already quite large with 9.6 MB

user-bundle

There are several way we can try to tackle this:

First idea:

@jantimon @mxstbr @RStankov ideas?

nikgraf commented 8 years ago

btw find here the first improvement (splitting client into client & iframe-client): https://github.com/carteb/carte-blanche/pull/329