Fork of nobonobo/unqlitego, with updates to upstream unqlite.c
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Vincent Batts f6aa21f676 adding a drone build file 3 years ago
unqlite@ca65e2b9f6 Submodules to latest upstream source 4 years ago
.drone.yml adding a drone build file 3 years ago
.gitignore first commit 8 years ago
.gitmodules Submodules to latest upstream source 4 years ago
.travis.yml travis fix 7 years ago
LICENSE Initial commit 8 years ago
README.md README updates 4 years ago
unqlite.c Submodules to latest upstream source 4 years ago
unqlite.go Removed Unused const. 7 years ago
unqlite.h Submodules to latest upstream source 4 years ago
unqlite_test.go fixing test for updated unqlite 4 years ago

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