#3024: Rewrite hp2ps in Haskell
---------------------------------+------------------------------------------
Reporter: SamB | Owner:
Type: task | Status: new
Priority: normal | Milestone: _|_
Component: Profiling | Version: 6.10.1
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking: 5641, 7291
Related: |
---------------------------------+------------------------------------------
Comment(by igloo):
In #5641, simonmar says
{{{
hp2ps needs to be thrown away and rewritten in Haskell. Last I heard
hp2pretty
wasn't quite there yet.
}}}
In #7291, diatchki says
{{{
An alternative to hpt2ps is hp2html
(http://hackage.haskell.org/package/hp2html).
I wrote it when I had to do a bunch of profiling at work. It is written in
Haskell,
and it supports partial data, so you can refresh your profile while it is
being
generated. Perhaps we should distribute that instead of hp2ps?
}}}
The `.hp` format has been stable for a long time, so I'm not sure we need
to ship a .hp tool with GHC at all: If one is put into the Haskell
Platform then (after a year or two) we can just stop shipping `hp2ps`, as
everyone will have the Haskell Platform tool anyway.
That way, the tool can freely use e.g. an SVG library, without adding
another dependency to the GHC build.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3024#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs