[Haskell-cafe] Odd profiling results

Simon Marlow marlowsd at gmail.com
Wed Jan 5 16:19:31 CET 2011

On 04/01/2011 21:20, Erik de Castro Lopo wrote:
> Malcolm Wallace wrote:
>> The peaks I am guessing are largely attributable to parsing the source
>> files.  Then, once the source has been converted to an AST, the DDC
>> compiler is presumably doing some analysis before moving on to the
>> next file?  I think these are the well-behaved flat bits.  These
>> phases do not allocate anything fresh, so they are not creating new
>> data-structures, but perhaps are propagating static information around
>> the AST. Something like a type/effect analysis maybe?
> Thanks Malcolm, I think you may indeed be correct.
> It should also be pretty easy to test that hypothesis and that is
> my next task.

Or the C compiler, perhaps?


More information about the Haskell-Cafe mailing list