Renaming nench to snench

This commit is contained in:
Yavuz Aydın 2021-04-15 15:33:16 +02:00
parent 7a061485ba
commit 637546a087
5 changed files with 29 additions and 19 deletions

1
CNAME
View File

@ -1 +0,0 @@
bench.wget.racing

View File

@ -1 +0,0 @@
nench.sh

View File

@ -1 +0,0 @@
nench.sh

Binary file not shown.

View File

@ -1,18 +1,31 @@
#!/usr/bin/env bash
##########
# nench.sh ("new bench.sh")
# =========================
# 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
# and North American POPs
# - runs IPv6 speedtest by default (if the server has IPv6 connectivity)
# Run using `curl -s bench.wget.racing | bash`
# or `wget -qO- bench.wget.racing | bash`
# - list of possibly required packages: curl,gawk,coreutils,util-linux,procps,ioping
##########
#########################################################################################################################################################################
# #
# 88 #
# 88 #
# 88 #
# ,adPPYba, 8b,dPPYba, ,adPPYba, 88 ,adPPYba, ,adPPYba, 88,dPYba,,adPYba, #
# I8[ "" 88P' `"8a a8P_____88 88 a8" "" a8" "8a 88P' "88" "8a #
# `"Y8ba, 88 88 8PP""""""" 88 8b 8b d8 88 88 88 #
# aa ]8I 88 88 "8b, ,aa 88 888 "8a, ,aa "8a, ,a8" 88 88 88 #
# `"YbbdP"' 88 88 `"Ybbd8"' 88 888 `"Ybbd8"' `"YbbdP"' 88 88 88 #
# #
# #
#########################################################################################################################################################################
# #
# Author: Snel.com - Yavuz Aydin #
# E-mail: support@snel.com #
# (c) Snel.com - all rights reserved #
# #
#########################################################################################################################################################################
# #
# Script: snench.sh #
# License: This file is licensed under the Apache License, Version 2.0 #
# Purpose: Easy and fast benchmarks! #
# Current version: https://git.snel.com/snelcom/snench #
# Usage: bash <(curl -s https://git.snel.com/snelcom/snench/raw/branch/master/snench.sh || wget -qO- https://git.snel.com/snelcom/snench/raw/branch/master/snench.sh) #
# #
#########################################################################################################################################################################
command_exists()
{
@ -127,7 +140,7 @@ then
fi
printf '%s\n' '-------------------------------------------------'
printf ' nench.sh v2019.07.20 -- https://git.io/nench.sh\n'
printf ' snench.sh v2021.04.15 -- https://git.snel.com/snelcom/snench\n'
date -u '+ benchmark timestamp: %F %T UTC'
printf '%s\n' '-------------------------------------------------'
@ -135,7 +148,7 @@ printf '\n'
if ! command_exists ioping
then
curl -s --max-time 10 -o ioping.static http://wget.racing/ioping.static
curl -s https://git.snel.com/snelcom/snench/raw/branch/master/ioping.static || wget -qO- https://git.snel.com/snelcom/snench/raw/branch/master/ioping.static
chmod +x ioping.static
ioping_cmd="./ioping.static"
else