Fork of nobonobo/unqlitego, with updates to upstream unqlite.c
Go to file
nobonobo 3fc9158a24 Merge branch 'release/0.1.3' 2013-11-28 23:39:06 +09:00
src@4802711236 first commit 2013-11-26 23:04:27 +09:00
.gitignore first commit 2013-11-26 23:04:27 +09:00
.gitmodules first commit 2013-11-26 23:04:27 +09:00
.travis.yml make test added 2013-11-28 21:18:59 +09:00
LICENSE Initial commit 2013-11-26 05:55:20 -08:00
Makefile make test added 2013-11-28 21:24:46 +09:00
README.md README fix 2013-11-28 23:38:39 +09:00
unqlite.go lib func test added. 2013-11-27 09:03:38 +09:00
unqlite_test.go lib func test added. 2013-11-27 09:03:38 +09:00

README.md

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