$ cargo bench --bench all -- --quiet random_walk/10000000
[] random_walk/10000000 (10ms)
├ Instructions           1800023
└ Est. cycles            3040455
$ export CACHEGRIND_WRAPPER="$CACHEGRIND_WRAPPER:--profile=comparison"
$ cargo bench --bench all -- --verbose random_walk/10000000
# after some changes...
DEBUG: Started benchmarking with options: BenchOptions { .. }
DEBUG: Using cachegrind with version valgrind-3.23.0
[*] random_walk/10000000 @ e2e-tests/src/lib.rs:50: started
[*] random_walk/10000000 @ e2e-tests/src/lib.rs:50: captured baseline (1771211 i
nstructions) [] random_walk/10000000 @ e2e-tests/src/lib.rs:50 (10ms) ├ Instructions 1770011 -30012 (-1.67%) ├ L1 hits 2140042 -60033 (-2.73%) │ ├ Instr. 1770011 -30012 (-1.67%) │ ├ Data reads 180024 -20022 (-10.01%) │ └ Data writes 190007 -9999 (-5.00%) ├ L2/L3 hits 88676 +64 (+0.07%) │ ├ Data reads 88676 +65 (+0.07%) │ └ Data writes 0 -1 (-100.00%) ├ RAM accesses 11309 -43 (-0.38%) │ └ Data reads 11309 -43 (-0.38%) └ Est. cycles 2979237 -61218 (-2.01%)
HTML embedding not supported. Consult term-transcript docs for details.