unqlitego/README.md

38 lines
609 B
Markdown
Raw Normal View History

2013-11-26 05:55:20 -08:00
unqlitego
=========
UnQLite Binding for golang.
2013-11-26 23:04:27 +09:00
Install
---------
```sh
2014-02-05 18:01:50 +09:00
$ go get github.com/nobonobo/unqlitego
2013-11-28 23:38:39 +09:00
```
Test
---------
```sh
$ go get github.com/r7kamura/gospel
2014-02-05 18:01:50 +09:00
$ cd ${GOPATH/:*/}/src/github.com/nobonobo/unqlitego
$ go test .
2013-11-26 23:04:27 +09:00
```
Benchmark
----------
2013-11-28 23:38:39 +09:00
```sh
$ go get github.com/r7kamura/gospel
2013-11-29 09:04:50 +09:00
$ cd ${GOPATH/:*/}/src/github.com/nobonobo/unqlitego
2013-11-28 23:38:39 +09:00
$ go test -bench Bench*
```
Output:(Macbook Air 2011 mid)
2013-11-26 23:04:27 +09:00
```
BenchmarkFileStore 200000 9667 ns/op
BenchmarkFileFetch 500000 7928 ns/op
BenchmarkMemStore 500000 3824 ns/op
BenchmarkMemFetch 1000000 3448 ns/op
```