Windows Benchmark Snapshot
March 30, 2026 ยท View on GitHub
This page contains the current Windows benchmark snapshot that used to live in the main README.
Environment:
- Script runner:
run_benchmarks.ps1 - Platform: Windows
- CPU: Ryzen 7 5800X
- Baseline: native Lua 5.5 on the same machine
Method:
- Values are shown as
luars / native Lua * 100 100means parity with native Lua120means luars is about 20% faster80means luars is about 20% slower
xychart-beta
title "luars vs native Lua 5.5 on Windows (Ryzen 7 5800X)"
x-axis [arith, control, locals, funcs, closures, multiret, tables, tablelib, iters, math, meta, oop, coroutines, errors]
y-axis "Relative throughput (%)" 0 --> 160
bar [111, 87, 132, 92, 80, 78, 92, 118, 93, 98, 78, 92, 152, 103]
line [100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100]
| Script | Relative throughput |
|---|---|
bench_arithmetic.lua | 111% |
bench_control_flow.lua | 87% |
bench_locals.lua | 132% |
bench_functions.lua | 92% |
bench_closures.lua | 80% |
bench_multiret.lua | 78% |
bench_tables.lua | 92% |
bench_table_lib.lua | 118% |
bench_iterators.lua | 93% |
bench_math.lua | 98% |
bench_metatables.lua | 78% |
bench_oop.lua | 92% |
bench_coroutines.lua | 152% |
bench_errors.lua | 103% |
Notes:
- This is a script-level summary from the current Windows run of
run_benchmarks.ps1. - String-heavy microbenchmarks are intentionally left out of the chart because several subtests complete too quickly on Windows timer resolution, which can distort summary ratios.
- For full raw output, run
run_benchmarks.ps1directly and inspect the per-subtest numbers.