JS Benchmark

Common SetupCommon Teardown

Results Legend

🔠 Source Size 📦 Bundle Size🥶 Cold Run 🥵 Hot Run

Iterations count / number

1{#}

Load generic Script

1const { some } = $mol_import.script(2 'https://unpkg.org/...'3)

Load ESM Module

1const { some } = $mol_import.module(2 'https://esm.sh/...'3).default

Assert equality

1$mol_assert_like( [777], [777] )

Measure memory

Call Chrome with:1--js-flags="--expose-gc"2--enable-precise-memory-info

Other JS Tools

V8 Optimizations Sandbox
Setup Measure