[commit: ghc] ghc-lwc2: Added runner shell script for Sieve (cd8345d)
Sivaramakrishnan Krishnamoorthy Chandrasekaran
t-sichan at microsoft.com
Tue Apr 23 18:34:14 CEST 2013
Repository : http://darcs.haskell.org/ghc.git/
On branch : ghc-lwc2
https://github.com/ghc/ghc/commit/cd8345d0b474a94e41511384131f0b7197d52763
>---------------------------------------------------------------
commit cd8345d0b474a94e41511384131f0b7197d52763
Author: KC Sivaramakrishnan <chandras at cs.purdue.edu>
Date: Tue Apr 23 12:34:05 2013 -0400
Added runner shell script for Sieve
>---------------------------------------------------------------
tests/Benchmarks/Sieve/run.sh | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/tests/Benchmarks/Sieve/run.sh b/tests/Benchmarks/Sieve/run.sh
new file mode 100755
index 0000000..816cf2e
--- /dev/null
+++ b/tests/Benchmarks/Sieve/run.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+echo "PROGRAM="$1
+for i in 48 32 16 8 4 2 1
+do
+ echo "NumProcessors="$i
+ for j in {0..5}
+ do
+ time $1 +RTS -N$i -RTS 5000 > /dev/null
+ done
+done
More information about the ghc-commits
mailing list