Re: Space Profiling
Malcolm Wallace <[email protected]> Tue, 10 May 2005 13:33:02 +0100
| Newsgroups | gmane.comp.lang.haskell.nhc.user |
|---|---|
| Organization | Dept of Computer Science, University of York |
| Message-ID | <[email protected]> |
Benjamin,
> $ ./strict +RTS -p -i25kb -RTS
> 500500
>
> $ hp2graph strict.hp
> Illegal token JOB at 69
> Aborted
I believe the problem here is that "producer" profiling (the -p runtime
option) seems to be slightly broken at the moment. I discovered this a
few days ago myself. For instance, in your output .hp file, you see
> SAMPLE 1 0.00
> 356
> <binary_int_op> 8
> <APPLY> 80
> <Main> 8
> Builtin.primIntFromInteger 8
> Prelude.primIntegerAdd 8
> ;
but the first line following "SAMPLE" has no symbol name, just a count!
(356). For some reason, the first producer symbol is being rendered as
a blank, which confuses the parser in hp2graph.
> What am I doing wrong, some option perhaps?
Until we fix this bug, I suggest that you avoid producer profiles and
use only the other kinds - construction (-c), retainer (-r) and
biographical (-b).
Regards,
Malcolm