Skip to content

Commit 8f3d8a9

Browse files
committed
add benchmark information from another machine
1 parent 227c6ad commit 8f3d8a9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ The following features are available:
8787
In the [comparison](./benches/comparison.rs) benchmark `intern-mint` is compared to the crates [internment](https://crates.io/crates/internment) and [intern-arc](https://crates.io/crates/intern-arc).\
8888
The benchmark runs multi-threaded (one thread per available core) and uses per-thread standard's hash-maps to insert, modify, and get values using interned keys.
8989

90-
On my machine (base model M4 MacBook Air), `intern-mint` performed 1.22x faster than `internment`, and 4.19x faster than `intern-arc`.
90+
On my personal machine (base model M4 MacBook Air), `intern-mint` performed 1.22x faster than `internment`, and 4.19x faster than `intern-arc`.\
91+
On my work machine (12th Gen Intel i7-1260P), `intern-mint` performed 1.77x faster than `internment`, and 52.36x faster than `intern-arc`.\
92+
I suspect the difference between my personal and work machine is so dramatic because it has double the cores, and `intern-arc` has a single mutex for the entire interned pool.
9193

9294
`cargo bench` can be used to run the benchmark locally.

0 commit comments

Comments
 (0)