From a685fe5f7db6241036178a88b18e2b6619ed7472 Mon Sep 17 00:00:00 2001 From: Nils Steinger Date: Mon, 26 Feb 2018 23:45:06 +0100 Subject: [PATCH] Added Fastly CDN (dual-stack, unlike Cachefly) --- nench.sh | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/nench.sh b/nench.sh index 896fd02..396cfdd 100755 --- a/nench.sh +++ b/nench.sh @@ -6,7 +6,7 @@ # current version at https://github.com/n-st/nench # - loosely based on the established freevps.us/bench.sh # - includes CPU and ioping measurements -# - reduced number of speedtests (9 x 100 MB), while retaining useful European +# - reduced number of speedtests (11 x 100 MB), while retaining useful European # and North American POPs # - runs IPv6 speedtest by default (if the server has IPv6 connectivity) # Run using `curl -s bench.wget.racing | bash` @@ -126,7 +126,7 @@ then fi printf '%s\n' '-------------------------------------------------' -printf ' nench.sh v2017.06.01 -- https://git.io/nench.sh\n' +printf ' nench.sh v2018.02.26 -- https://git.io/nench.sh\n' date -u '+ benchmark timestamp: %F %T UTC' printf '%s\n' '-------------------------------------------------' @@ -255,6 +255,11 @@ then download_benchmark -4 http://cachefly.cachefly.net/100mb.test | \ Bps_to_MiBps + printf ' Fastly CDN: ' + # linux-4.0.tar.gz: 118.4 MiB + download_benchmark -4 https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.0.tar.gz | \ + Bps_to_MiBps + printf ' Leaseweb (NL): ' download_benchmark -4 http://mirror.nl.leaseweb.net/speedtest/100mb.bin | \ Bps_to_MiBps @@ -284,6 +289,11 @@ then printf ' your IPv6: %s\n' "$(redact_ip "$ipv6")" printf '\n' + printf ' Fastly CDN: ' + # linux-4.0.tar.gz: 118.4 MiB + download_benchmark -6 https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.0.tar.gz | \ + Bps_to_MiBps + printf ' Leaseweb (NL): ' download_benchmark -6 http://mirror.nl.leaseweb.net/speedtest/100mb.bin | \ Bps_to_MiBps