README fix

This commit is contained in:
nobonobo 2013-11-28 23:38:39 +09:00
parent 2b0a3e7299
commit f57619c0f1

View file

@ -7,14 +7,28 @@ Install
---------
```sh
go get -d github.com/nobonobo/unqlitego
cd $GOPATH/src/github.com/nobonobo/unqlitego
make install
$ go get -d github.com/nobonobo/unqlitego
$ make -C $GOPATH/src/github.com/nobonobo/unqlitego install
```
Test
---------
```sh
$ go get github.com/r7kamura/gospel
$ make -C $GOPATH/src/github.com/nobonobo/unqlitego test
```
Benchmark
----------
```sh
$ 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