summaryrefslogtreecommitdiff
path: root/scripts/speedtest
diff options
context:
space:
mode:
authorMartial Simon <msimon_fr@hotmail.com>2023-05-17 00:09:51 +0200
committerMartial Simon <msimon_fr@hotmail.com>2023-05-17 00:09:51 +0200
commit5d3c0b24405381a41bd13a3135fa2969c2b47a48 (patch)
treec59a2521159b90daac9e139e5ebaeaf24dd3fa0f /scripts/speedtest
parent436159f3542d4e11c81ff927ab6b22f5ad2619e0 (diff)
parentca1fba1ef518b2f55bc168e9782b500dfec67c16 (diff)
Merge branch 'main' of https://github.com/Laitram31/config
Diffstat (limited to 'scripts/speedtest')
-rwxr-xr-xscripts/speedtest8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/speedtest b/scripts/speedtest
new file mode 100755
index 0000000..a93b63a
--- /dev/null
+++ b/scripts/speedtest
@@ -0,0 +1,8 @@
+#!/bin/sh
+# usage: time speedtest cmd
+
+i=0
+while [ $i -lt 100000 ]; do
+ "$@"
+ i=$((i+1))
+done