{"id":17156501,"url":"https://github.com/savsgio/go-kvbench","last_synced_at":"2025-03-24T13:45:01.050Z","repository":{"id":101140593,"uuid":"361731254","full_name":"savsgio/go-kvbench","owner":"savsgio","description":"Golang KV databases benchmarks.","archived":false,"fork":false,"pushed_at":"2021-06-25T09:09:32.000Z","size":48,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-29T18:47:05.172Z","etag":null,"topics":["benchmark","go","golang","kv-database","kv-storage"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/savsgio.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-26T11:51:12.000Z","updated_at":"2022-11-29T07:29:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"49559767-4afb-41fc-bfd4-b571514a0802","html_url":"https://github.com/savsgio/go-kvbench","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/savsgio%2Fgo-kvbench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savsgio%2Fgo-kvbench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savsgio%2Fgo-kvbench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savsgio%2Fgo-kvbench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/savsgio","download_url":"https://codeload.github.com/savsgio/go-kvbench/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245284610,"owners_count":20590306,"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","go","golang","kv-database","kv-storage"],"created_at":"2024-10-14T22:06:38.197Z","updated_at":"2025-03-24T13:45:01.044Z","avatar_url":"https://github.com/savsgio.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KVBench\n\nGolang KV databases benchmarks.\n\n_*Based on [smallnest/kvbench](https://github.com/smallnest/kvbench).*_\n\nFeatures:\n\n- Databases\n  - [Badger](https://github.com/dgraph-io/badger)\n  - [BuntDB](https://github.com/tidwall/buntdb)\n  - [LevelDB](https://github.com/syndtr/goleveldb)\n  - [NutsDB](https://github.com/xujiajun/nutsdb)\n  - [Pebble](https://github.com/cockroachdb/pebble)\n  - [Pogreb](https://github.com/akrylysov/pogreb)\n- Option to disable fsync\n\n## SSD benchmark\n\nThe following benchmarks show the throughput of inserting/reading keys (of size\n9 bytes) and values (of size 256 bytes).\n\n### nofsync\n\n- **throughputs**\n\n| name    | set    | get     | set-mixed | get-mixed | del     |\n| ------- | ------ | ------- | --------- | --------- | ------- |\n| badger  | 136381 | 353380  | 11117     | 404656    | 190054  |\n| buntdb  | 36449  | 4956283 | 2275      | 27684     | 1137630 |\n| leveldb | 240212 | 917005  | 30420     | 507333    | 233782  |\n| nutsdb  | 163634 | 1523143 | 38053     | 487173    | 141004  |\n| pebble  | 147759 | 474609  | 228020    | 315736    | 745286  |\n| pogreb  | 92540  | 4335120 | 46682     | 561806    | 263947  |\n\n- **time (latency)**\n\n| name    | set  | get | set-mixed | get-mixed | del   |\n| ------- | ---- | --- | --------- | --------- | ----- |\n| badger  | 646  | 193 | 95926     | 212       | 420   |\n| buntdb  | 4840 | 16  | 173138    | 1194      | 27136 |\n| leveldb | 341  | 93  | 33234     | 164       | 359   |\n| nutsdb  | 518  | 40  | 31425     | 211       | 521   |\n| pebble  | 574  | 234 | 4398      | 266       | 109   |\n| pogreb  | 901  | 20  | 21473     | 148       | 270   |\n\n### fsync\n\n- **throughputs**\n\n| name    | set  | get     | set-mixed | get-mixed | del   |\n| ------- | ---- | ------- | --------- | --------- | ----- |\n| badger  | 1203 | 733283  | 1301      | 15659     | 1163  |\n| buntdb  | 38   | 5550962 | 36        | 455       | 3241  |\n| leveldb | 257  | 2265868 | 39        | 2257516   | 48422 |\n| nutsdb  | 39   | 3938206 | 39        | 592       | 39    |\n| pebble  | 225  | 4720694 | 38        | 4589332   | 239   |\n| pogreb  | 39   | 4564589 | 39        | 510       | 39    |\n\n- **time (latency)**\n\n| name    | set  | get | set-mixed | get-mixed | del |\n| ------- | ---- | --- | --------- | --------- | --- |\n| badger  | 611  | 235 | 89945     | 205       | 438 |\n| buntdb  | 2286 | 16  | 439442    | 3010      | 73  |\n| leveldb | 346  | 90  | 32872     | 164       | 356 |\n| nutsdb  | 509  | 54  | 26278     | 171       | 590 |\n| pebble  | 563  | 175 | 4385      | 263       | 111 |\n| pogreb  | 900  | 19  | 21421     | 148       | 315 |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsavsgio%2Fgo-kvbench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsavsgio%2Fgo-kvbench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsavsgio%2Fgo-kvbench/lists"}