Skip to content

squeek502/zig-hash-map-bench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

zig-hash-map-bench

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:

Running

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
...

About

Benchmarks for Zig's std.HashMap

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages