Fork of nobonobo/unqlitego, with updates to upstream unqlite.c
Go to file
Vincent Batts f6aa21f676 adding a drone build file 2018-07-19 09:11:42 -04:00
unqlite@ca65e2b9f6 Submodules to latest upstream source 2017-10-18 15:52:21 -04:00
.drone.yml adding a drone build file 2018-07-19 09:11:42 -04:00
.gitignore first commit 2013-11-26 23:04:27 +09:00
.gitmodules Submodules to latest upstream source 2017-10-18 15:52:21 -04: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 README updates 2017-10-18 16:19:03 -04:00
unqlite.c Submodules to latest upstream source 2017-10-18 15:52:21 -04:00
unqlite.go Removed Unused const. 2014-04-08 12:04:04 +01:00
unqlite.h Submodules to latest upstream source 2017-10-18 15:52:21 -04:00
unqlite_test.go fixing test for updated unqlite 2017-10-30 22:31:53 -04:00

README.md

unqlitego

UnQLite Binding for golang.

Docs

Install

$ go get git.thisco.de/vbatts/unqlitego

Test

$ go get github.com/r7kamura/gospel
$ cd ${GOPATH/:*/}/src/git.thisco.de/vbatts/unqlitego
$ go test .

Benchmark

$ 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