Files
cli/vendor/flurry/benches/README.md

1.1 KiB

Benchmarks

Currently, benchmarks following those of dashmap and hashbrown are provided. To compare against other hashmap implementations, the benchmarks located in the respective repositories may be executed. Note that flurry, like dashmap, uses criterion (and rayon for parallel testing), while hashbrown uses test::bench.

To run the flurry benchmarks, just run

$ cargo bench

or

$ cargo bench <BENCHNAME>

to only run benches containing <BENCHNAME> in their names.

To run the original dashmap benchmarks:

$ git clone https://github.com/xacrimon/dashmap.git
$ cd dashmap
$ cargo bench [<BENCHNAME>]

To run the original hashbrown benchmarks:

$ git clone https://github.com/rust-lang/hashbrown.git
$ cd hashbrown
$ cargo bench [<BENCHNAME>]