streamly
streamly copied to clipboard
Add tests and benchmarks for array-stream-folds
There are tests in PR #912 that can be used for array-stream-folds (PR #1034).
We should also add some benchmarks similar to the streamly-lz4 or tar cases that are the real benchmarking use cases for array-stream-folds/parse-array. We saw that the modified implementation of parse-array worked well on the micro-benchmark that we had but did not perform well in streamly-lz4.
The test that you mention is in https://github.com/composewell/streamly/blob/master/test/Streamly/Test/Data/Array/Stream/Foreign.hs We need to discuss and add some good benchmarks. I'm pushing this to the next milestone as there are other important tasks that need attention for the time being.