Commit Graph

3421 Commits

Author SHA1 Message Date
Ranjeet Kumar Ranjan
21d0692772 Combine test-core and bench-core flags to a single use-streamly-core flag 2022-08-23 09:28:25 +05:30
Ranjeet Ranjan
64e471b91a
Move unboxed array tests under test-core flag (#1797) 2022-08-22 22:01:50 +05:30
Harendra Kumar
e576de8a42
Organize the export list of Streamly.Data.Stream (#1799)
And update some docs.
2022-08-22 16:43:41 +05:30
Harendra Kumar
1fe1e25412 Remove redundant additional state in fromParserK 2022-08-22 14:26:57 +05:30
Ranjeet Ranjan
0be81f99fd
Remove the use-c-malloc build flag (#1793)
* Remove the use-c-malloc build flag
2022-08-22 14:15:52 +05:30
Harendra Kumar
9aa5b21e60 Add bin/repl to .packcheck.ignore 2022-08-21 12:52:08 +05:30
Harendra Kumar
9618ecc842 Add a repl script in "bin" 2022-08-21 00:07:05 +05:30
Harendra Kumar
a9850f2c4c Fix Werror-nocode build 2022-08-21 00:05:14 +05:30
Harendra Kumar
3c3c0d7989 Use -Weverything for warnings in benchmarks 2022-08-20 23:05:34 +05:30
Harendra Kumar
8dd618b1ba Increase heap limit for building Parser tests 2022-08-20 23:05:13 +05:30
Harendra Kumar
cd85ea79e0 Remove MonadThrow from toFold, use error instead 2022-08-20 23:05:13 +05:30
Harendra Kumar
a054c81efc Remove redundant MonadCatch from Parser benchmark module 2022-08-20 23:05:13 +05:30
Harendra Kumar
86037e62e7 Remove MonadCatch from ParserK benchmarks 2022-08-20 23:05:13 +05:30
Harendra Kumar
ea224a4c4a Remove MonadCatch constraint in binary decode module 2022-08-20 23:05:13 +05:30
Harendra Kumar
3ef32ce12e Remove redundant MonadCatch/Throw from Parser module 2022-08-20 23:05:13 +05:30
Harendra Kumar
c44c37037b Remove redundant MonadThrow from ParserD 2022-08-20 23:05:13 +05:30
Harendra Kumar
b870dbeb1e Remove MonadCatch constraints from parser benchmarks 2022-08-20 23:05:13 +05:30
Harendra Kumar
2ae97598f4 Remove redundant MonadCatch constraint from manyTill 2022-08-20 23:05:13 +05:30
Harendra Kumar
41e878ba46 Fix the perf of parseGroupRollingEither benchmarks 2022-08-20 23:05:13 +05:30
Harendra Kumar
98fef06f36 Refactor parseGroupsRollingEither benchmarks
Write in a single IO action style.
2022-08-20 23:05:13 +05:30
Harendra Kumar
8e03301862 Add tests for Alternative instance of ParserD 2022-08-20 23:05:13 +05:30
Harendra Kumar
c0769668d9 Change the type of parser "extract" to Step 2022-08-20 23:05:13 +05:30
Harendra Kumar
805016f7cb Import "Stream" from Data.Stream (fix windows build) 2022-08-20 23:02:25 +05:30
Ranjeet Ranjan
a40431740c
Replace SerialT with Stream for remaining modules (#1777)
* Replace SerialT to Stream for remaining modules

* Reduce the usage of IsStream in benchmarks

And some other refactoring.

Co-authored-by: Harendra Kumar <harendra@composewell.com>
2022-08-20 11:13:11 +05:30
Ranjeet Ranjan
7dde623b7d
Move Streamly.Data.Unfold module to streamly-core package (#1771)
* Move Streamly.Data.Unfold to streamly-core package

* Remove readStream, just use the monomorphic fromStream

Co-authored-by: Harendra Kumar <harendra@composewell.com>
2022-08-20 10:59:13 +05:30
Ranjeet Ranjan
ec760805c9
Modularize test cases (#1707)
* Modularize test cases

* Make it build with test-core flag

And several other changes.

Co-authored-by: Harendra Kumar <harendra@composewell.com>
2022-08-20 00:45:57 +05:30
Ranjeet Kumar Ranjan
ca76876369 Repurpose the streamk build flag
Fix review comments

Fix review comments

Rename stramk CI to no-fusion
2022-08-19 17:12:36 +05:30
Harendra Kumar
9cce0ebeed Make some doc updates in Streamly.Data.Stream.* 2022-08-19 17:10:05 +05:30
Ranjeet Kumar Ranjan
0dc91ab41c Add Streamly.Data.Stream module in streamly-core 2022-08-19 17:10:05 +05:30
Harendra Kumar
f6575228c4 Make doctest build faster (no optimization) 2022-08-19 17:05:33 +05:30
Harendra Kumar
5c5e7feada Suppress new warnings from ghc-9.2 2022-08-18 11:11:02 +05:30
Harendra Kumar
5413bd4cc7 Update bench-runner's default.nix 2022-08-18 11:11:02 +05:30
Harendra Kumar
bc0da07b19 Increase heap size for some benchmarks 2022-08-18 11:11:02 +05:30
Harendra Kumar
feee31f1e7 Add streamly-targets to bench-runner cabal.project 2022-08-18 11:11:02 +05:30
Ranjeet Kumar Ranjan
18a226b9f0 Array.Foreign -> Array.Unboxed in tests and benchmarks & intenals
Co-authored-by: Ranjeet <ranjeet@composewell.com>
2022-08-17 15:09:42 +05:30
Ranjeet Kumar Ranjan
08acfe2e59 Change array constructor accessor 2022-08-17 13:12:44 +05:30
Harendra Kumar
cc3bbd76dc Use a macro definition for assertM
So that the error location is reported correctly by the compiler when
the assert is hit.
2022-08-15 02:00:24 +05:30
Harendra Kumar
63ba027ce4 Use assertM instead of assert in Parser code 2022-08-13 20:43:09 +05:30
Adithya Kumar
95fc1d2d05 Add a cabal.project for bench-runner 2022-08-13 20:37:29 +05:30
Ranjeet Kumar Ranjan
261a7e06fa Change warning options in streamly and streamly-core packages
Fix review comments
2022-08-12 11:08:00 +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