Commit Graph

34 Commits

Author SHA1 Message Date
Harendra Kumar
2f5fcf6ffe Add Stream.ConcurrentThreadHeavy benchmark 2024-07-09 18:54:06 +05:30
Harendra Kumar
fcbeac5b70 Disable the Stream.Rate target as it is dev only 2024-06-25 00:24:02 +05:30
Harendra Kumar
92aa080d43 Sync targets with test targets 2024-06-25 00:24:02 +05:30
Harendra Kumar
d3adfdcf9c Sync targets with benchmark targets 2024-06-25 00:24:02 +05:30
Harendra Kumar
882de021f6 Cleanup targets and arrange in alphabetical order 2024-06-25 00:24:02 +05:30
Harendra Kumar
e7992b4626 Add Data.Unbox.* to test-runner targets 2023-11-28 03:36:49 +05:30
Harendra Kumar
0bca969a10 Annotate a target as test-only 2023-11-02 15:38:07 +05:30
Harendra Kumar
8b18616dba Add Data.Serialize to targets 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
06ae33ed93 Use unsafe peek and poke for better performance 2023-08-09 01:08:17 +05:30
Ranjeet Ranjan
3fb676b98b
Correct Internal Array module names (#2478) 2023-07-29 00:00:34 +05:30
Ranjeet Ranjan
f5f25b43b6
Rename Data.Parser.ParserK benchmark to Data.ParserK (#2457) 2023-07-24 17:51:27 +05:30
Harendra Kumar
eabb22c3a5 Add some benchmark suites to infinite_grp 2023-03-09 17:56:02 +05:30
Ranjeet Ranjan
f50f7eb832
Fix Targets.hs and hie.yaml (#2318) 2023-03-08 00:48:29 +05:30
Ranjeet Kumar Ranjan
8629a0e806 Fix test cases for StreamD/StreamK split up 2023-02-06 22:09:46 +05:30
Harendra Kumar
e249c4da2d Use StreamD by default, expose StreamK as separate module
Basically remove depdency on GHC rewrite rules. The reason for
separating StreamD and StreamK instead of using rewrite rules:

* Separate types provide better reasoning for the programmer about
  performance. Each type has its own pros and cons and the programmer
  can choose the best one based on the use case.
* rewrite rules are fragile, led to broken performance in the past dues
  to change in GHC.
* Rewrite rules lead to optimization problems, blocking fusion in some
  cases, specifically when combining multiple operations e.g. (filter . drop).
* Rewrite rules lead to problems when calling a function recursively. For
  example, the StreamD version of foldBreak cannot be used recursively when
  wrapped in rewrite rules because each recursive call adds a roundtrip
  conversion from D to K and back to D. We can use the StreamK versions of
  these though because the rewrite rule gets eliminated in that case.
* If we have a unified module, we need two different versions of several
  operations e.g. appendK and appendD, both are useful in different cases.
2023-02-06 22:09:26 +05:30
Harendra Kumar
02ac6e4e77 Update the test and benchmark targets 2023-01-13 16:44:36 +05:30
Harendra Kumar
133e20addb Fix test targets and heap for generic array 2022-12-30 19:03:28 +05:30
Harendra Kumar
3f82f0035a Measure cps ops embedded in direct streams 2022-12-01 18:53:55 +05:30
Harendra Kumar
c156fe2f77 Fix bench targets, array read instance benchmark 2022-11-17 13:15:39 +05:30
Harendra Kumar
162fc171df Separate interleaved benchmarks in another module 2022-10-17 16:32:47 +05:30
Ranjeet Ranjan
5a42524161
Rename Async benchmarks to Concurrent benchmarks (#1929) 2022-10-12 15:38:14 +05:30
Ranjeet Ranjan
7ac9ab7d5b
Rename Data.Stream.Async to Data.Stream.Concurrent (#1926) 2022-10-11 16:41:45 +05:30
Harendra Kumar
ae37ca3f44 Add benchmarks for ordered concurrent streams (ahead) 2022-10-11 00:23:09 +05:30
Harendra Kumar
0945bc327b Add benchmarks for eagerEval option 2022-10-10 18:20:44 +05:30
Harendra Kumar
5e089b4a36 Add a benchmark for Data.Stream.Async 2022-09-20 18:40:00 +05:30
Harendra Kumar
9afec89e2d Remove the StreamDK benchmark from bench targets 2022-08-26 18:02:36 +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
8fbc085ef4 Move Prelude.Serial benchmarks to Data.Stream 2022-08-06 16:43:53 +05:30
Harendra Kumar
be6cadb442 Remove Prim and Small ararys from bench targets 2022-07-18 16:01:38 +05:30
Adithya Kumar
14ee0b7036 Add Data.Ring.Unboxed to targets 2022-07-11 18:51:43 +05:30
Adithya Kumar
0d5a96eacc Improve mutable foreign array benchmarks 2022-06-11 19:22:07 +05:30
Harendra Kumar
5435aa1b16 Use Haskell based test driver
Replace bin/test.sh with a Haskell implementation
2022-04-28 23:13:45 +05:30
Harendra Kumar
326bcda0d6 Refactor targets to be used in test driver as well
And some other cleanups.
2022-04-26 19:48:52 +05:30