An open API service indexing awesome lists of open source software.

https://github.com/fjl/goleveldb-bench


https://github.com/fjl/goleveldb-bench

database-benchmarking leveldb

Last synced: 6 months ago
JSON representation

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-100kb

Plot 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-*