/js-opt-benchmark

Benchmarks for "A JavaScript optimizing compiler"

Primary LanguageJavaScriptMIT LicenseMIT

js-opt-benchmark

Benchmarks for "A JavaScript optimizing compiler"

Check it out live: benchmark

This is an experiment: (typed) JavaScript to C++ to optimized JavaScript compiler.

Read the article: A JavaScript optimizing compiler.

Types added manually, C++ generated by a custom TypeScript AST visitor, heavy lifting done by Cheerp.

Benchmarking performed client side, thanks to Benchmark.js. Higher ops/sec is better.