1 unstable release
0.1.0 | Jan 8, 2024 |
---|
#311 in Profiling
10KB
206 lines
one billion rows rust
Dummy implementation of the One Billion challenge in rust.
Optimized for linux (might not work in other platforms).
options
-t
: number of worker threads spawned. default to number of availaible cpu threads
on my laptop
time
time ./target/release/one_billion_rows_challenge -t 48
real 0m10,361s
user 1m42,832s
sys 0m3,526s
hyperfine
➜ one_billion_rust git:(main) ✗ hyperfine "./target/release/one_billion_rows_challenge -t 48" --runs 5
Benchmark 1: ./target/release/one_billion_rows_challenge -t 48
Time (mean ± σ): 10.246 s ± 0.588 s [User: 102.523 s, System: 4.382 s]
Range (min … max): 9.575 s … 10.812 s 5 runs
Dependencies
~620KB
~12K SLoC