3 ms·
Is there anyone still using these instrumentation based profilers (vs sampling profiler like perf)? How is it like today? I stopped using it a long time ago si
by flakiness 4y ago
Is there anyone still using these instrumentation based profilers (vs sampling profiler like perf)? How is it like today?
I stopped using it a long time ago since it was so slow and not thread-safe. But I occasionally miss the comprehensive coverage it had. If the situation has changed, I'd love to give it another shot.
- AlotOfReading 4y agoThread safety isn't an issue that I've observed, but it's still dog slow and pretty much always will be. Sampling profilers are generally better when you can use them.
- gnufx 4y agoNothing is generally better when it comes to serious performance engineering. The standard introduction to the performance engineering workshops under vi-hps.org stress that you need a variety of tools/techniques available.
- gnufx 4y agoInstrumentation is widely used in HPC performance engineering, but you may still do sampling, rather than tracing, with the result. Often only a specific set of function calls is instrumented (e.g. MPI, i/o), and often using LD_PRELOAD and hooks provided for the purpose.