Commit Graph

198 Commits

Author SHA1 Message Date
Harendra Kumar
e423770f5f Add simple conduit 2017-09-05 12:01:00 +05:30
Harendra Kumar
4756d82308 Add back the parallel interleaving test 2017-09-05 10:58:00 +05:30
Harendra Kumar
e2b1e4c45d Fix worker dispatch 2017-09-05 10:50:20 +05:30
Harendra Kumar
ed5f00d575 cleanup tests 2017-09-04 17:20:10 +05:30
Harendra Kumar
560d322678 Remove the recorder stuff for now 2017-09-04 16:39:39 +05:30
Harendra Kumar
28de8ffe31 Use BSD3 license 2017-09-04 16:13:32 +05:30
Harendra Kumar
578f3599fd Update readme with overview 2017-09-04 16:07:46 +05:30
Harendra Kumar
81b50a4130 Use BSD 3-clause license for the lazy implementation 2017-09-04 15:56:05 +05:30
Harendra Kumar
350e706722 Update package metadata post lazy rewrite 2017-09-04 15:49:11 +05:30
Harendra Kumar
2944896619 Fix MonadIO/MonadTrans imports/reexports 2017-09-04 06:31:00 +05:30
Harendra Kumar
09a717ced9 Add take and drop operations 2017-09-04 06:05:34 +05:30
Harendra Kumar
9ddfeae9d2 remove some comments 2017-09-03 16:59:41 +05:30
Harendra Kumar
3946e8f062 rename variable 2017-09-03 16:25:28 +05:30
Harendra Kumar
a0d9419533 do not send worker when workqueue is empty 2017-09-03 16:24:19 +05:30
Harendra Kumar
921a0e7c72 remove some redundant stuff 2017-09-03 16:18:51 +05:30
Harendra Kumar
1f645071b5 rearrange tests 2017-09-03 16:18:00 +05:30
Harendra Kumar
8bb60599a5 Minor code rearrangement 2017-09-03 07:57:50 +05:30
Harendra Kumar
e06b3193d9 Simplify runqueue operations for parallel composition 2017-09-03 07:36:06 +05:30
Harendra Kumar
b3fa110784 Use Michael-Scott lockfree queue for FIFO policy 2017-09-02 12:48:34 +05:30
Harendra Kumar
e5e001675c rearrange code 2017-09-02 03:16:17 +05:30
Harendra Kumar
999b6292b8 Perform first task inline instead of queueing 2017-09-02 03:04:36 +05:30
Harendra Kumar
2e4fc99237 Use IORefs with CAS and MVar instead of TBQueue
Improves performance significantly.
2017-09-01 19:13:20 +05:30
Harendra Kumar
e43f6e46ab disable parallel interleave test
It does not work reliably
2017-09-01 19:12:50 +05:30
Harendra Kumar
150184288d add nil (tiniest possible) task benchmarks 2017-09-01 10:58:55 +05:30
Harendra Kumar
f1a6409e2f rearrange code 2017-09-01 07:44:34 +05:30
Harendra Kumar
d811ad67e4 disable cabal build 2017-08-31 07:57:34 +05:30
Harendra Kumar
5c4e3ad16c Use cabal build for COVERALLS 2017-08-31 07:23:42 +05:30
Harendra Kumar
360b23b6c7 Fix allow_failure for stack nightly build 2017-08-31 06:39:09 +05:30
Harendra Kumar
76eaffddfb update listdir example 2017-08-31 06:32:31 +05:30
Harendra Kumar
bfe86e7b49 Add coveralls and badges 2017-08-31 06:29:22 +05:30
Harendra Kumar
ff84127946 Fix benchmarks and package deps 2017-08-31 06:11:46 +05:30
Harendra Kumar
9527751b18 Disable cabal tests
cabal tests are failing because monad-recorder dependency is not on hackage
2017-08-31 02:10:17 +05:30
Harendra Kumar
c99b575051 Fix type signatures in tests 2017-08-31 02:09:53 +05:30
Harendra Kumar
5679f93c14 Add travis, appveyor ci files 2017-08-30 15:16:14 +05:30
Harendra Kumar
a923ae8e72 reorganize tests and reuse the same tests for all ops 2017-08-30 14:58:51 +05:30
Harendra Kumar
036437ce91 implement fair interleaving of parallel tasks 2017-08-30 14:58:28 +05:30
Harendra Kumar
af09d3162a Gain some perf by passing the q to dequeueLoop
Unboxing reboxing of context to get the q is saved
2017-08-30 04:14:21 +05:30
Harendra Kumar
9da2f40d0d Move forkworker out of fast path 2017-08-30 03:49:38 +05:30
Harendra Kumar
62bca27864 Gain some perf by moving code out of fast path 2017-08-30 03:10:53 +05:30
Harendra Kumar
095349d367 Add MonadError, MonadReader and MonadState instances 2017-08-29 12:47:33 +05:30
Harendra Kumar
39af783eb5 Add Fractional and Floating instance 2017-08-29 11:39:09 +05:30
Harendra Kumar
6e183cfbb0 Simplify Num instance 2017-08-29 11:35:37 +05:30
Harendra Kumar
07c13575d0 rename operators 2017-08-29 11:31:19 +05:30
Harendra Kumar
5c34cc6d78 add API to convert a callback to AsyncT 2017-08-29 11:19:32 +05:30
Harendra Kumar
c81684d415 Add left biased combinator and some utilities
Remove 'for' and 'each'
2017-08-29 10:44:03 +05:30
Harendra Kumar
5f1dc97a9a Add interleaved composition 2017-08-29 07:55:26 +05:30
Harendra Kumar
57e6232aba Add comment about applicative 2017-08-29 05:49:27 +05:30
Harendra Kumar
ed22c1c907 minor fix use mempty instead of empty in Monoid fold 2017-08-29 00:18:07 +05:30
Harendra Kumar
5cdbf1911e add logict to benchmarks 2017-08-28 14:15:45 +05:30
Harendra Kumar
e637b6c280 cleanup 2017-08-28 08:24:08 +05:30