Commit Graph

798 Commits

Author SHA1 Message Date
Harendra Kumar
829f929672 inline foldl1' 2018-10-29 05:04:33 +05:30
Harendra Kumar
23e2bdd13f disable building benchmarks for ghc-8.2.2 build
And avoid using 8.2.2 in other builds
2018-10-29 04:00:27 +05:30
Harendra Kumar
819786eca9 Add transformation/filtering/mixed composition benchmarks 2018-10-29 00:21:16 +05:30
Harendra Kumar
1ddd81b818 Use correct statistics pkg, fix graph option 2018-10-28 20:16:16 +05:30
Harendra Kumar
2bd1ada0b7 Remove incorrect help line 2018-10-28 01:50:34 +05:30
Harendra Kumar
0914c06330 Add comments to explain inlining/fusion/rewrite-rules 2018-10-28 01:49:44 +05:30
Harendra Kumar
06242af0df Add a README for benchmarks 2018-10-27 14:22:11 +05:30
Harendra Kumar
d9188336a3 Document "race" using exceptions 2018-10-27 01:17:56 +05:30
Harendra Kumar
a615989f94 Do not fully saturate the type synonyms
If we define type Serial a = SerialT IO a, then we cannot use Serial where we
need SerialT IO.
2018-10-27 00:27:19 +05:30
Harendra Kumar
30a1700237 Fix and update reference doc links 2018-10-27 00:04:55 +05:30
Harendra Kumar
a42e2239cd bump minor version 2018-10-26 20:35:09 +05:30
Harendra Kumar
165f2a23aa Add control-flow monad transformers' examples 2018-10-26 20:01:28 +05:30
Harendra Kumar
5cbcd5bd24 update README (exceptions), add doc on transformers 2018-10-26 17:12:14 +05:30
Harendra Kumar
dc7f419bb2 cleanup any pending threads on exception 2018-10-26 16:46:23 +05:30
Harendra Kumar
e810658dfe Fix monadic state capture and restore for concurrent tasks
This causes up to 30% regression in async stream generation benchmarks and up
to 200% regression in async nested benchmarks. Mostly, due to an additional
functional call that cannot be inlined.
2018-10-22 13:37:39 +05:30
Harendra Kumar
ba5a8c44b8 fix extra-deps in stack configs 2018-10-22 13:02:26 +05:30
Harendra Kumar
36229e1267 update gauge version 2018-10-21 20:23:51 +05:30
Harendra Kumar
354f7615fa lint free examples 2018-10-13 13:15:22 +05:30
Harendra Kumar
bf81f70a4e lint free tests 2018-10-13 10:36:06 +05:30
Harendra Kumar
bf39d27446 lint free benchmarks 2018-10-13 08:52:09 +05:30
Harendra Kumar
8b8fd22578 satisfy hlint (pragmas, imports, <> instead of ++) 2018-10-13 08:52:08 +05:30
Harendra Kumar
a0b1ac878e Fix building benchmarks during comparison
Add an "all" benchmarks option to run all benchmarks at once.
2018-10-13 06:29:06 +05:30
Harendra Kumar
3b80308e49 make output msgs more specific when comparing commits 2018-10-13 04:08:45 +05:30
Harendra Kumar
38aa5f2d0c Refactor code, add asserts, better test output 2018-10-13 04:05:01 +05:30
Harendra Kumar
1f72b61cee Add inspectMode combinator
inspectMode adds the ability to turn on diagnostics programmatically. Earlier
we had to use a different build for diagnostics. The perf impact is negligible,
and mostly on "maxBuffer 1" cases.
2018-10-12 18:41:39 +05:30
Harendra Kumar
0965e59b6b use bench-show for benchmark reporting 2018-10-11 14:49:16 +05:30
Harendra Kumar
acbfca3502 separate the rate benchmarks
rate benchmarks require longer time to run to provide stable results
2018-10-11 07:19:42 +05:30
Harendra Kumar
bdd8a4df50 sort on index 0 if column index 1 is not available 2018-10-10 12:39:27 +05:30
Harendra Kumar
a929a1682c add linear-async, base streams benchmark reporting
split linear to separate serial and parallel modules. Parallel modules use
lower number of elements in the stream so that they can run faster.
2018-10-10 12:39:27 +05:30
Harendra Kumar
54bb7ea8fd modularize benchmark charting code, use newer bench-graph 2018-10-10 12:39:27 +05:30
Harendra Kumar
0ef728a55f remove the Quit constructor 2018-10-10 12:39:27 +05:30
Harendra Kumar
49542d2445 Fix ahead style nil stream merging live lock 2018-10-10 12:39:27 +05:30
Harendra Kumar
27d277c8cd Simplify code in processWithToken 2018-10-10 12:39:27 +05:30
Harendra Kumar
907f9adc34
Merge pull request #106 from wygulmage/lint
ran src through hlint, made most changes; added .hlint.yaml.
2018-10-07 09:38:10 +05:30
Keith
6c9d241f73 ran src through hlint, made most changes; added .hlint.yaml. 2018-10-01 11:02:10 -04:00
Harendra Kumar
1c9e94809f Update and reorganize the prelude API docs 2018-09-17 17:01:17 +05:30
Harendra Kumar
8c07d9602a make some minor edits 2018-09-14 20:04:27 +05:30
Harendra Kumar
3594a56a79 Create a separate overview section 2018-09-13 19:00:05 +05:30
Harendra Kumar
875b3a00b7 update README 2018-09-13 17:37:02 +05:30
Harendra Kumar
3ce061d81c Add missing Async.md doc file to packaged files 2018-09-13 09:38:14 +05:30
Harendra Kumar
4c356cee04 update containers' version bound 2018-09-12 21:25:59 +05:30
Harendra Kumar
3e24dc1a97 update reference for comparison with existing packages 2018-09-12 21:12:57 +05:30
Harendra Kumar
5688ad0348 bump minor version 2018-09-12 21:01:22 +05:30
Harendra Kumar
5284add0e0 mention API similarity to vector 2018-09-12 20:53:43 +05:30
Harendra Kumar
4100822c84 update README 2018-09-12 16:19:16 +05:30
Harendra Kumar
83dc30a7fe disable some intermittently failing tests
These are parallel/concurrent tests that fail due to unpredictable delays in
scheduling.
2018-09-12 12:39:18 +05:30
Harendra Kumar
cca869f7ed Fix a rate control issue
We were not sending enough workers in the end when the streaming is finishing.
Also, limit the estimated workers to the number of yields required.
2018-09-12 11:13:56 +05:30
Harendra Kumar
e583f563e0 remove heap delayed output check
it caused the "nested" benchmark to become much worse for aheadly and made
memory utilization more in linear aheadly/unfoldrM benchmark (3MB became 10MB)
2018-09-11 14:24:27 +05:30
Harendra Kumar
77d13bc31a stop the workers when heap is being cleared
If we keep the workers running and picking up more work it starves the heap
clearing worker (it is single threaded) and therefore the heap piles up to a
large size.
2018-09-11 12:55:52 +05:30
Harendra Kumar
9d08a586b0 Disringuish the heap clearing and waiting states 2018-09-10 18:50:00 +05:30