squeek502/zig-hash-map-bench
Benchmarks for Zig's std.HashMap
Benchmarks for Zig's std.HashMap
. Will be expanded on in the future.
Based loosely on some of the benchmarking of C++ hash map implementations here:
Insertion without ensureCapacity:
zig run insert.zig -OReleaseFast -lc
zig run insert-strings.zig -OReleaseFast -lc
Output will be in the format:
num_elements,nanoseconds_per_element
1,68
2,40
3,32
5,25
7,21
10,19
...