Fork of nobonobo/unqlitego, with updates to upstream unqlite.c
Find a file
2014-04-08 12:04:04 +01:00
.gitignore first commit 2013-11-26 23:04:27 +09:00
.travis.yml travis fix 2014-03-05 09:03:51 +09:00
LICENSE Initial commit 2013-11-26 05:55:20 -08:00
README.md files fix 2014-02-05 18:01:50 +09:00
unqlite.c files fix 2014-02-05 18:01:50 +09:00
unqlite.go Removed Unused const. 2014-04-08 12:04:04 +01:00
unqlite.h files fix 2014-02-05 18:01:50 +09:00
unqlite_test.go Fixes For Issue #16 2014-03-17 11:46:13 +00:00

unqlitego

UnQLite Binding for golang.

Install

$ go get github.com/nobonobo/unqlitego

Test

$ go get github.com/r7kamura/gospel
$ cd ${GOPATH/:*/}/src/github.com/nobonobo/unqlitego
$ go 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