aurelia/aurelia

View on GitHub
benchmarks/rerender1k-latest-big-template.html

Summary

Maintainability
Test Coverage
<script type="module">
import { start } from './latest/dist/app-big-template.latest.js';

const host = document.body.appendChild(document.createElement('div'));
const au = start(host);
performance.mark('1k-start');

au.root.controller.viewModel.newItems(500);

performance.mark('1k-end');

// measure memory in MBs
window.jsHeapSize = performance.memory.usedJSHeapSize / 1e6;

performance.measure('rerender1k-big-template', '1k-start', '1k-end');

</script>