{"id":17137159,"url":"https://github.com/squeek502/zig-hash-map-bench","last_synced_at":"2025-07-25T13:32:09.729Z","repository":{"id":77411315,"uuid":"190525673","full_name":"squeek502/zig-hash-map-bench","owner":"squeek502","description":"Benchmarks for Zig's std.HashMap","archived":false,"fork":false,"pushed_at":"2023-10-15T09:30:47.000Z","size":5,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-15T20:06:27.129Z","etag":null,"topics":["benchmark","hash-map","zig"],"latest_commit_sha":null,"homepage":null,"language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/squeek502.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-06-06T06:19:49.000Z","updated_at":"2023-10-15T09:30:50.000Z","dependencies_parsed_at":"2023-10-16T02:27:28.525Z","dependency_job_id":"f7f348dc-0e43-4454-a876-2a50eead0404","html_url":"https://github.com/squeek502/zig-hash-map-bench","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squeek502%2Fzig-hash-map-bench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squeek502%2Fzig-hash-map-bench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squeek502%2Fzig-hash-map-bench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squeek502%2Fzig-hash-map-bench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squeek502","download_url":"https://codeload.github.com/squeek502/zig-hash-map-bench/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227581814,"owners_count":17789311,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["benchmark","hash-map","zig"],"created_at":"2024-10-14T20:06:23.154Z","updated_at":"2024-12-01T14:43:19.397Z","avatar_url":"https://github.com/squeek502.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zig-hash-map-bench\n\nBenchmarks for [Zig](https://ziglang.org)'s `std.HashMap`. Will be expanded on in the future.\n\nBased loosely on some of the benchmarking of C++ hash map implementations here:\n- https://probablydance.com/2017/02/26/i-wrote-the-fastest-hashtable/\n- https://tessil.github.io/2016/08/29/benchmark-hopscotch-map.html\n- https://martin.ankerl.com/2019/04/01/hashmap-benchmarks-01-overview/\n- https://github.com/ktprime/emhash#other-benchmark\n\n## Running\n\nInsertion without ensureCapacity:\n\n```\nzig run insert.zig -OReleaseFast -lc\n```\n\n```\nzig run insert-strings.zig -OReleaseFast -lc\n```\n\nOutput will be in the format:\n\n```\nnum_elements,nanoseconds_per_element\n1,68\n2,40\n3,32\n5,25\n7,21\n10,19\n...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqueek502%2Fzig-hash-map-bench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsqueek502%2Fzig-hash-map-bench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqueek502%2Fzig-hash-map-bench/lists"}