summaryrefslogtreecommitdiff
path: root/stress
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-03-13 11:01:05 +0200
committerLars Wirzenius <liw@liw.fi>2020-03-13 11:01:05 +0200
commit4f40365ee5b42054c500d625d5b402251f4a0fb8 (patch)
treedac4b2b6c024715ae189d7ebbdf6670e8beb7639 /stress
parent251d146c53c9269d28633549a2d822507effad03 (diff)
downloadsubplot-4f40365ee5b42054c500d625d5b402251f4a0fb8.tar.gz
Change: require counts to be given on command line
This makes it a lot easier to run the stress test with different counts.
Diffstat (limited to 'stress')
-rwxr-xr-xstress4
1 files changed, 2 insertions, 2 deletions
diff --git a/stress b/stress
index 6ad04ae..0e4d274 100755
--- a/stress
+++ b/stress
@@ -2,8 +2,8 @@
set -eu
-NSCEN=1000
-NSTEP=100
+NSCEN="$1"
+NSTEP="$2"
ts() {
local start="$1"