On 02/11/2022 13.32, Evan Leibovitch via talk wrote:
Hi all.

Can anyone recommend a modern alternative to "namebench <https://code.google.com/archive/p/namebench/>"?

Looks like it got forked to this project, and the Go port was updated to at least replicated the original Python 2 functions:

mrwiora/NAMEinator: NAMEinator DNS Benchmark tool (namebench successor) https://github.com/mrwiora/NAMEinator

Note that even it has hit some bitrot with the build instructions. 'go get' isn't a thing anymore, seemingly (hey, why keep something so obvious and useful?), so the build process is now described here:

 https://github.com/mrwiora/NAMEinator/issues/46#issuecomment-789247422

You might want to substitute

 $GOPATH/src/github.com/mwiora

for the various paths in that description.

Also, it seems to require go >= 1.16.1, which is newer than Debian stable. I tried to build it on a Raspberry Pi and it all went very pear-shaped. go's build errors are not very compelling: who knew that the quiet response "package embed is not in GOROOT" was a total build failure?

The results are terse, but possibly useful to someone:

 ./NAMEinator
 starting NAMEinator - version custom
 understood the following configuration: {numberOfDomains:100
 debug:false contest:true nameserver:}
 -------------
 NOTE: as this is an alpha - we rely on feedback - please report bugs
 and feature requests to https://github.com/mwiora/NAMEinator/issues
 and provide this output
 OS: linux ARCH: amd64
 -------------
 trying to load nameservers from nameserver-globals
 trying to load domains from alexa-top-2000-domains
 LETS GO
 900 / 900 [------------------------------------------------] 100.00%
 9 p/s 1m43s

 finished - presenting results:

 1.1.1.1:
 Avg. [82.974024ms], Min. [10ms], Max. [818.257401ms]

 1.0.0.1:
 Avg. [87.01652ms], Min. [10ms], Max. [1.331284997s]

 8.8.4.4:
 Avg. [87.607785ms], Min. [10ms], Max. [716.72469ms]

 8.8.8.8:
 Avg. [91.865296ms], Min. [10ms], Max. [817.38634ms]

 208.67.222.222:
 Avg. [114.947277ms], Min. [10ms], Max. [1.384931226s]

 127.0.0.53:
 Avg. [119.101241ms], Min. [10ms], Max. [718.128141ms]

 2001:470:20::2:
 Avg. [133.263523ms], Min. [10ms], Max. [614.40377ms]

 156.154.71.1:
 Avg. [136.4174ms], Min. [10ms], Max. [614.731507ms]

 216.146.35.35:
 Avg. [172.974867ms], Min. [10ms], Max. [1.33162978s]

 Au revoir!

This on about the slowest Teksavvy DSL around.

 Stewart






---
Post to this mailing list [email protected]
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk

Reply via email to