Skip to content

vogloblinsky/web-components-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1f00d21 · Aug 23, 2019
Aug 21, 2019
Aug 23, 2019
Jul 4, 2019
Aug 23, 2019
Dec 17, 2018
Jun 2, 2019
Jun 18, 2019
Feb 6, 2018
Jun 18, 2019
Jan 4, 2019
Aug 22, 2019
Aug 22, 2019
Dec 18, 2018

Repository files navigation

Web components benchmark

Live results

Benchmarks of libraries and implementation of Web Components.

The benchmark consists of two different applications :

screenshot_todomvc

  • Pascal triangle

screenshot_pascal

Requirements

Node.js 10+

Setup

> npm i
> cd todomvc && npm i
> bash install-all.sh
> npm run build:all
> cd pascal-triangle && npm i
> bash install-all.sh
> npm run build:all

Run benchmark for todos

In one tab

// In root folder
> npm run serve

In another tab

> npm run run:benchmark

Run benchmark for pascal-triangle

In one tab

// In root folder
> npm run serve

In another tab

> npm run run:benchmark

Compile results

> npm run compile-results
> npm run fix-stencil

Current results

TodoMVC

https://vogloblinsky.github.io/web-components-benchmark/#todo

Pascal triangle

https://vogloblinsky.github.io/web-components-benchmark/#pascal