Hi,
I have talked so much about it, it was about time to actually follow
through.
I took a real-world program (tttool, one of mine, show shameless),
inlined all the dependencies so that it would compile without Cabal,
just with a single invocation of GHC on the 277 modules.
The state, including
Yes, thank you, Simon. I had not occurred to me that an inlining could
start working in a later phase due to loss of loop-breaker status, rather
than the relationship between the current phase and the identifier's
declared inlining phase.
-- Conal
On Tue, Dec 6, 2016 at 6:02 AM, Simon Peyton Jone
On Tue, Dec 6, 2016 at 10:10 PM Ben Gamari wrote:
> [...]
> > How should we proceed? Should I open a new ticket focused on this?
> > (maybe we could try to figure out all the details there?)
> >
> That sounds good to me.
Cool, opened: https://ghc.haskell.org/trac/ghc/ticket/12941 to track
this.
Johannes Waldmann writes:
> Hi Ben, thanks,
>
>
>> 4. run the build, `cabal configure --ghc-options="-p -hc" $args && cabal
>> build`
>
> cabal configure $args --ghc-options="+RTS -p -hc -RTS"
>
Ahh, yes, of course. I should have tried this before hitting send.
>> You should end up with a .pro
Hi,
Am Mittwoch, den 07.12.2016, 11:34 +0100 schrieb Johannes Waldmann:
> When I 'cabal build' the 'text' package,
> then the last actual compilation (which leaves
> the profiling info) is for cbits/cbits.c
>
> I don't see how to build Data/Text.hs alone
> (with ghc, not via cabal), I am getting
Hi Ben, thanks,
> 4. run the build, `cabal configure --ghc-options="-p -hc" $args && cabal
> build`
cabal configure $args --ghc-options="+RTS -p -hc -RTS"
> You should end up with a .prof and .hp file.
Yes, that works. - Typical output starts like this
COST CENTRE MODULE %time %all