Commit Graph

83 Commits

Author SHA1 Message Date
Harendra Kumar
455d6837be Fix some test failures in the run-ci.sh script 2021-12-08 09:50:51 +05:30
Harendra Kumar
4e04e4767e Separate dev-perf and dev-test
Include dev-test in the release test-suite
2021-12-08 09:50:31 +05:30
adithyaov
19ed6fc240 Bump the patch version and update the relevant files 2021-12-05 01:17:58 +05:30
Harendra Kumar
8a53a3fdaf Add --union flag to "hpc sum" for correct coverage 2021-12-01 03:03:16 +05:30
Harendra Kumar
9e28080d16 Fix quoting issue in flag passing 2021-11-30 04:41:31 +05:30
adithyaov
e634a8b39d Bump the package version to 0.8.1 in the bash scripts 2021-11-24 10:31:42 +05:30
Harendra Kumar
40d75167ae Fix TEST_QUICK_MODE syntax error 2021-11-06 17:14:07 +05:30
Harendra Kumar
1232ae095a Fix integer comparison issue for quick mode 2021-10-17 16:37:09 +05:30
Harendra Kumar
b4f6e6e860 Add a --quick option
--quick disables optimizations during build.
2021-10-12 18:57:14 +05:30
Harendra Kumar
b82985820e Disable rate tests taking too much memory 2021-09-14 23:11:17 +05:30
Adithya Kumar
705d2cf79f Move test:Unicode.Char into dev build 2021-09-13 18:48:12 +05:30
Harendra Kumar
dcabd3a70c Use proper quoting, add "--flag dev" for dev-build 2021-09-13 17:19:38 +05:30
Harendra Kumar
57a2938376 Use limit-build-mem flag when building 2021-09-05 14:03:10 +05:30
Harendra Kumar
9b8398668a Fix array comparison benchmarks 2021-09-03 14:50:38 +00:00
Harendra Kumar
0cfd6251c1 Use limit-build-mem by default in bench/test scripts
Otherwise we may accidentally run into memory hog issues.
2021-09-03 03:57:40 +05:30
Adithya Kumar
4e7c9ef961 Fix bin/targets.sh 2021-08-27 16:26:21 +05:30
Harendra Kumar
263da09804 Fix stack requirement for the choice benchmark 2021-08-20 00:47:56 +05:30
Harendra Kumar
3c14488d68 Fix the import path of build-lib 2021-08-20 00:09:16 +05:30
adithyaov
08ee39b078 Add unicode normalization test-suite 2021-08-09 19:43:40 +05:30
Adithya Kumar
7830df9314 Add simple bench suite for Unicode.Utf8 2021-07-30 19:01:54 +05:30
Harendra Kumar
6157069edd Create a release ci suite 2021-07-29 12:31:11 +05:30
Harendra Kumar
bd451ec7ed Add an example, remove unused code 2021-07-29 02:15:46 +05:30
Harendra Kumar
2b8c70bfac Refactor and improve error reporting 2021-07-29 02:15:46 +05:30
Harendra Kumar
0cbcf0b4ab Factor out targets.sh to be used in test.sh as well 2021-07-29 02:12:40 +05:30
Harendra Kumar
cffe01216b Move the bench-runner script to bench-report pkg 2021-07-29 02:12:40 +05:30
Harendra Kumar
ac3ed9a197 Move the generic bench runner scripts to bench-report 2021-07-29 02:12:40 +05:30
Harendra Kumar
1a17e2db4b Create a bench-runner wrapper that uses bench-config
Consolidate the specific customizations to bench-config.sh.

Integrate bench-exec-one.sh into the main bench.sh script. After the
gauge/tasty unification changes, we do not have a requirement for a
separate executable now.

Now we can push the generic part of the script to the benchmark/bench-report
package. And that package can be reused by streaming-benchmarks as well.
We can make that as a submodule.

Ultimately we should be converting these shell scripts to Haskell.
2021-07-29 02:12:40 +05:30
Harendra Kumar
2ab247b559 Refactor to make it more generic
So that it can be reused in streaming-benchmarks package too.

Also add comparison option to compare the set of benchmarks provided on
the command line.
2021-07-29 02:12:40 +05:30
Harendra Kumar
4f629b8cb3 Bump the version to 0.8.0 2021-06-24 13:37:10 +05:30
Harendra Kumar
f5470713c2 Update CI test matrix requirements and the script
Also, fix a few test issues to make the CIs work.
2021-06-22 22:54:41 +05:30
Harendra Kumar
b14e43a187 Increase stack size for array foldable instance 2021-06-22 22:50:12 +05:30
Harendra Kumar
424f1e9871 Fix the space requirements of two benchmarks
Move showInstance benchmark for pure streams to o-n-space
Increase the heap space for array map x 4
2021-06-22 22:50:12 +05:30
Harendra Kumar
595331343a Update cabal/nix build code for bench-report 2021-06-17 17:08:05 +05:30
Ranjeet Kumar Ranjan
8fd51b2a37 Seperate chart build from benchmarks
Add extra-source-files to streamly.cabal

Fix review comments

Rename Chart.hs to BenchReport.hs

Fix extra-source-files

Remove no-charts flag
2021-06-17 17:08:05 +05:30
Harendra Kumar
f2b2aa4154 Refactor coverage report code 2021-06-15 17:53:20 +05:30
Harendra Kumar
3feeec2e8e Check for GNU awk 2021-06-08 23:54:04 +05:30
Harendra Kumar
cc198c5b8d Fix gauge benchmark name matching 2021-06-08 23:54:04 +05:30
Harendra Kumar
9a98ee00d5 Bump the heap limit for tasty-bench
For Data.Array/o-1-space/generation/show and similar benchmarks.
2021-06-08 23:54:04 +05:30
Harendra Kumar
5537b0bfc2 Add --sort-by-name flag
To sort the benchmarks by name instead of sorting them by field value or
percent diff.
2021-06-08 23:54:04 +05:30
Harendra Kumar
edbb7b8010 Fix error handling, use pipefail
* Also, fix --prefix not working due to missing ";"
* Fix correct benchmark name to be printed
2021-06-08 23:54:04 +05:30
Harendra Kumar
b0fdda43d5 Fix missing benchmarks 2021-06-08 23:54:04 +05:30
Harendra Kumar
03218ad71b Cleanup, fix issues in bench.sh 2021-06-08 23:54:04 +05:30
Ranjeet Kumar Ranjan
b68baf3c51 Add support for benchmarking with tasty-bench
tasty-bench has fewer dependencies and is agile to keep up with new GHC
versions. This change is especially motivated by support for GHC 9.0.1.
gauge depends on foundation/basement which lagging much behind and seem
to be unmaintained.
2021-06-08 23:54:04 +05:30
Harendra Kumar
a7ba0701ec Add a hack to find "chart" executable
We can always use the chart executable built by any compiler version.
Sometimes the chart executable is not buildable by newer compiler
versions, in that case we can build it using another compiler and use
that.
2021-04-26 12:21:10 +05:30
Adithya Kumar
4f556e8b4d Make Parser initial of type Initial 2021-03-05 03:04:35 +05:30
Harendra Kumar
f32a16628e Fix syntax error due to bad comment 2021-03-05 01:47:02 +05:30
Harendra Kumar
37562825e9 Increase stack limit of sum-product-fold for GHC-9.0 2021-03-04 18:25:45 +05:30
Harendra Kumar
3c428a1139 Fix --help command for run-ci.sh 2021-02-20 09:55:41 +05:30
Harendra Kumar
1a51cab61a Add a script to run CIs locally using nix/packcheck 2021-02-18 18:18:35 +05:30
Harendra Kumar
d2d0e16d53 Add a ghc wrapper to invoke ghc on individual files
With all the extensions used in streamly, optimization options and
ddump-simpl options.

This is useful for compiling standalone files, when inspecting core for
perf issues.  I wish cabal could invoke ghc with environment from the
cabal file. Can it?
2021-02-15 15:41:05 +05:30