update benchmark enviroment and result.
This commit is contained in:
parent
272af1e39f
commit
8604a21888
14
README.md
14
README.md
|
@ -118,22 +118,22 @@ $ go test -bench=.
|
||||||
|
|
||||||
testing: warning: no tests to run
|
testing: warning: no tests to run
|
||||||
PASS
|
PASS
|
||||||
BenchmarkDig-4 10000 202732 ns/op
|
BenchmarkDig-8 50000 57945 ns/op
|
||||||
ok _/Users/kenshin/workspace/gogo/godns 2.489s
|
ok _/usr/home/keqiang/godns 3.259s
|
||||||
```
|
```
|
||||||
|
|
||||||
The result : 4032 queries/per second
|
The result : 15342 queries/per second
|
||||||
|
|
||||||
The enviroment of test:
|
The enviroment of test:
|
||||||
|
|
||||||
MacBook Air
|
CentOS release 6.4
|
||||||
|
|
||||||
* CPU:
|
* CPU:
|
||||||
Inter Core i5 1.7G
|
Intel Xeon 2.40GHZ
|
||||||
Double cores
|
4 cores
|
||||||
|
|
||||||
* MEM:
|
* MEM:
|
||||||
8G
|
46G
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue