Commit graph

358 commits

Author SHA1 Message Date
John MacFarlane
a11cbc7b57 Use timestamp when storing latest bench. 2022-03-31 10:26:06 -07:00
John MacFarlane
97a9b2e70f Makefile: allow GHCOPTS in quick-cabal target 2022-03-29 22:42:13 -07:00
John MacFarlane
3c963bf889 Use cabal for 'make bench'. 2022-03-24 12:34:17 -07:00
John MacFarlane
512da9aeb9 Makefile: Use cabal for default build 2022-03-24 11:38:39 -07:00
John MacFarlane
878c4d6607 Remove obsolete stuff from Makefile. 2022-03-16 09:04:50 -07:00
John MacFarlane
6b79e944bb Use ghc4pandoc:9.2.2 docker image for linux build 2022-03-13 10:39:38 -07:00
Albert Krewinkel
3169367475
Lua docs: allow to auto-generate Lua module documentations
No documentations are generated for now, this just adds the necessary
code and auto-formats file `doc/lua-filters.md`.
2022-02-05 13:32:02 +01:00
John MacFarlane
64a21caa6c Makefile: add 'make help', trim some useless targets. 2022-01-31 10:07:13 -08:00
John MacFarlane
09b773e1ad Use ghc4pandoc 9.0.2 image for faster linux builds. 2022-01-13 08:43:40 -08:00
John MacFarlane
a9f6ed2f97 Fix 'make trypandoc' target. 2022-01-12 22:33:56 -08:00
John MacFarlane
c0584bc699 Use ghc4pandoc 8.10.7 docker image for linux builds.
9.2.1 still fails without special treatment.
2022-01-12 18:01:42 -08:00
John MacFarlane
d3e99421b0 Use ghc 9.2.1 docker image for deb pkg. 2022-01-12 17:43:15 -08:00
John MacFarlane
c4522124aa make check: check for unreleased dependencies 2022-01-09 14:27:24 -08:00
John MacFarlane
6b0a560ae7 Improve 'make check'. 2021-12-18 09:55:16 -08:00
John MacFarlane
171bfd3d65 Makefile: use --nonmoving-gc RTS option when running benchmarks.
As recommended by tasty maintainers.
2021-10-31 13:17:57 -07:00
John MacFarlane
64eb59a7a0 Makefile: remove man/pandoc.1 dependency for debpkg. 2021-10-31 11:12:48 -07:00
John MacFarlane
90106c300a Makefile; fix quick-cabal executable path report 2021-10-10 11:24:20 -07:00
John MacFarlane
72c4064f1e Improve quick-cabal target 2021-10-05 08:45:41 -07:00
John MacFarlane
d133d737ae Use --system-ghc in make quick. 2021-09-16 20:46:05 -07:00
John MacFarlane
71b82396a2 Fix quick-cabal target 2021-09-16 19:19:38 -07:00
John MacFarlane
7b863ba04e Modernize quick-cabal Makefile target 2021-09-13 22:36:09 -07:00
John MacFarlane
d87c44ed3a Makefile: disable ansi tricks for tasty; use v2- instead of new-. 2021-09-08 09:02:28 -07:00
John MacFarlane
4c51fa1d55 Change -A256m to -A8m in GHCOPTS 2021-03-18 13:07:54 -07:00
John MacFarlane
89a89a8cf3 make_artifacts.sh: try using -j for cabal rather than -j4 ghc-options. 2021-03-18 09:14:12 -07:00
John MacFarlane
c6e5cf2e74 Benchmark improvements.
* Build `+RTS -A256m -RTS` into default ghc-options for benchmark,
  so we don't have to specify this separately on the command line.
  This is necessary to get accurate benchmark results; otherwise
  we are largely measuring garbage collecting, some not related
  to the current benchmark.
* Switch back from gauge to tasty-bench.
* Allow specifying BASELINE file in 'make bench' for comparison
  (otherwise the latest is chosen by default).
* Remove obsolete reference to weigh-pandoc from CONTRIBUTING.md.
* Remove `-Rghc-timing` from 'make bench'.
2021-03-17 13:34:17 -07:00
John MacFarlane
84836719aa Makefile: Add comment documenting benchmark settings. 2021-03-17 09:25:39 -07:00
John MacFarlane
f54e218bf8 Revert "Makefile: add --static to quick target"
This reverts commit 6075b17ae1.
2021-03-17 08:57:25 -07:00
John MacFarlane
6075b17ae1 Makefile: add --static to quick target 2021-03-16 18:04:39 -07:00
John MacFarlane
1ef3534328 Increase heap space in runtime for benchmarks.
Otherwise we're essentially benchmarking garbage collecting,
which can give very inconsistent results.
2021-03-16 15:59:50 -07:00
John MacFarlane
fdaa56cbcd Makefile: set -j4 in default GHCOPTS 2021-03-16 13:08:32 -07:00
John MacFarlane
7698918330 make quick: re-use GHCOPTS for tests 2021-03-16 13:08:01 -07:00
John MacFarlane
b6b40de7fc Use BENCHARGS in 'make bench'. 2021-03-16 13:07:37 -07:00
John MacFarlane
d0af5795f1 make quick: use -j4 to speed up build 2021-03-16 10:38:51 -07:00
John MacFarlane
ff0fcedcb3 Switch to gauge for now for benchmarks.
tasty-bench is displaying odd behavior, with different
timings depending on the `--pattern` specified.
2021-03-15 22:50:18 -07:00
John MacFarlane
78775751d9 Add compiler timings to 'make bench' 2021-03-15 18:50:21 -07:00
John MacFarlane
9bd36b03e9 Add ghcid-test to Makefile 2021-03-13 11:58:31 -08:00
John MacFarlane
09f81c16c5 Set --user in docker run to avoid permission issues.
We were unable previously to write to the artifacts directory.
2021-03-06 17:03:36 -08:00
John MacFarlane
cf175c9752 Avoid subprocess for docker run. 2021-03-06 16:59:35 -08:00
John MacFarlane
271dd9e344 make debpkg: send docker output to docker.log in the host.
Otherwise once the container is gone we can't figure out
what happened.
2021-03-06 16:34:45 -08:00
John MacFarlane
f31ddecdac Makefile: Remove ARCH 2021-03-06 13:44:36 -08:00
John MacFarlane
faa77316ca Don't --rm docker. 2021-03-06 12:31:04 -08:00
John MacFarlane
26524246d0 Fix docker image. 2021-03-06 09:50:31 -08:00
John MacFarlane
ce7706d75b More Makefile tweaks around docker linux build. 2021-03-05 23:59:50 -08:00
John MacFarlane
70f9709455 Makefile: choose linux docker image depending on arch. 2021-03-05 23:32:03 -08:00
John MacFarlane
9837444330 Makefile: exit smoothly if no prior benchmark files found. 2021-03-05 21:11:35 -08:00
John MacFarlane
5c4eb7246b Makefile: debpkg: use new multi-arch GHC 8.10.4 docker...
...created by Olivier Benz.  This should allow us to
build on arm architecture.
2021-03-05 19:11:12 -08:00
John MacFarlane
b745bf3938 make bench: compare against a baseline, use datestamps for bench results. 2021-02-19 10:22:54 -08:00
John MacFarlane
b2b32d9bb2 'make bench': Create csv files for comparison. 2021-02-18 23:22:18 -08:00
John MacFarlane
1954e894b4 Clean up benchmark code.
Now we can do patterns using `-p blah'.
2021-02-13 00:14:49 -08:00
John MacFarlane
22faea15c2 Makefile: give allocation data in benchmarks. 2021-01-31 18:18:53 -08:00