summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-10-18 16:09:54 +0300
committerLars Wirzenius <liw@liw.fi>2020-10-18 16:09:54 +0300
commit0f38069c7de58180f192a48cc1c4da49a1823688 (patch)
tree1f9c1c7996146cf5a960a43fa3ab6598fc93529b
parenta7331303162b4fb5d8d588938b9bb65688134488 (diff)
downloadbenchmarker-0f38069c7de58180f192a48cc1c4da49a1823688.tar.gz
rename function
-rwxr-xr-xbenchmarker6
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmarker b/benchmarker
index da2ad06..8dd1df9 100755
--- a/benchmarker
+++ b/benchmarker
@@ -32,7 +32,7 @@ cpubench_xz()
rm -f "$filename"
}
-netbench()
+network_localhost()
{
local filename
local port
@@ -55,8 +55,8 @@ do
cpu)
cpubench_xz
;;
- network)
- netbench
+ network-localhost)
+ netbench_localhost
;;
*)
die "unknown benchmark type $bench"