Is dotTrace unable to profile ReadyToRun binaries?

When I run ReadyToRun compiled executable under dotTrace, the results are the same when I run same executable without ReadyToRun compilation: time spent on JIT-ing the code is unchanged (should be near zero, if I understand R2R correctly).

I'm guessing dotTrace sees R2R as native code and ignores it (?)

Did I guess correctly?

1 comment

Hi, Giorgi. What profiling type are you using in dotTrace? Sampling, Tracing, Timeline? Which operating system are you running your application on?

Can you verify that there is no jitting happening if you are running your application without dotTrace? For example you can use `dotnet-counters` and look for IL Bytes Jitted statistics like in this example:


Please sign in to leave a comment.