{"id":20234203,"url":"https://github.com/bytestorage/contrast-benchmark","last_synced_at":"2025-07-16T17:32:56.624Z","repository":{"id":178071405,"uuid":"661323041","full_name":"ByteStorage/contrast-benchmark","owner":"ByteStorage","description":"Based on the results of a simple benchmark test of the open source kv database written in Golang.","archived":false,"fork":false,"pushed_at":"2023-07-02T13:54:56.000Z","size":32,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-09T13:04:21.367Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ByteStorage.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-07-02T13:41:48.000Z","updated_at":"2023-07-22T11:06:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"f8437360-c7b9-429b-968a-ca77bc489b1c","html_url":"https://github.com/ByteStorage/contrast-benchmark","commit_stats":null,"previous_names":["bytestorage/contrast-benchmark"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ByteStorage/contrast-benchmark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteStorage%2Fcontrast-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteStorage%2Fcontrast-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteStorage%2Fcontrast-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteStorage%2Fcontrast-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ByteStorage","download_url":"https://codeload.github.com/ByteStorage/contrast-benchmark/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteStorage%2Fcontrast-benchmark/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265527559,"owners_count":23782480,"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":[],"created_at":"2024-11-14T08:09:07.040Z","updated_at":"2025-07-16T17:32:56.619Z","avatar_url":"https://github.com/ByteStorage.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Contrast Benchmark\n\nBased on the results of a simple benchmark test of the open source kv database written in Golang.\n\n## Test database:\n\n- [flydb](https://github.com/ByteStorage/FlyDB)\n- [bbolt](https://github.com/etcd-io/bbolt)\n- [goleveldb](https://github.com/syndtr/goleveldb)\n- [nutsdb](https://github.com/nutsdb/nutsdb)\n- [rosedb](https://github.com/flower-corp/rosedb)\n- [badger](https://github.com/dgraph-io/badger)\n- [pebble](https://github.com/cockroachdb/pebble)\n\n## Options:\n\n- Value size: 512 bytes\n\n## Results\n\n```\ngoos: linux\ngoarch: amd64\npkg: contrast-benchmark\ncpu: 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz\n\nBenchmark_PutValue_FlyDB\nBenchmark_PutValue_FlyDB-16        \t   95023\t     13763 ns/op\t    2904 B/op\t      16 allocs/op\nBenchmark_GetValue_FlyDB\nBenchmark_GetValue_FlyDB-16    \t \t 2710143\t     463.5 ns/op\t     259 B/op\t       5 allocs/op\nBenchmark_PutValue_Badger\nBenchmark_PutValue_Badger-16       \t   59331\t     22711 ns/op\t    6006 B/op\t      48 allocs/op\nBenchmark_GetValue_Badger\nBenchmark_GetValue_Badger-16       \t  158686\t      7686 ns/op\t   10844 B/op\t      42 allocs/op\nBenchmark_PutValue_BoltDB\nBenchmark_PutValue_BoltDB-16       \t   32637\t     56519 ns/op\t   21009 B/op\t     123 allocs/op\nBenchmark_GetValue_BoltDB\nBenchmark_GetValue_BoltDB-16       \t  655971\t     24327 ns/op\t     723 B/op\t      26 allocs/op \nBenchmark_PutValue_GoLevelDB\nBenchmark_PutValue_GoLevelDB-16    \t   71931\t     14709 ns/op\t    2226 B/op\t      12 allocs/op\nBenchmark_GetValue_GoLevelDB\nBenchmark_GetValue_GoLevelDB-16    \t  500736\t      2520 ns/op\t    1278 B/op\t      15 allocs/op\nBenchmark_PutValue_NutsDB\nBenchmark_PutValue_NutsDB-16       \t   78801\t     13582 ns/op\t    3242 B/op\t      22 allocs/op\nBenchmark_GetValue_NutsDB\nBenchmark_GetValue_NutsDB-16       \t  373124\t      5702 ns/op\t    1392 B/op\t      14 allocs/op\nBenchmark_PutValue_RoseDB\nBenchmark_PutValue_RoseDB-16       \t   69776\t     19166 ns/op\t    6242 B/op\t      59 allocs/op\nBenchmark_GetValue_RoseDB\nBenchmark_GetValue_RoseDB-16       \t 4155183\t     298.0 ns/op\t     167 B/op\t       4 allocs/op\nBenchmark_PutValue_Pebble\nBenchmark_PutValue_Pebble-16       \t   91304\t     21877 ns/op\t    2720 B/op\t       8 allocs/op\nBenchmark_GetValue_Pebble\nBenchmark_GetValue_Pebble-16       \t   66135\t     15837 ns/op\t   17193 B/op\t      22 allocs/op\nPASS\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytestorage%2Fcontrast-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbytestorage%2Fcontrast-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytestorage%2Fcontrast-benchmark/lists"}