https://github.com/fjl/goleveldb-bench
https://github.com/fjl/goleveldb-bench
database-benchmarking leveldb
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fjl/goleveldb-bench
- Owner: fjl
- Created: 2017-06-23T13:35:45.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-05-18T13:31:42.000Z (about 3 years ago)
- Last Synced: 2024-10-29T05:05:26.659Z (7 months ago)
- Topics: database-benchmarking, leveldb
- Language: Go
- Homepage:
- Size: 14.3 MB
- Stars: 2
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
goleveldb-bench tests the performance of random writes to a goleveldb database. To get
started clone this repo to your GOPATH, then get the dependencies with govendor and
compile:govendor sync
go install -v ./...You can run benchmarks with `ldb-writebench`:
mkdir datasets/mymachine-10gb
ldb-writebench -size 10gb -logdir datasets/mymachine-10gb -test nobatch,batch-100kbPlot the result with `ldb-benchplot`:
ldb-benchplot -out 10gb.svg datasets/mymachine-10gb/*.json
LevelDB databases are left on disk for inspection. You can remove them using
rm -r testdb-*