Detecting when compilations occur
Arthur Peters
amp at cs.utexas.edu
Fri Oct 13 00:47:51 UTC 2017
Is there any way to detect when Truffle/Graal compilations happen? (for
instance by getting a callback or even just accessing a count of how
many compilations have happened so I can check if it has changed.)
I would like to have this information for my benchmarking so I can
easily tag repetitions of the benchmark that have a compilation. This
would be useful for analyzing how fast the code generated by the
compiler is independent of the compiler itself and visa versa.
-Arthur
PS: I'm not going to just remove all the repetitions with compilations.
That would not really represent the performance of the language. But it
would be nice to be able to do subgroup analysis.
More information about the graal-dev
mailing list