Clean up benchmarks
authorRoman Leshchinskiy <rl@cse.unsw.edu.au>
Fri, 23 Apr 2010 11:47:38 +0000 (11:47 +0000)
committerRoman Leshchinskiy <rl@cse.unsw.edu.au>
Fri, 23 Apr 2010 11:47:38 +0000 (11:47 +0000)
16 files changed:
benchmarks/Algo/AwShCC.hs [moved from bench/algorithms/Algo/AwShCC.hs with 100% similarity]
benchmarks/Algo/HybCC.hs [moved from bench/algorithms/Algo/HybCC.hs with 100% similarity]
benchmarks/Algo/Leaffix.hs [moved from bench/algorithms/Algo/Leaffix.hs with 100% similarity]
benchmarks/Algo/ListRank.hs [moved from bench/algorithms/Algo/ListRank.hs with 100% similarity]
benchmarks/Algo/Quickhull.hs [moved from bench/algorithms/Algo/Quickhull.hs with 100% similarity]
benchmarks/Algo/Rootfix.hs [moved from bench/algorithms/Algo/Rootfix.hs with 100% similarity]
benchmarks/Algo/Spectral.hs [moved from bench/algorithms/Algo/Spectral.hs with 100% similarity]
benchmarks/Algo/Tridiag.hs [moved from bench/algorithms/Algo/Tridiag.hs with 100% similarity]
benchmarks/LICENSE [new file with mode: 0644]
benchmarks/Main.hs [moved from bench/algorithms/Main.hs with 100% similarity]
benchmarks/Setup.hs [new file with mode: 0644]
benchmarks/TestData/Graph.hs [moved from bench/algorithms/TestData/Graph.hs with 100% similarity]
benchmarks/TestData/ParenTree.hs [moved from bench/algorithms/TestData/ParenTree.hs with 100% similarity]
benchmarks/TestData/Random.hs [moved from bench/algorithms/TestData/Random.hs with 100% similarity]
benchmarks/vector-benchmarks.cabal [moved from bench/algorithms/algorithms.cabal with 93% similarity]
vector.cabal

diff --git a/benchmarks/LICENSE b/benchmarks/LICENSE
new file mode 100644 (file)
index 0000000..fc213a6
--- /dev/null
@@ -0,0 +1,30 @@
+Copyright (c) 2008-2009, Roman Leshchinskiy
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+- Redistributions of source code must retain the above copyright notice,
+this list of conditions and the following disclaimer.
+- Redistributions in binary form must reproduce the above copyright notice,
+this list of conditions and the following disclaimer in the documentation
+and/or other materials provided with the distribution.
+- Neither name of the University nor the names of its contributors may be
+used to endorse or promote products derived from this software without
+specific prior written permission. 
+
+THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY COURT OF THE UNIVERSITY OF
+GLASGOW AND THE CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
+INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+UNIVERSITY COURT OF THE UNIVERSITY OF GLASGOW OR THE CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGE.
+
similarity index 100%
rename from bench/algorithms/Main.hs
rename to benchmarks/Main.hs
diff --git a/benchmarks/Setup.hs b/benchmarks/Setup.hs
new file mode 100644 (file)
index 0000000..200a2e5
--- /dev/null
@@ -0,0 +1,3 @@
+import Distribution.Simple
+main = defaultMain
+
similarity index 93%
rename from bench/algorithms/algorithms.cabal
rename to benchmarks/vector-benchmarks.cabal
index caa8c86..d168336 100644 (file)
@@ -1,5 +1,5 @@
-Name:           vector-bench-algorithms
-Version:        0.1
+Name:           vector-benchmarks
+Version:        0.6
 License:        BSD3
 License-File:   LICENSE
 Author:         Roman Leshchinskiy <rl@cse.unsw.edu.au>
index cef4179..ece52f5 100644 (file)
@@ -62,6 +62,21 @@ Extra-Source-Files:
       tests/Utilities.hs
       tests/Tests/Stream.hs
       tests/Tests/Vector.hs
+      benchmarks/vector-benchmarks.cabal
+      benchmarks/LICENSE
+      benchmarks/Setup.hs
+      benchmarks/Main.hs
+      benchmarks/Algo/AwShCC.hs
+      benchmarks/Algo/HybCC.hs
+      benchmarks/Algo/Leaffix.hs
+      benchmarks/Algo/ListRank.hs
+      benchmarks/Algo/Quickhull.hs
+      benchmarks/Algo/Rootfix.hs
+      benchmarks/Algo/Spectral.hs
+      benchmarks/Algo/Tridiag.hs
+      benchmarks/TestData/Graph.hs
+      benchmarks/TestData/ParenTree.hs
+      benchmarks/TestData/Random.hs
       internal/GenUnboxTuple.hs
       internal/unbox-tuple-instances