You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Acrimon fbed218dce
Updated deps.
2 months ago
src Updated deps. 2 months ago
.gitignore Initial benchmarks. 5 months ago
Cargo.lock Updated deps. 2 months ago
Cargo.toml Updated deps. 2 months ago
README.md Reordered models. 3 months ago
collect-data.sh Added script. 5 months ago
rust-toolchain Reworked bench. 5 months ago

README.md

conc-map-bench

conc-map-bench uses the bustle benchmarking harness. This is a port of the well regarded libcuckoo benchmark.

Implementations benchmarked

  • Mutex Std HashMap
  • CHashMap
  • Contrie
  • Flurry
  • DashMap

Models

Exchange

Insert and remove heavy model that replicates a scenario where the map is used to exchange data.

Mix {
    read: 10,
    insert: 40,
    remove: 40,
    update: 10,
    upsert: 0,
}

Cache

A read heavy model with few inserts, removals and updates. Models caching of data in places such as webservers and disk page caches.

Self {
    read: 94,
    insert: 2,
    update: 3,
    remove: 1,
    upsert: 0,
}

Rapid grow

An insert heavy model that replicates load in a scenario where the map is used to gather large amounts of data under a short burst.

Mix {
    read: 10,
    insert: 40,
    remove: 40,
    update: 10,
    upsert: 0,
}