Skip to content

Instantly share code, notes, and snippets.

@miekg
Created June 7, 2014 07:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miekg/5a1db660a4fc23a34428 to your computer and use it in GitHub Desktop.
Save miekg/5a1db660a4fc23a34428 to your computer and use it in GitHub Desktop.
Some caching improvements for SkyDNS
master branch:
PASS
BenchmarkDNSSingle 2000 640568 ns/op
BenchmarkDNSWildcard 2000 1184798 ns/op
BenchmarkDNSSECSingle 2000 956796 ns/op
cache branch:
PASS
BenchmarkDNSSingle 5000 716114 ns/op
BenchmarkDNSWildcard 10000 760233 ns/op
BenchmarkDNSSECSingle 2000 704677 ns/op
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment