You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,8 @@ The following features are available:
87
87
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).\
88
88
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.
89
89
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.
91
93
92
94
`cargo bench` can be used to run the benchmark locally.
0 commit comments