leaky: Robust space leak, and its strictification
Robust space leak, and its strictification, for testing deepseq-bounded and seqaid.
See also the project homepage for more information.
Please share your comments on this reddit discussion.
[Skip to Readme]
Flags
Manual Flags
Name | Description | Default |
---|---|---|
hello_hackage_visitor |
| Disabled |
turn_on_seqaid_plugin | Only when True, provide the options to enable the seqaid preprocessor and GHC plugin. | Enabled |
omnitypic | Blanket seqaid harness at subexpressions of all possible types. Shouldn't need a Cabal flag for this, but it's the same problem of casing over integer values for a macro (in a .cabal file). So this need not be orthogonal to FORCING_STRATEGY, but this way it is ... which is okay, actually. (Can then test interactions with other FS=0..6.) | Disabled |
test_seqaidpp | Finally crumbed and availed myself of -F -pgmF, although only for things which are fairly safe via regex (injecting imports, top-level splices, "deriving instance" statements, LANGUAGE pragmas, etc.). (Later: You can't really do without this anymore, although with FORCING_STRATEGY=4 it is possible.) | Enabled |
stats | Dump periodic stats lines, for FORCING_STRATEGY that need it. | Enabled |
use_second_module | Temporary for testing... (Later: Sadly this is not so temporary. There is some kind of interference between SOP.TH and Seqaid.TH splices which is still unresolved. So, types needing NFDataP (etc.) instances will need to live in a module which is not being harnessed.) | Enabled |
profile | Enable profiling | Disabled |
use_growing_list | The problem with using a growing list is, it itself is a leak (as it were), so it's hard to see you've plugged anything. However, the slowdown of "force" relative to "forcep" will be noticed! Alternative to GROWING is FIXED (is at length 10000 at the moment). Fixed list is infinite if INFINITE set below. (INFINITE has no effect when GROWING set.) | Enabled |
use_growing_list_reduction | XXX For some reason, memory is being retained when REDUCTION is enabled. (Later: Is this still the case? I see it's been set to True throughout development...). | Enabled |
use_infinite_list | To show DeepSeq.force (FORCING_STRATEGY=1) at its worst. | Disabled |
use_strict_blob | Put some weighty strict subtrees in the test data structure, so can showcase forcep's specificity relative to forcen. | Enabled |
use_cpphs | The original intention was to make this a non-manual flag, to allow the build system to try cpphs first, and if that fails, then to try system-wide cpp (typically GNU). Due to path problems, when the build client installs cpphs in the course of installing, it turns out to be better to use a shell script to delegate which cpp runs, jimmy options, etc. | Enabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- leaky-0.4.0.0.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.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.1.0.5, 0.1.6.0, 0.1.7.0, 0.2.0.0, 0.2.0.1, 0.2.1.0, 0.2.1.1, 0.3.0.0, 0.3.0.1, 0.3.0.2, 0.3.0.3, 0.4.0.0 |
---|---|
Change log | changelog.txt |
Dependencies | base (>=4 && <5), cpphs (>1.14), deepseq-bounded (>=0.8 && <1.0), deepseq-generics (>=0.1 && <0.2), generics-sop (>=0.1 && <0.2), random (==1.1), seqaid (>=0.4.0 && <0.4.1), template-haskell [details] |
Tested with | ghc ==7.6.3, ghc ==7.8.1, ghc ==7.8.3, ghc ==7.8.4, ghc ==7.10.1 |
License | BSD-3-Clause |
Author | Andrew G. Seniuk |
Maintainer | Andrew Seniuk <rasfar@gmail.com> |
Category | Testing |
Home page | http://fremissant.net/leaky |
Bug tracker | http://fremissant.net/leaky/trac |
Uploaded | by AndrewSeniuk at 2015-02-04T15:20:09Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Executables | leaky |
Downloads | 12033 total (22 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] Last success reported on 2015-05-20 [all 8 reports] |