bsc-quantic / Extrae.jl

Julia bindings for extrae Basic API
Apache License 2.0
8 stars 0 forks source link

Instrument JIT compilation and method invalidation #4

Open mofeing opened 1 year ago

mofeing commented 1 year ago

One of Julia's reasons for lose of performance is method invalidation. Also, compilations heavily delays execution. Being able to check where and when compilations and method invalidations take place would be useful.

But this steps are made in C routines (not Julia) so we cannot hook on them with Cassette.

Is Extrae capable on hooking on C routines without modifying Julia's source code (which would require us to use a special build for profiling this part)?

mofeing commented 1 year ago

This might be of interest https://docs.julialang.org/en/v1/devdocs/probes/