diff --git a/main.sh b/main.sh index 2cb97b6..691eb09 100755 --- a/main.sh +++ b/main.sh @@ -57,35 +57,33 @@ echo echo '==> Starting Unbound' unbound -c ./unbound.conf -dp 2>unbound.log & unbound_pid=$! -sleep 2 +sleep 4 -alias bench='hyperfine -N -w 40' - echo echo '==> Benchmarks for A domain.tld.' -bench \ +hyperfine -N -w 30 \ "$exe_dig -p 2253 domain.tld @127.0.0.1" \ "$exe_drill -p 2253 domain.tld @127.0.0.1" \ "$exe_hr -n 127.0.0.1:2253 domain.tld" echo echo '==> Benchmarks for AAAA domain.tld.' -bench \ +hyperfine -N -w 30 \ "$exe_dig -p 2253 aaaa domain.tld @127.0.0.1" \ "$exe_drill -p 2253 aaaa domain.tld @127.0.0.1" \ "$exe_hr -n 127.0.0.1:2253 -t AAAA domain.tld" echo echo '==> Benchmarks for MX domain.tld.' -bench \ +hyperfine -N -w 30 \ "$exe_dig -p 2253 mx domain.tld @127.0.0.1" \ "$exe_drill -p 2253 mx domain.tld @127.0.0.1" \ "$exe_hr -n 127.0.0.1:2253 -t MX domain.tld" echo echo '==> Benchmarks for CNAME mail.domain.tld.' -bench \ +hyperfine -N -w 30 \ "$exe_dig -p 2253 mail.domain.tld @127.0.0.1" \ "$exe_drill -p 2253 mail.domain.tld @127.0.0.1" \ "$exe_hr -n 127.0.0.1:2253 mail.domain.tld"