]> git.ipfire.org Git - thirdparty/bind9.git/commit
add a "qplookups" benchmark test
authorEvan Hunt <each@isc.org>
Wed, 27 Sep 2023 22:37:30 +0000 (15:37 -0700)
committerEvan Hunt <each@isc.org>
Wed, 27 Sep 2023 23:24:04 +0000 (16:24 -0700)
commite68a691904355948e12f6cd3364bb5c2af3397af
tree64f97c97c2e9e5c3a14eebe298d3c06aff9be5ca
parentd71ebd20860fc517ba67df8fcd74183261ec9746
add a "qplookups" benchmark test

this loads a file containing DNS names and measures the time it takes to:
1) iterate it,
2) look up each name with dns_qp_getname()
3) look up each name with dns_qp_findname_ancestor()
4) look up a modified name based on the name, to check performance
   when the name is not found.
tests/bench/Makefile.am
tests/bench/qplookups.c [new file with mode: 0644]