Skip to content

Latest commit

 

History

History

benchmarks

lit benchmarks

Benchmarks for lit-html and LitElement.

git clone git@github.com:lit/lit.git
cd lit

npm ci
npm run build

cd packages/benchmarks
# Choose a benchmark to run
npm run benchmark:lit-html:kitchen-sink
npm run benchmark:lit-html:kitchen-sink-render
npm run benchmark:lit-html:kitchen-sink-update
npm run benchmark:lit-html:kitchen-sink-nop-update
npm run benchmark:lit-element:list
npm run benchmark:lit-element:list-render
npm run benchmark:lit-element:list-update
npm run benchmark:lit-element:list-update-reflect
npm run benchmark:reactive-element:list
npm run benchmark:reactive-element:list-render
npm run benchmark:reactive-element:list-update
npm run benchmark:reactive-element:list-update-reflect