unqlitego/README.md

38 lines
609 B
Markdown
Raw Normal View History

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