
#15113: Do not make CAFs from literal strings
-------------------------------------+-------------------------------------
Reporter: simonpj | Owner: (none)
Type: bug | Status: patch
Priority: normal | Milestone: 8.8.1
Component: Compiler | Version: 8.2.2
Resolution: | Keywords: CAFs
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D4717
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by osa1):
I started looking into this, but I realized that nofib can't be run with
GHC 8.6 (and probably with HEAD) so I'll need to fix nofib first.
What I've done so far is I implemented two counters:
- A runtime counter for SRT traversals done by the GC
- A compiler counter to count how many SRTs are generated (I'm also
recording sum of sizes of the SRTs although this is probably not too
useful)
The runtime counter is printed with `+RTS -t`:
{{{
<