scalacenter / scalac-profiling

Compilation profiling tool for Scala 2 projects

Home Page:https://scalacenter.github.io/scalac-profiling/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Display file name of offending implicits in flamegraph

lolgab opened this issue · comments

Looking at the flamegraph, it's hard to understand where the code is coming from. You need to guess.
It would be nice to have something that points to the definition of the function taking implicit parameters, so I can then check its usages or ways to improve it.

We need someone from the scalac maintainers to confirm it's possible according to the gathering statistics approach (-Ystatistics compiler flag, I mean). сс @SethTisue
NVM, propagating some kind of location should be doable