seqaid: Dynamic strictness control, including space leak repair
Seqaid is a GHC plugin providing non-invasive auto-instrumentation of Haskell projects, for dynamic strictness (and parallelism) control. This will soon include optimisation for automated space leak relief using minimal strictification. [The optimiser is still in development however.]
Refer to the seqaid homepage for more information.
Please share your comments on this reddit discussion.
[Skip to Readme]
Modules
[Index]
Flags
Manual Flags
Name | Description | Default |
---|---|---|
hello_hackage_visitor |
| Disabled |
ghc_710 | (Still broken for GHC 7.10.) Until I learn how to test GHC version in the .cabal file, we need a flag, since some build-depends must be excluded completely. (CPP testing GLASGOW_HASKELL is then used the rest of the way, in the source files.) | Disabled |
sai_fork | . | Disabled |
try_inject_noinline_on_requested_binds | If we can prevent inlining of injected binds (without requiring user edits), that would probably be a good trade-off in terms of lost optimiser opportunities in exchange for assurance that the bind won't be inlined. This didn't work, and is a poor solution anyway. | Disabled |
seqable_only | Like NFDATAN_ONLY, but for newer Seqable module. | Disabled |
th_type_in_types_ann | Actually this is just preparatory, haven't gone down this road far yet. (We would like a TH.Type to Type.Type conversion function in the GHC API. Then we'd just send the list of Type.Type for direct use by the Core-plugin downstream). | Disabled |
seqaidpp_types | Rather than choose types to seqinj for based on the types of the top-level binds, use seqaidpp to parse the types from seqaid.config. This stays on perpetually, finally, and could be removed soon. | Enabled |
infer_top_level_types | If True, then TH will be used as it has been, to blanket-inject all top-level functions (at least, those not explicitly or implicitly excluded). Now, if False, only RHS's with result types in the "types" list for the module (in seqaid.config) will be wrapped (again, at least those not explicitly or implicitly excluded). | Disabled |
demo_mode | This is the only working mode so far. (And it only works when tested on the "leaky" package.) The switch exists to exclude hashable/hashtables deps (and subdeps) from the first release, while I can continue to work on this aspect in the development head. | Enabled |
dbg_seqaid | When set, seqaidDispatch emits status lines periodically. | Enabled |
no_top_level_seqinj_dummies | If have to inject a class and instance anyway to evade DCE, no need for the old top-level seqinj_ declarations (we hope...). (But it turned out they were all still needed.) | Disabled |
nfdatan_only | To simplify debugging. | Disabled |
show_type | Include Typeable instance for (show . typeOf) in seqaidDispatch | Enabled |
use_cpphs | Non-manual flag to allow the build system to try cpphs first, and if that fails, then to try system-wide cpp (typically GNU). I've actually toggled the default, so the build system will try for a system-wide cpp first, and failing that, will try to use cpphs, installing it if necessary. I prefer cpp. I am not getting my most invaluable -Wundef option with cpphs using -optP-Wundef -optP--cpp in my ghc-options. Does cpphs implement it? Not sure... | Enabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- seqaid-0.3.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6.0, 0.1.7.0, 0.2.0.0, 0.2.1.0, 0.2.1.1, 0.3.0.0, 0.3.0.1, 0.4.0.0 |
---|---|
Change log | changelog.txt |
Dependencies | array (>=0.4 && <0.6), base (>=4 && <5), Cabal (>=1.10), containers (>=0.5 && <0.6), cpphs (>=1.14), deepseq-bounded (>=0.6 && <0.8), directory (>=1.2 && <1.3), exceptions (>=0.5 && <0.6), filepath (>=1.3 && <1.4), ghc (>=7.6 && <7.10), ghc-paths (>=0.1 && <0.2), mtl (>=2 && <3), process (>=1 && <2), regex-base (<=0.93.2), regex-pcre (<=0.94.4), syb (<=0.4.2), template-haskell (>=2.9 && <2.10), temporary (>=1.2 && <1.3), transformers (>=0.3 && <0.4) [details] |
Tested with | ghc ==7.8.1, ghc ==7.8.3, ghc ==7.8.4 |
License | BSD-3-Clause |
Author | Andrew G. Seniuk |
Maintainer | Andrew Seniuk <rasfar@gmail.com> |
Category | Compiler Plugin |
Home page | http://fremissant.net/seqaid |
Bug tracker | http://fremissant.net/seqaid/trac |
Uploaded | by AndrewSeniuk at 2015-02-02T12:39:42Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Executables | seqaidpp, seqaid |
Downloads | 8281 total (52 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |