Changeset 1689
- Timestamp:
- 08/15/10 10:41:23 (3 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/speedtest.cc (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/speedtest.cc
r1680 r1689 5 5 #include "dnsrecords.hh" 6 6 #include <boost/format.hpp> 7 #include "config.h" 7 8 #ifndef RECURSOR 8 9 #include "statbag.hh" … … 10 11 #endif 11 12 13 volatile bool g_ret; // make sure the optimizer does not get too smart 12 14 uint64_t g_totalRuns; 13 15 … … 675 677 { 676 678 static string a("www.ds9a.nl"), b("www.lwn.net"); 677 boolret = boost::iequals(a, b);679 g_ret = boost::iequals(a, b); 678 680 } 679 681 … … 690 692 { 691 693 static string a("www.ds9a.nl"), b("www.lwn.net"); 692 boolret = pdns_iequals(a, b);694 g_ret = pdns_iequals(a, b); 693 695 } 694 696 … … 706 708 { 707 709 static string a("www.ds9a.nl"), b("www.lwn.net"); 708 boolret = strcasecmp(a.c_str(), b.c_str());710 g_ret = strcasecmp(a.c_str(), b.c_str()); 709 711 } 710 712 };