Add Benchmark functions

Add benchmark for normal and DNSSEC lookup. We can probably shave quite
a lot of these, but first lets actually get to something that is
serving.
This commit is contained in:
Miek Gieben
2016-03-31 22:10:17 +01:00
parent 374223f9a9
commit b915393aa0
3 changed files with 73 additions and 11 deletions

View File

@@ -4,4 +4,4 @@ go:
- 1.5
- 1.6
script:
- go test -race -bench=./... ./...
- go test -race -bench=. ./...