Trivial little script that counts to a large number.
authorChris Wilson <cpwilson@src.gnome.org>
Wed, 21 Feb 2007 17:22:30 +0000 (17:22 +0000)
committerChris Wilson <cpwilson@src.gnome.org>
Wed, 21 Feb 2007 17:22:30 +0000 (17:22 +0000)
svn path=/trunk/; revision=1712

perf/inc.sh [new file with mode: 0755]

diff --git a/perf/inc.sh b/perf/inc.sh
new file mode 100755 (executable)
index 0000000..fcd3e7c
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+cnt=$1
+[ -n "$cnt" ] || cnt=500000
+
+x=0
+while [ $x -lt $cnt ]; do
+       echo $x
+       x=$(($x + 1))
+done