update benchmark enviroment and result.

This commit is contained in:
kenshin 2013-07-31 15:57:12 +08:00
parent 272af1e39f
commit 8604a21888
1 changed files with 7 additions and 7 deletions

View File

@ -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