Harendra Kumar
e7f6e7e9eb
Add Config setter functions for Serialize derivation
2023-11-22 21:39:39 +05:30
Harendra Kumar
97e0d20ffb
Re-export internal serialize modules and hide them
2023-11-21 02:37:28 +05:30
Harendra Kumar
32390c592e
Add a finalizer action in Fold type
...
This was needed especially for concurrent fold combinators. A fold
combinator that uses concurrent folds needs to wait for the concurrent
folds to finish before it can finish. The finalizing action in folds can
deallocate any resources allocated by the "initial" action and also wait
for folds that it has initialized.
This complicates fold combinators in general. We can potentially
introduce a type for non-failing parsers and support finalization only
in those. The current use cases can be covered by that. Parsers do not
support scanning, which is not required in the use cases where we need
finalization (there is no known use case).
2023-11-18 23:51:09 +05:30
Harendra Kumar
633bb185a8
Remove use-gauge build flag
2023-11-03 01:44:25 +05:30
Harendra Kumar
a11fe00965
Fix warnings for GHC 9.6 and 9.8
2023-11-03 01:44:25 +05:30
Harendra Kumar
79df417138
Fix the ParserK benchmark module names
2023-11-02 15:38:07 +05:30
Harendra Kumar
74e3cdfcb4
Move some benchmarks from o-1 to o-n category
2023-11-02 15:38:07 +05:30
Harendra Kumar
4b03673010
Disable some inspection tests for GHC-9.6 onwards
2023-10-31 13:37:28 +05:30
Adithya Kumar
c6fa580a28
Add benchmarks for the recordSyntaxWithHeader option in Serialize.TH
2023-09-27 08:18:14 +05:30
Adithya Kumar
5fef84310e
Remove Serailize.Size and change the signature of Serialize.size
2023-08-30 14:07:33 +05:30
Harendra Kumar
9e8c35d49e
Add fusion checking code in Data.Fold benchmark
2023-08-24 19:43:51 +05:30
Harendra Kumar
3e93e22228
Disable some redundant serialize benchmarks
2023-08-23 16:20:10 +05:30
Harendra Kumar
71346fd9a3
Add encode benchmark
...
encode = poke + getSize + array allocation
2023-08-23 16:20:10 +05:30
Harendra Kumar
282d79cd9d
Use deepseq instead of equality check
2023-08-23 16:20:10 +05:30
Harendra Kumar
7bc450d725
Pass the array size to deserialize for bound check
2023-08-21 16:28:02 +05:30
Harendra Kumar
43e25a173f
Enable the comparison after deserialization
2023-08-21 16:28:02 +05:30
Ranjeet Ranjan
209e990b06
Re-export entire submodules from Parser ( #2525 )
2023-08-21 14:09:09 +05:30
Adithya Kumar
bfe0169024
Simplify Serialize benchmarking code
2023-08-21 01:45:06 +05:30
Harendra Kumar
4dbdf477a8
Remove the alloc cost from poke op
...
For better comparison with peek cost.
Also now there are two versions of poke benchmarks, one including the
getSize cost and the other without to figure out how much overhead
getSize adds, because the cost may be nothing if it is dominated by
cache miss costs.
2023-08-21 01:45:06 +05:30
Harendra Kumar
4fdc8360ff
Include the size/alloc op costs in poke/roundtrip
2023-08-21 01:45:06 +05:30
Harendra Kumar
f7f42e0242
Improve "size" op performance in Serialize
...
By using tail-recursive traversal of the structures.
2023-08-21 01:45:06 +05:30
Ranjeet Ranjan
1c584e545a
Move StreamK and StreamD folder up ( #2543 )
2023-08-19 15:38:58 +05:30
Harendra Kumar
53aa2044ef
Reuse the Serialize benchmark for Unbox as well
...
And add some more benchmarks.
2023-08-18 23:07:50 +05:30
Harendra Kumar
0efcac2bf7
Add a binary tree benchmark
2023-08-18 23:07:50 +05:30
Harendra Kumar
0957cd6516
Add benchmarks for Serialize module
2023-08-18 23:07:50 +05:30
Adithya Kumar
5322566023
Mk non-functional naming changes for continuation parsers & friends
2023-08-17 15:51:06 +05:30
Adithya Kumar
7f24c4d352
Add benchmarks for all types of continuation parsers
2023-08-17 15:51:06 +05:30
Ranjeet Ranjan
e6051b17cc
Re-export entire submodules from Producer ( #2514 )
2023-08-11 15:14:25 +05:30
Ranjeet Ranjan
c256c3223e
Re-export entire submodules from MutArray ( #2509 )
2023-08-11 14:58:40 +05:30
Ranjeet Ranjan
96eebafafe
Add window prefix to combinators in Fold.Window module ( #2517 )
2023-08-11 10:17:59 +05:30
Ranjeet Ranjan
8b55b1a03e
Re-export entire submodules from Array ( #2510 )
2023-08-11 10:15:51 +05:30
Ranjeet Kumar Ranjan
971b6680a5
Re-export entire submodules from the StreamK
2023-08-11 01:05:21 +05:30
Ranjeet Kumar Ranjan
cd523f5177
Move Data.Ring.Unboxed to Data.Ring
2023-08-10 13:40:05 +05:30
Ranjeet Ranjan
be2b3d1bdc
Re-export entire submodules from Streamly.Internal.Data.Fold ( #2505 )
...
Co-authored-by: Harendra Kumar <harendra@composewell.com>
2023-08-09 23:08:10 +05:30
Harendra Kumar
06ae33ed93
Use unsafe peek and poke for better performance
2023-08-09 01:08:17 +05:30
Ranjeet Kumar Ranjan
d304fb842a
Hide Internal StreamD submodules
2023-08-03 17:47:07 +05:30
Adithya Kumar
1d6b85f542
Add benchmarks for Unbox instance derivation
2023-08-03 13:31:45 +05:30
Ranjeet Kumar Ranjan
52d09f11fa
Change the signature of "handle"
2023-08-02 18:45:10 +05:30
Ranjeet Ranjan
3fb676b98b
Correct Internal Array module names ( #2478 )
2023-07-29 00:00:34 +05:30
Harendra Kumar
b085507aec
Add a faster, custom impl of double parser
2023-07-28 18:12:19 +05:30
Adithya Kumar
2e489ea194
Rename StreamDK benchamrk file to StreamKAlt
2023-07-28 00:51:35 +05:30
Adithya Kumar
128ac005df
Remove obselete files and fix documentation and dev module imports
2023-07-28 00:51:35 +05:30
Ranjeet Ranjan
afcc8ea59f
Implement double Parser ( #2278 )
...
Co-authored-by: Harendra Kumar <harendra@composewell.com>
Co-authored-by: Adithya Kumar <adithya@composewell.com>
2023-07-24 18:34:01 +05:30
Ranjeet Ranjan
f5f25b43b6
Rename Data.Parser.ParserK benchmark to Data.ParserK ( #2457 )
2023-07-24 17:51:27 +05:30
Ranjeet Kumar Ranjan
69aa279c6c
Import Data.Stream instead of Data.Stream.StreamD
2023-07-22 23:00:40 +05:30
Adithya Kumar
aa023809e6
Fix the argument order of Stream.groupsBy
2023-07-20 16:54:29 +05:30
Adithya Kumar
def5297742
Revert "Introduce and expose chunkEq and chunkEqBy"
...
This reverts commit 196b7a7105fcf50103c289433ba97cfc4b8a87af.
2023-07-20 16:54:29 +05:30
Adithya Kumar
daabcb84b7
Introduce and expose chunkEq and chunkEqBy
2023-07-20 16:54:29 +05:30
Adithya Kumar
6a4d26b170
Rename Internal.Data.Unboxed to Internal.Data.Unbox
2023-07-20 16:54:29 +05:30
Harendra Kumar
ad90f17e57
Make Array APIs uniform
2023-07-20 01:52:48 +05:30