Commit Graph

3492 Commits

Author SHA1 Message Date
Harendra Kumar
8dfcadfd9b Implement findM fold 2022-07-20 01:53:37 +05:30
Harendra Kumar
c366e2d5e2 Use unfolds in all stream generation ops
Based on a build flag. We want to benchmark how these operations perform
when unfolds are used. This is to investigate if we can replace these
ops with just unfolds or implement these in terms of unfolds to improve
modularity.

Increase memory for Split benchmarks for use-unfolds flag.
2022-07-19 02:45:34 +05:30
Harendra Kumar
fab76f2dc8 Increase runtime heap for Unicode.Char benchmarks 2022-07-18 16:44:17 +05:30
Harendra Kumar
be6cadb442 Remove Prim and Small ararys from bench targets 2022-07-18 16:01:38 +05:30
Harendra Kumar
00f5d9f42d Use the SPEC argument on all recursive cases 2022-07-18 14:46:56 +05:30
Harendra Kumar
bc49c3d731 Fix fusion issue in multi-stream folds
Fix fusion issue in isSubsequenceOf, isPrefixOf, stripPrefix, the
2022-07-18 13:29:18 +05:30
Harendra Kumar
efa19570f8 Allow base-4.17, ghc-9.4
Increase benchmark memory for ghc-9.5
2022-07-18 12:48:01 +05:30
Harendra Kumar
d0ed396d11 Add some missing benchmark modules to hie.yaml 2022-07-18 01:48:16 +05:30
Harendra Kumar
418fd465fc Update bench-runner's default.nix file 2022-07-18 01:39:40 +05:30
Adithya Kumar
14ee0b7036 Add Data.Ring.Unboxed to targets 2022-07-11 18:51:43 +05:30
Adithya Kumar
6273643c2d Add benchmarks for unboxed ring array 2022-07-11 18:51:43 +05:30
Adithya Kumar
aaa279c9b2 Add tests for unboxed ring array 2022-07-11 18:51:43 +05:30
Adithya Kumar
c361a315e3 Add some test cases for unboxed array 2022-07-08 16:51:03 +05:30
Harendra Kumar
71b0c0dd39 Refactor "the", "nub", add nubInt
Express countDistinct and countDistinctInt in terms of nub/nubInt
2022-07-05 15:03:45 +05:30
Ranjeet Kumar Ranjan
323d3382d0 Implement "the" as a Fold 2022-07-05 14:54:42 +05:30
Harendra Kumar
fe597c2339 Add the "frequency" fold 2022-07-05 14:27:54 +05:30
Harendra Kumar
0f951fb3fb Refactor "nub", rename it to "frequency" 2022-07-05 14:27:54 +05:30
Ranjeet Kumar Ranjan
40a4bbc993 Implement nub in Fold.Window module 2022-07-04 23:30:02 +05:30
Harendra Kumar
812fe4cec2 Update the documentation of 'minimum' 2022-07-04 23:16:49 +05:30
Ranjeet Kumar Ranjan
cdfda9b500 Change pollCount signature 2022-07-04 18:04:52 +05:30
Ranjeet Kumar Ranjan
8ac1ad15c2 Implement nub as Fold 2022-07-04 17:55:33 +05:30
Adithya Kumar
3e76123e53 Add couple of test cases for foreign mutable array 2022-06-30 17:51:39 +05:30
Harendra Kumar
4912b1d923
Merge pull request #1644 from composewell/NewStream_more_functions
New Stream more functions
2022-06-23 18:45:54 +05:30
Harendra Kumar
6cfe06b357 Refactor, document, fixup Data.Stream module
Minimize the difference with IsStream modules and fix the differences

Fix all doctests, remove stale since notations

Remove redundant functions from Stream/Common module

Remove the "map" operation, we should use "fmap" instead.
2022-06-23 16:50:16 +05:30
Ranjeet Kumar Ranjan
4f929f3ed3 Add Data.Stream module for serial streams
This module will replace SerialT type with Stream type. The new serial
stream type "Stream m a" has the same underlying representation as
"SerialT m a" and the two types can be coerced to each other.
2022-06-23 16:29:40 +05:30
Adithya Kumar
24f3447437 Update the CHANGELOG with the Storable -> Prim migration 2022-06-23 16:09:57 +05:30
Adithya Kumar
b95d3c4d1d Add a CI workflow the uses storable for unboxed arrays 2022-06-23 16:09:57 +05:30
Adithya Kumar
adc2e75b5d Abstract out Unboxing helpers and comment out IOVec code 2022-06-23 16:09:57 +05:30
Adithya Kumar
ffca3ac5fe Pin the package revisions in cabal.project.report 2022-06-23 13:39:02 +05:30
Harendra Kumar
9861120b4a Implement fromListRevN and fromListRev for arrays 2022-06-20 16:15:20 +05:30
Adithya Kumar
4e252a890b Remove duplicate function (lmap2) in Producer module 2022-06-19 15:52:20 +05:30
Adithya Kumar
12c778795c Make the doc of Stream.trace work with docspec 2022-06-18 22:22:39 +05:30
Adithya Kumar
338734663a Add trace to folds 2022-06-18 22:22:39 +05:30
Adithya Kumar
bd13edb77c Reuse mutable array producer code in immutable arrays 2022-06-11 21:10:48 +05:30
Adithya Kumar
8bfff35b44 Add another type of input mapping in Producer 2022-06-11 21:10:48 +05:30
Adithya Kumar
bf8561e18d Reuse mutable array code in Foreign.Type 2022-06-11 21:10:48 +05:30
Adithya Kumar
0d5a96eacc Improve mutable foreign array benchmarks 2022-06-11 19:22:07 +05:30
Adithya Kumar
c2acb453e7 Make the sum fold numerically stable 2022-06-11 19:21:46 +05:30
Adithya Kumar
0d2ce6ca76 Deprecate variance and stdDev in folds 2022-06-11 19:18:01 +05:30
Adithya Kumar
f81f8b5bf3 Add a packdiff CI using the default executable 2022-06-11 19:06:25 +05:30
Adithya Kumar
d4c20981e6 Rename the smart constructors of terminating folds 2022-06-11 16:11:18 +05:30
Adithya Kumar
3773fca776 Update the benchmarks guide and fix the default.nix of bench-runner 2022-06-11 15:43:14 +05:30
Adithya Kumar
485930daa2 Use the head versions of managed dependencies while building report 2022-06-10 12:02:08 +05:30
Harendra Kumar
f82faecee3 Remove redundant MonadIO constraint on some array APIs 2022-06-10 00:48:44 +05:30
Harendra Kumar
348a4e1272 Add notes for creating arrays from pure streams 2022-06-10 00:48:44 +05:30
Harendra Kumar
0e739d7f6b Implement read unfold for ring buffers 2022-06-10 00:11:38 +05:30
Adithya Kumar
1ee11e87ec Increase the build memory limit for test:Data.Parser 2022-06-09 21:55:06 +05:30
Adithya Kumar
f3b07c2922 Add an option to preserve quotes in wordQuotedBy 2022-06-09 21:55:06 +05:30
Harendra Kumar
c5e0ee5a0c Add more scan benchmarks for Window folds 2022-06-09 16:46:13 +05:30
Harendra Kumar
d36f02ff12 Implement min/max/range without dequeue 2022-06-09 16:46:13 +05:30