Skip to content

Commit 85297ff

Browse files
authored
Merge pull request #481 from haskell/cabal-sublibs
Expose benchmarks as public sublibrary
2 parents f21d174 + 8fb5d17 commit 85297ff

File tree

16 files changed

+154
-160
lines changed

16 files changed

+154
-160
lines changed

vector/benchmarks/Algo/AwShCC.hs renamed to vector/benchlib/Bench/Vector/Algo/AwShCC.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{-# OPTIONS -fno-spec-constr-count #-}
2-
module Algo.AwShCC (awshcc) where
2+
module Bench.Vector.Algo.AwShCC (awshcc) where
33

44
import Data.Vector.Unboxed as V
55

vector/benchmarks/Algo/FindIndexR.hs renamed to vector/benchlib/Bench/Vector/Algo/FindIndexR.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Algo.FindIndexR (findIndexR, findIndexR_naive, findIndexR_manual)
1+
module Bench.Vector.Algo.FindIndexR (findIndexR, findIndexR_naive, findIndexR_manual)
22
where
33

44
import Data.Vector.Unboxed (Vector)

vector/benchmarks/Algo/HybCC.hs renamed to vector/benchlib/Bench/Vector/Algo/HybCC.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Algo.HybCC (hybcc) where
1+
module Bench.Vector.Algo.HybCC (hybcc) where
22

33
import Data.Vector.Unboxed as V
44

vector/benchmarks/Algo/Leaffix.hs renamed to vector/benchlib/Bench/Vector/Algo/Leaffix.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Algo.Leaffix where
1+
module Bench.Vector.Algo.Leaffix where
22

33
import Data.Vector.Unboxed as V
44

vector/benchmarks/Algo/ListRank.hs renamed to vector/benchlib/Bench/Vector/Algo/ListRank.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Algo.ListRank
1+
module Bench.Vector.Algo.ListRank
22
where
33

44
import Data.Vector.Unboxed as V

vector/benchmarks/Algo/MutableSet.hs renamed to vector/benchlib/Bench/Vector/Algo/MutableSet.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{-# LANGUAGE BangPatterns #-}
22

3-
module Algo.MutableSet
3+
module Bench.Vector.Algo.MutableSet
44
where
55

66
import Prelude hiding(length, read)

vector/benchmarks/Algo/Quickhull.hs renamed to vector/benchlib/Bench/Vector/Algo/Quickhull.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Algo.Quickhull (quickhull) where
1+
module Bench.Vector.Algo.Quickhull (quickhull) where
22

33
import Data.Vector.Unboxed as V
44

vector/benchmarks/Algo/Rootfix.hs renamed to vector/benchlib/Bench/Vector/Algo/Rootfix.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Algo.Rootfix where
1+
module Bench.Vector.Algo.Rootfix where
22

33
import Data.Vector.Unboxed as V
44

vector/benchmarks/Algo/Spectral.hs renamed to vector/benchlib/Bench/Vector/Algo/Spectral.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Algo.Spectral ( spectral ) where
1+
module Bench.Vector.Algo.Spectral ( spectral ) where
22

33
import Data.Vector.Unboxed as V
44

vector/benchmarks/Algo/Tridiag.hs renamed to vector/benchlib/Bench/Vector/Algo/Tridiag.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Algo.Tridiag ( tridiag ) where
1+
module Bench.Vector.Algo.Tridiag ( tridiag ) where
22

33
import Data.Vector.Unboxed as V
44

0 commit comments

Comments
 (0)