Chrome tabs & session snss file reading
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add convenience tools for benchmark comparison

Added .cargo/config.toml with aliases for bench-tabs and bench-simd.
Created bench-compare.sh script to run both benchmarks together.
Updated benches/README.md to mention the convenience script.

rektide e73de431 08cf232f

+32 -1
+5
.cargo/config.toml
··· 1 + [alias] 2 + # Benchmark aliases for comparing SIMD vs non-SIMD 3 + bench-tabs = "bench --bench tabs" 4 + bench-simd = "bench --bench tabs_simd --features simd_read" 5 +
+21
bench-compare.sh
··· 1 + #!/bin/bash 2 + # Run both SIMD and non-SIMD benchmarks for comparison 3 + 4 + set -e 5 + 6 + echo "======================================" 7 + echo "Running Non-SIMD Benchmark" 8 + echo "======================================" 9 + cargo bench --bench tabs 10 + 11 + echo "" 12 + echo "======================================" 13 + echo "Running SIMD Benchmark" 14 + echo "======================================" 15 + cargo bench --bench tabs_simd --features simd_read 16 + 17 + echo "" 18 + echo "======================================" 19 + echo "Benchmark Results" 20 + echo "======================================" 21 + echo "Check target/criterion/report/index.html for detailed comparison"
+6 -1
benches/README.md
··· 4 4 5 5 ## Running Benchmarks 6 6 7 + ### Quick comparison (recommended): 8 + ```bash 9 + ./bench-compare.sh 10 + ``` 11 + 7 12 ### Run all benchmarks (without SIMD): 8 13 ```bash 9 14 cargo bench ··· 19 24 cargo bench --bench tabs_simd --features simd_read 20 25 ``` 21 26 22 - ### Run both benchmarks and compare: 27 + ### Run both benchmarks and compare manually: 23 28 ```bash 24 29 cargo bench --bench tabs 25 30 cargo bench --bench tabs_simd --features simd_read