unqlitego/README.md

40 lines
670 B
Markdown
Raw Permalink Normal View History

2013-11-26 13:55:20 +00:00
unqlitego
=========
UnQLite Binding for golang.
2013-11-26 14:04:27 +00:00
[Docs](https://godoc.org/git.thisco.de/vbatts/unqlitego)
2013-11-26 14:04:27 +00:00
Install
---------
```sh
$ go get git.thisco.de/vbatts/unqlitego
2013-11-28 14:38:39 +00:00
```
Test
---------
```sh
$ go get github.com/r7kamura/gospel
$ cd ${GOPATH/:*/}/src/git.thisco.de/vbatts/unqlitego
2014-02-05 09:01:50 +00:00
$ 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
$ cd ${GOPATH/:*/}/src/git.thisco.de/vbatts/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
```