Commit Graph

3382 Commits

Author SHA1 Message Date
Ranjeet Kumar Ranjan
e7fc27a52f Change warning options in streamly and streamly-core packages
Fix review comments
2022-08-11 16:53:36 +05:30
Adithya Kumar
6dd122a47a Make the note of eta-reduction under mapFB more evident 2022-08-10 19:00:24 +05:30
Ranjeet Kumar Ranjan
6f68b50d18 Fix hlint in multiple streamly-core files 2022-08-10 19:00:24 +05:30
Adithya Kumar
3ae32c55d9 Remove cabal.project in bench-runner and update the benchmark guide 2022-08-10 16:34:55 +05:30
Adithya Kumar
e304abc3cf Update packages in cabal.project.report 2022-08-10 16:34:55 +05:30
Adithya Kumar
8e70810cf4 Update the revision of packdiff 2022-08-10 16:34:46 +05:30
Harendra Kumar
d76314459e Rename some variables and constructors in ParserK
To make the constructors consistent with ParserD.

Rename variables for brevity, clarity and consistency.
2022-08-10 13:25:23 +05:30
Harendra Kumar
dde88b8b00 Fix hlint error on ParserD/Type 2022-08-10 13:25:23 +05:30
Harendra Kumar
ff1dd549c6 Make run-ci.sh working
You need to have test-runner and bench-runner built and installed in the
bin directory.
2022-08-09 01:59:59 +05:30
Harendra Kumar
ffb1dfcc90 Update default.nix for bench/test-runner 2022-08-09 01:59:59 +05:30
Harendra Kumar
af9e344557 Remove stale Prim Array targets from test-runner 2022-08-09 01:59:59 +05:30
Harendra Kumar
98d3ea9d27 Add stream generation functions to Data.Stream 2022-08-09 01:07:40 +05:30
Ranjeet Kumar Ranjan
b528bae8ce Add Timed API for stream generations 2022-08-08 19:41:12 +05:30
Harendra Kumar
4bb8b7c950 Add fromByteStr# and fromStr#
Routines to generate byte/char streams from Haskell string literals.
2022-08-08 02:10:44 +05:30
Ranjeet Kumar Ranjan
64512cec06 Add api to generate Stream from memory Address 2022-08-07 13:31:16 +05:30
Harendra Kumar
9ed94a6a09 Implement many2, map2
* crossWith and many can be implemented in terms of many2
* rename mapmWithInput to mapM2
* add map2
2022-08-07 13:25:40 +05:30
Harendra Kumar
07eb3038f5 Enable hlint on streamly-core package
Remove non-existing files from .hlint.ignore
Add streamly-core files that are hlint clean to .hlint.ignore
2022-08-06 23:16:43 +05:30
Harendra Kumar
f5ef71303e Merge pull request #1751 2022-08-06 23:15:28 +05:30
Harendra Kumar
bfb1624a57 Add more Prelude.Serial benchmarks to Data.Stream
And refactor for simplification and code-reuse.
2022-08-06 19:59:01 +05:30
Ranjeet Kumar Ranjan
8fbc085ef4 Move Prelude.Serial benchmarks to Data.Stream 2022-08-06 16:43:53 +05:30
Harendra Kumar
d2aaef0004
Merge pull request #1696 from composewell/Rename_Storable_constraint_Unboxed
Rename Storable constraint to Prim
2022-08-06 16:27:43 +05:30
Harendra Kumar
df56bd6abe Remove Storable aliased to Unboxed 2022-08-06 13:26:09 +05:30
Ranjeet Kumar Ranjan
2e21c3a76f Rename Storable constraint to Unboxed 2022-08-06 13:23:10 +05:30
Harendra Kumar
aac1526f8b Import Array.Unboxed instead of Array.Foreign
Fix broken build.
2022-08-06 00:54:38 +05:30
Ranjeet Kumar Ranjan
26b78c6e89 Deprecate Streamly.Data.Array.Foreign module
Rename it to Streamly.Data.Array.Unboxed
2022-08-06 00:38:23 +05:30
Ranjeet Kumar Ranjan
53cce5e7ac Implement Data.Stream.Top module 2022-08-06 00:32:10 +05:30
Harendra Kumar
1cd4379d01 Remove dependency on hashable/unordered-containers 2022-08-02 14:35:49 +05:30
Adithya Kumar
1f412fe087 Remove Prim based benchmarks from the regression checking CI 2022-08-01 10:38:33 +05:30
Adithya Kumar
614c226eac Rename IORef.Prim to IORef.Unboxed 2022-08-01 10:38:33 +05:30
Ranjeet Kumar Ranjan
4a2d68d08a Replace IsStream functions with Stream exports 2022-07-31 13:03:26 +05:30
Ranjeet Kumar Ranjan
3dc72698cf Replace SerialT with Stream 2022-07-31 02:48:10 +05:30
Adithya Kumar
d58ebdc7b3 Replace Prim with Unboxed in Data.IORef 2022-07-31 02:43:44 +05:30
Adithya Kumar
4015d54128 Remove prim arrays and all related code 2022-07-31 02:43:44 +05:30
Adithya Kumar
adce8d0048 Add combinators to pin and unpin foreign arrays 2022-07-31 01:03:31 +05:30
Adithya Kumar
3d8ffee684 Fix the test case for Parser.takeFramedByEsc_ 2022-07-27 17:43:18 +05:30
Adithya Kumar
93cc79d156 Add a small no-linking hack to make the GHC 902 CIs pass
See https://github.com/composewell/streamly/issues/1727
2022-07-27 17:24:59 +05:30
Adithya Kumar
3811e683ce Improve array combinators to work with unpinned arrays 2022-07-27 17:24:59 +05:30
Ranjeet Kumar Ranjan
eb586c081c Implement SerialT in terms of Stream 2022-07-27 15:53:08 +05:30
Adithya Kumar
0706ac07a9 Fix the timer tick in chunksOfTimeout 2022-07-26 15:58:31 +05:30
Harendra Kumar
2d8c7762bf Use left folds in all stream elimination ops 2022-07-21 02:06:03 +05:30
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