Fork of nobonobo/unqlitego, with updates to upstream unqlite.c
src@4802711236 | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
LICENSE | ||
Makefile | ||
README.md | ||
unqlite.go | ||
unqlite_test.go |
unqlitego
UnQLite Binding for golang.
Install
$ go get -d github.com/nobonobo/unqlitego
$ make -C $GOPATH/src/github.com/nobonobo/unqlitego install
Test
$ go get github.com/r7kamura/gospel
$ make -C $GOPATH/src/github.com/nobonobo/unqlitego test
Benchmark
$ go get github.com/r7kamura/gospel
$ cd $GOPATH/src/github.com/nobonobo/unqlitego
$ go test -bench Bench*
Output:(Macbook Air 2011 mid)
BenchmarkFileStore 200000 9667 ns/op
BenchmarkFileFetch 500000 7928 ns/op
BenchmarkMemStore 500000 3824 ns/op
BenchmarkMemFetch 1000000 3448 ns/op