Public
Authored by Yorick Peterse

Benchmarking crossbeam's new Injector type

Edited
main.rs 3.91 KB
  • Results:

    playground $ rustup run nightly cargo bench
       Compiling playground v0.1.0 (/home/yorickpeterse/Projects/rust/playground)
        Finished release [optimized] target(s) in 1.10s
         Running target/release/deps/playground-bf16eaf49df753cc
    
    running 4 tests
    test tests::bench_crossbeam_channel  ... bench:          28 ns/iter (+/- 4)
    test tests::bench_crossbeam_injector ... bench:          78 ns/iter (+/- 89)
    test tests::bench_crossbeam_worker   ... bench:          78 ns/iter (+/- 66)
    test tests::bench_parking_lot        ... bench:         368 ns/iter (+/- 155)
    
    test result: ok. 0 passed; 0 failed; 0 ignored; 4 measured; 0 filtered out
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment