Skip to content

fjl/goleveldb-bench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Languages