Commit Graph

2800 Commits

Author SHA1 Message Date
Harendra Kumar
2b8c70bfac Refactor and improve error reporting 2021-07-29 02:15:46 +05:30
Harendra Kumar
0cbcf0b4ab Factor out targets.sh to be used in test.sh as well 2021-07-29 02:12:40 +05:30
Harendra Kumar
cffe01216b Move the bench-runner script to bench-report pkg 2021-07-29 02:12:40 +05:30
Harendra Kumar
ac3ed9a197 Move the generic bench runner scripts to bench-report 2021-07-29 02:12:40 +05:30
Harendra Kumar
1a17e2db4b Create a bench-runner wrapper that uses bench-config
Consolidate the specific customizations to bench-config.sh.

Integrate bench-exec-one.sh into the main bench.sh script. After the
gauge/tasty unification changes, we do not have a requirement for a
separate executable now.

Now we can push the generic part of the script to the benchmark/bench-report
package. And that package can be reused by streaming-benchmarks as well.
We can make that as a submodule.

Ultimately we should be converting these shell scripts to Haskell.
2021-07-29 02:12:40 +05:30
Harendra Kumar
2ab247b559 Refactor to make it more generic
So that it can be reused in streaming-benchmarks package too.

Also add comparison option to compare the set of benchmarks provided on
the command line.
2021-07-29 02:12:40 +05:30
Harendra Kumar
bc4dba938c Add a document about streaming paradigms 2021-07-28 18:09:16 +05:30
Harendra Kumar
10f827e8d7 Add a streamly tag in prompt
To remind us the shell we are in if we change directories.
2021-07-27 15:23:11 +05:30
Harendra Kumar
3339c2082d Add fold and parse for array streams
The test and benchmark code is taken from Adithya's original double
ended lists based implementation.
2021-07-26 18:14:46 +05:30
Harendra Kumar
613a85f988 Rename array fold and parsing routines 2021-07-26 15:57:19 +05:30
Adithya Kumar
67062eeae8 Move writeIndex to Internal.Data.Array.Foreign.Mut module 2021-07-24 10:12:46 +05:30
Adithya Kumar
097a17113e Remove unsafeIndex in Array.Foreign.Mut.Type 2021-07-24 10:12:46 +05:30
Adithya Kumar
8d31acdd27 Add INLINE pragmas on lefts, rights, and catMaybes 2021-07-13 00:56:51 +05:30
Adithya Kumar
641e8b5772 Comment out empty exposed heading in Network.Inet.TCP 2021-07-01 13:03:48 +05:30
Harendra Kumar
4f629b8cb3 Bump the version to 0.8.0 2021-06-24 13:37:10 +05:30
Harendra Kumar
06acb1906b Compact and clarify the description 2021-06-24 13:37:10 +05:30
Harendra Kumar
9a253dffd8 Update doc/comment/error 2021-06-24 13:37:10 +05:30
Harendra Kumar
1bfdbc9bef Update maintainer's guide 2021-06-24 13:37:10 +05:30
Harendra Kumar
21af2be7a0 Correct the link references to examples 2021-06-24 01:49:39 +05:30
Harendra Kumar
8137f86f98 Use relative references for link within the repo 2021-06-24 01:49:39 +05:30
Harendra Kumar
5bcd2d8f9a Remove stale tutorial links and mentions 2021-06-24 01:49:39 +05:30
Harendra Kumar
eb335d4f05 Add "Distributions" section 2021-06-24 01:49:39 +05:30
Harendra Kumar
fa7da7bf8b Add a detailed API change log 2021-06-24 01:49:39 +05:30
Harendra Kumar
87571948f9 Add a section for identifying/fixing perf issues 2021-06-22 23:06:26 +05:30
Harendra Kumar
f309c32014 Simplify/compact some sections 2021-06-22 23:06:26 +05:30
Harendra Kumar
f5470713c2 Update CI test matrix requirements and the script
Also, fix a few test issues to make the CIs work.
2021-06-22 22:54:41 +05:30
Harendra Kumar
eaa837d57c Rename .ci to .Werror to be more specific 2021-06-22 22:54:41 +05:30
Harendra Kumar
945a81ab60 Update stackage lts to 18.0 2021-06-22 22:54:41 +05:30
Harendra Kumar
b14e43a187 Increase stack size for array foldable instance 2021-06-22 22:50:12 +05:30
Harendra Kumar
424f1e9871 Fix the space requirements of two benchmarks
Move showInstance benchmark for pure streams to o-n-space
Increase the heap space for array map x 4
2021-06-22 22:50:12 +05:30
Harendra Kumar
e09428332c Revert "Fix zipWith(M) to work concurrently according to the stream type"
This reverts commit 1ddcfc4634.

This requires MonadAsync constraint which breaks the existing
zipWith for pure streams e.g. 'SerialT Identity' (for example in
streaming-benchmarks package). We can possibly have different zipWith
APIs for concurrent zipping.
2021-06-22 12:39:07 +05:30
Ranjeet Kumar Ranjan
65875852d5 Fix performance of Foldable instance of streams for GHC-9
Fix warning issues
2021-06-21 17:34:55 +05:30
Harendra Kumar
38528fffa4 Add a project file for compiling with ghc-head 2021-06-21 16:16:26 +05:30
Harendra Kumar
2917481a9d Add ghc-head section 2021-06-21 16:15:57 +05:30
Harendra Kumar
67f851374c Inline MC.try to fix perf for GHC-9 2021-06-21 15:55:44 +05:30
Harendra Kumar
49a4333edb Use Tuple'Fused in Fold.take 2021-06-21 15:55:44 +05:30
Harendra Kumar
624158d678 Remove doctests
Should use cabal-docspec instead.
2021-06-21 14:53:18 +05:30
Harendra Kumar
b9b94b32ab Fix doctests to make them work with cabal-docspec 2021-06-20 23:31:10 +05:30
Ranjeet Kumar Ranjan
e503ca6406 Fix review comments 2021-06-18 00:51:31 +05:30
Ranjeet Kumar Ranjan
dcaa9ef2d7 Replace withForeignPtr by unsafeWithForeignPtr
Fix review comments

Fix ghc 9.1 build issue

Fix ghc 9.1 build issue
2021-06-18 00:51:31 +05:30
Harendra Kumar
595331343a Update cabal/nix build code for bench-report 2021-06-17 17:08:05 +05:30
Ranjeet Kumar Ranjan
8fd51b2a37 Seperate chart build from benchmarks
Add extra-source-files to streamly.cabal

Fix review comments

Rename Chart.hs to BenchReport.hs

Fix extra-source-files

Remove no-charts flag
2021-06-17 17:08:05 +05:30
Harendra Kumar
1e9482e6ef Fix streaming-benchmarks link 2021-06-17 10:45:17 +05:30
Harendra Kumar
79b5e9052c Move maintainers' guide to dev dir 2021-06-16 19:52:54 +05:30
Harendra Kumar
cd95e95d96 Rename transformers.md 2021-06-16 19:52:54 +05:30
Harendra Kumar
7c5fd94660 Rename the design dir to dev
Now that it hosts all sorts of developer documentation
2021-06-16 19:52:54 +05:30
Harendra Kumar
96bf71efd1 rename INSTALL.md to docs/getting-started.md 2021-06-16 19:52:54 +05:30
Harendra Kumar
13931c274f Rename as a guide and to start with lower case 2021-06-16 19:52:54 +05:30
Harendra Kumar
23082b661f Split into separate build and optimization guides 2021-06-16 19:52:54 +05:30
Harendra Kumar
cab6ab91db Move benchmark image to user docs dir 2021-06-16 19:52:54 +05:30