|
3 years ago | |
---|---|---|
unqlite@ca65e2b9f6 | 4 years ago | |
.drone.yml | 3 years ago | |
.gitignore | 8 years ago | |
.gitmodules | 4 years ago | |
.travis.yml | 7 years ago | |
LICENSE | 8 years ago | |
README.md | 4 years ago | |
unqlite.c | 4 years ago | |
unqlite.go | 7 years ago | |
unqlite.h | 4 years ago | |
unqlite_test.go | 4 years ago |
UnQLite Binding for golang.
$ go get git.thisco.de/vbatts/unqlitego
$ go get github.com/r7kamura/gospel
$ cd ${GOPATH/:*/}/src/git.thisco.de/vbatts/unqlitego
$ go test .
$ go get github.com/r7kamura/gospel
$ cd ${GOPATH/:*/}/src/git.thisco.de/vbatts/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