{"id":20613955,"url":"https://github.com/dgraph-io/badger-bench","last_synced_at":"2025-05-10T02:33:16.435Z","repository":{"id":40649280,"uuid":"86027991","full_name":"dgraph-io/badger-bench","owner":"dgraph-io","description":"Benchmarks of Badger","archived":true,"fork":false,"pushed_at":"2022-06-13T04:59:33.000Z","size":10052,"stargazers_count":98,"open_issues_count":0,"forks_count":31,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-03-06T09:21:29.520Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dgraph-io.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}},"created_at":"2017-03-24T04:43:35.000Z","updated_at":"2025-02-10T23:21:48.000Z","dependencies_parsed_at":"2022-08-02T20:31:08.180Z","dependency_job_id":null,"html_url":"https://github.com/dgraph-io/badger-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/dgraph-io%2Fbadger-bench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgraph-io%2Fbadger-bench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgraph-io%2Fbadger-bench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgraph-io%2Fbadger-bench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dgraph-io","download_url":"https://codeload.github.com/dgraph-io/badger-bench/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253354489,"owners_count":21895436,"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-16T11:11:29.757Z","updated_at":"2025-05-10T02:33:13.729Z","avatar_url":"https://github.com/dgraph-io.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Benchmarks for BadgerDB\nThis repo contains the code for benchmarking [BadgerDB], along with detailed logs from previous benchmarking runs.\n\n[BadgerDB]:https://github.com/dgraph-io/badger\n\n## Setting Up\n- Install rocksdb using steps here: https://github.com/facebook/rocksdb/blob/master/INSTALL.md\n\n```\n$ sudo apt-get update \u0026\u0026 sudo apt-get install libgflags-dev libsnappy-dev zlib1g-dev libbz2-dev liblz4-dev libzstd-dev\n$ wget https://github.com/facebook/rocksdb/archive/v5.1.4.tar.gz\n$ tar -xzvf v5.1.4.tar.gz\n$ cd rocksdb-5.1.4\n$ export USE_RTTI=1 \u0026\u0026 make shared_lib\n$ sudo make install-shared\n$ ldconfig # to update ld.so.cache\n```\n\n- Install badger bench\n\n```\n$ go get github.com/dgraph-io/badger-bench/...\n```\n\n- Run  `go test -c` and make sure everything compiles. Refer to the benchmarking logs below for commands to run individual benchmarks.\n\n## Benchmarking Logs and Blog Posts\nWe have performed comprehensive benchmarks against RocksDB, BoltDB and LMDB.\nDetailed logs of all the steps are made available in this repo. Refer to the \nblog posts for graphs and other information.\n\n* [Benchmarking log for RocksDB](https://github.com/dgraph-io/badger-bench/blob/master/BENCH-rocks.txt) (link to [blog post](https://blog.dgraph.io/post/badger/))\n* [Benchmarking log for BoltDB and LMDB](https://github.com/dgraph-io/badger-bench/blob/master/BENCH-lmdb-bolt.md) (link to [blog post](https://blog.dgraph.io/post/badger-lmdb-boltdb/))\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgraph-io%2Fbadger-bench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgraph-io%2Fbadger-bench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgraph-io%2Fbadger-bench/lists"}