navid/veins / impl-spectre-final / xveins/BENCH.md

BENCH.md

← xveins · 3840 bytes · raw · download · view source

veins C++ optimization benchmark

Generated 2026-11-28 03:22:02 UTC by bench/optim_bench.py.

Environment

Binary Version
Baseline veins v0.0.1 (veins-store 1)
Optimized veins v0.0.1 (veins-store 1)
host:        Linux x86_64
cpu:         AMD Ryzen 5 5600 6-Core Processor
repeats:     5 (median reported)
inner runs:  3 per command per repeat
cpu pinning: no
temp dir:    /dev/shm

Workload

Results

Metric Baseline Optimized Speedup
Commit total [s] 1.2404 (1.2176-1.2505) 1.0918 (1.0794-1.1877) 1.14x
Status [ms] 49.6 (49.4-50.2) 14.4 (14.0-15.1) 3.44x
Log [ms] 50.6 (50.1-51.7) 13.3 (13.3-14.1) 3.79x
Log -l 5 [ms] 50.4 (49.9-51.6) 13.2 (13.0-14.6) 3.81x
Checkout total [s] 0.3880 (0.3791-0.4098) 0.1667 (0.1650-0.1754) 2.33x
Checkout mean [ms] 48.5 (47.4-51.2) 20.8 (20.6-21.9) 2.33x
Store size [MiB] 43.01 (43.01-43.31) 42.92 (42.92-42.92) 1.00x smaller

Each cell is the median with the observed min-max range in parentheses. A speedup above 1 means the optimized binary was faster.

Repeats

Repeat Baseline status [ms] Optimized status [ms] Baseline log [ms] Optimized log [ms] Baseline checkout [ms] Optimized checkout [ms]
1 50.2 15.1 51.7 14.1 51.2 21.9
2 49.6 14.0 50.5 13.6 49.2 20.7
3 49.4 14.2 51.0 13.3 48.5 20.9
4 50.1 14.5 50.6 13.3 47.4 20.6
5 49.6 14.4 50.1 13.3 48.2 20.8

Notes

Reproduce

cmake --build build -j
python3 bench/optim_bench.py \
  --baseline /path/to/pre-optimization/vn \
  --optimized build/vn \
  --markdown-out BENCH.md