Lynxer

Documentation

Performance benchmarks

Run the process-level benchmark suite from the repository root after building Lynxer:

make buildLynxer
make benchLynxer

The runner is benchmarks/bench.py and uses only Python's standard library. It measures five cases:

The empty-program pair estimates the executable startup difference. The workload cases include process startup, parsing, optimization when enabled, and execution, so compare them on the same host and build. These are measurements, not cross-machine scores or CI pass/fail thresholds.

python3 benchmarks/bench.py \
  --lynxer lynxer/lynxer \
  --runs 15 \
  --warmups 3 \
  --loop-count 250000 \
  --json dist/benchmark.json

The JSON report includes each sample, median, 90th percentile, host/build metadata, and the ratios for optimizer speedup and empty compiled startup. Increase the run count to reduce noise; close other CPU-heavy processes and avoid comparing different compiler flags or machines.