Time-profiling the compiler pipeline

2020-02-26 Thread Sergej Jaskiewicz via ghc-devs
Hello everyone, Recently I've been exploring ways to improve the LLVM support in GHC. While doing that, I've encountered an issue that I think is worth looking into. Namely, the compilation times with LLVM are considerably longer than with the native code generator. To be more concrete, on my

[RFC] Compiler pipeline timings visualization

2020-05-01 Thread Sergej Jaskiewicz via ghc-devs
tl;dr: I propose adding a new GHC flag for generating a log that allows visualizing how much time each stage in the compiler pipleline took, similar to Clang's -ftime-trace. Hello, everyone. I'd like to tell you about a feature I've been working on recently, namely, the ability to generate and