On Tuesday, October 11, 2016 at 2:00:42 PM UTC+1, Rupert Smith wrote:
>
> Next up, run vulcanize to assess the size cost of full polymer and the 
> various webcomponents.js if they are also bundled.
>

Without webcomponents.js

Vulcanized to 409K, of which 199K is Elm js output. Minfies to 210K, and 
gzips to 58K.

With webcomponents-lite.js

Vulcanized to 449K, of which 194K is Elm js output. Minfies to 250K, and 
gzips to 70K.

With webcomponents.js

Vulcanized to 527K, of which 194K is Elm js output. Minfies to 328K, and 
gzips to 91K.

Removing all polymer .js just to get an idea of the Elm code on its own:

Vulcanized to 195K, of which 194K is Elm js output. Minfies to 67K, and 
gzips to 19K.

This means that the overheads for using polymer are:

no webcomponents.js: 58 - 19 = 39K
webcomponents-lite.js: 70 - 19 = 51K
webcomponents.js: 91 - 19 = 72K

 

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to