Skip to content

Instantly share code, notes, and snippets.

@patrick-steele-idem
Created January 20, 2017 03:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patrick-steele-idem/02952cb8c9abf97f9bf761923a495148 to your computer and use it in GitHub Desktop.
Save patrick-steele-idem/02952cb8c9abf97f9bf761923a495148 to your computer and use it in GitHub Desktop.
UI library sizes

Below are the sizes of various UI libraries. The JavaScript bundles for each library includes the minimal code to render a very basic UI component in the browser. That is, the bundle includes the UI library and the code for a single UI component. The JavaScript bundle is generated using Rollup with NODE_ENV=production and all helpful optimizations are used to reduce the code size (envify, uglifyjs, minprops, etc.).

[marko]
  gzip:  11,802 bytes
   min:  32,289 bytes

[preact]
  gzip:   4,401 bytes
   min:  10,272 bytes

[react]
  gzip:  42,796 bytes
   min: 132,963 bytes

[vue]
  gzip:  22,682 bytes
   min:  62,856 bytes

Source: https://github.com/marko-js/marko/tree/master/benchmark/size

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment