Skip to content
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.

nobonobo/unqlitego

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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