Enormous FFI speedup observed

Simon Marlow marlowsd at gmail.com
Tue Feb 28 11:40:09 CET 2012

On 27/02/2012 10:46, Joachim Breitner wrote:
> Hi,
> as I wrote on
> http://www.joachim-breitner.de/blog/archives/546-GHC-7.4.1-speeds-up-arbtt-by-a-factor-of-22.html
> I observe an enormous speed up (22×) in arbtt, and it seems to be
> related to FFI function calls. The release notes do not give a hint what
> has changed to result in this speed up, so I’m curious whether someone
> here knows the reason, or can make a good guess?

A couple of guesses:

Avoiding slop in pinned objects:

Stack chunks:

but it's hard to know for sure without investigating more closely.


More information about the Glasgow-haskell-users mailing list