Changes between Initial Version and Version 9 of Ticket #16040


Ignore:
Timestamp:
Dec 18, 2018 12:03:29 PM (8 months ago)
Author:
_recursion
Comment:

Unfinished sentence in the report because I am sometimes unobservant.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16040 – Description

    initial v9  
    1 My team has observed a 2x performance degradation in code that makes use of `StateT` that appears to be related to strictness and unboxing, even when built with `-O2`. Our code makes heavy use of the state monad, and when GHC fails to optimise this performance
     1My team has observed a 2x performance degradation in code that makes use of `StateT` that appears to be related to strictness and unboxing, even when built with `-O2`. Our code makes heavy use of the state monad, and when GHC fails to optimise this usage, the performance becomes untenably slow.
    22
    33We've managed to minimise the behaviour to the following reproducer (that ignores state entirely), consisting of two files. It depends on `criterion`