-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
35 lines (27 loc) · 1.01 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
################################################################################
# Configuration
################################################################################
GHC = ghc
GHCI = ghci
GHC_FLAGS = -O2 -fforce-recomp -ibenchmarks -isrc -itests
BENCHMARK_FLAGS = --resamples 10000
################################################################################
# Tests
################################################################################
# Run the tests
test:
$(GHC) $(GHC_FLAGS) -fhpc --make tests/TestSuite.hs
rm -f TestSuite.tix
./tests/TestSuite
# HPC
test-hpc:
hpc markup --destdir=hpc TestSuite
################################################################################
# Benchmarks
################################################################################
benchmark:
cabal bench --benchmark-options="--resamples 10000 -o report.html"
benchmark-bigtable-non-haskell:
ruby benchmarks/bigtable/erb.rb
ruby benchmarks/bigtable/erubis.rb
php -n benchmarks/bigtable/php.php