Increase, remove or improve the cost-centre stack name limit
I find the name size limit (configurable with +RTS -L<chars>
) to be both much too small (it often cuts off part of the topmost name) and also really fiddly and inconvenient (I always forget to bump up the size and end up needing to re-run benchmarks, generate new reports, etc.)
I can see that some of these stacks can get pretty large and -L500
produced a 1.5GB .hp file just now, so I guess that's the purpose of truncating.
Aside: the file compresses to 10% of the original size; I wonder whether piping into gzip etc might even be faster than writing to disk directly.
I'd propose bumping the limit to around 100 chars. But ideally what I want is to see something like:
(mysteryint)someLibraryFunc/more.stuffFromLib/.../firstCallingFunctionIWrote/otherCodeIWroteIfPossible...
I'm not sure if that info is available to the profiler.