dns-bench/results2.txt
2024-12-20 22:31:50 +04:00

105 lines
6.1 KiB
Text

==> Checking deps
/usr/sbin/unbound
/usr/sbin/hyperfine
dig: using custom build at bind9/bin/dig/dig
resolve: using custom build at hickory-dns/target/release/resolve
==> Starting Unbound
==> Benchmarks for A domain.tld.
Benchmark 1: bind9/bin/dig/dig -p 2253 domain.tld @127.0.0.1
Time (mean ± σ): 9.5 ms ± 0.8 ms [User: 7.2 ms, System: 2.7 ms]
Range (min … max): 8.7 ms … 13.0 ms 324 runs
Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options.
Benchmark 2: /usr/sbin/drill -p 2253 domain.tld @127.0.0.1
Time (mean ± σ): 2.3 ms ± 0.1 ms [User: 1.6 ms, System: 0.6 ms]
Range (min … max): 2.2 ms … 3.1 ms 1300 runs
Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options.
Benchmark 3: hickory-dns/target/release/resolve -n 127.0.0.1:2253 domain.tld
Time (mean ± σ): 1.9 ms ± 0.2 ms [User: 1.2 ms, System: 1.3 ms]
Range (min … max): 1.8 ms … 10.6 ms 1583 runs
Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options.
Summary
hickory-dns/target/release/resolve -n 127.0.0.1:2253 domain.tld ran
1.21 ± 0.15 times faster than /usr/sbin/drill -p 2253 domain.tld @127.0.0.1
4.94 ± 0.73 times faster than bind9/bin/dig/dig -p 2253 domain.tld @127.0.0.1
==> Benchmarks for AAAA domain.tld.
Benchmark 1: bind9/bin/dig/dig -p 2253 aaaa domain.tld @127.0.0.1
Time (mean ± σ): 9.5 ms ± 1.0 ms [User: 7.1 ms, System: 2.9 ms]
Range (min … max): 8.7 ms … 14.2 ms 269 runs
Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options.
Benchmark 2: /usr/sbin/drill -p 2253 aaaa domain.tld @127.0.0.1
Time (mean ± σ): 2.4 ms ± 0.1 ms [User: 1.7 ms, System: 0.6 ms]
Range (min … max): 2.2 ms … 3.1 ms 1304 runs
Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options.
Benchmark 3: hickory-dns/target/release/resolve -n 127.0.0.1:2253 -t AAAA domain.tld
Time (mean ± σ): 2.0 ms ± 2.9 ms [User: 1.3 ms, System: 1.3 ms]
Range (min … max): 1.8 ms … 116.0 ms 1599 runs
Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options.
Summary
hickory-dns/target/release/resolve -n 127.0.0.1:2253 -t AAAA domain.tld ran
1.18 ± 1.70 times faster than /usr/sbin/drill -p 2253 aaaa domain.tld @127.0.0.1
4.77 ± 6.86 times faster than bind9/bin/dig/dig -p 2253 aaaa domain.tld @127.0.0.1
==> Benchmarks for MX domain.tld.
Benchmark 1: bind9/bin/dig/dig -p 2253 mx domain.tld @127.0.0.1
Time (mean ± σ): 9.8 ms ± 1.4 ms [User: 7.3 ms, System: 2.9 ms]
Range (min … max): 8.7 ms … 14.8 ms 327 runs
Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options.
Benchmark 2: /usr/sbin/drill -p 2253 mx domain.tld @127.0.0.1
Time (mean ± σ): 2.4 ms ± 0.1 ms [User: 1.7 ms, System: 0.6 ms]
Range (min … max): 2.2 ms … 3.0 ms 1312 runs
Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options.
Benchmark 3: hickory-dns/target/release/resolve -n 127.0.0.1:2253 -t MX domain.tld
Time (mean ± σ): 1.9 ms ± 0.5 ms [User: 1.3 ms, System: 1.3 ms]
Range (min … max): 1.8 ms … 22.9 ms 1555 runs
Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options.
Summary
hickory-dns/target/release/resolve -n 127.0.0.1:2253 -t MX domain.tld ran
1.22 ± 0.35 times faster than /usr/sbin/drill -p 2253 mx domain.tld @127.0.0.1
5.10 ± 1.59 times faster than bind9/bin/dig/dig -p 2253 mx domain.tld @127.0.0.1
==> Benchmarks for CNAME mail.domain.tld.
Benchmark 1: bind9/bin/dig/dig -p 2253 mail.domain.tld @127.0.0.1
Time (mean ± σ): 9.2 ms ± 0.4 ms [User: 6.9 ms, System: 2.7 ms]
Range (min … max): 8.6 ms … 11.7 ms 288 runs
Benchmark 2: /usr/sbin/drill -p 2253 mail.domain.tld @127.0.0.1
Time (mean ± σ): 2.4 ms ± 0.2 ms [User: 1.7 ms, System: 0.6 ms]
Range (min … max): 2.2 ms … 3.4 ms 1318 runs
Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options.
Benchmark 3: hickory-dns/target/release/resolve -n 127.0.0.1:2253 mail.domain.tld
Time (mean ± σ): 2.0 ms ± 0.6 ms [User: 1.2 ms, System: 1.3 ms]
Range (min … max): 1.9 ms … 22.2 ms 1432 runs
Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options.
Summary
hickory-dns/target/release/resolve -n 127.0.0.1:2253 mail.domain.tld ran
1.18 ± 0.37 times faster than /usr/sbin/drill -p 2253 mail.domain.tld @127.0.0.1
4.63 ± 1.41 times faster than bind9/bin/dig/dig -p 2253 mail.domain.tld @127.0.0.1
==> All done
==> Stopping Unbound