On Wednesday, 10 February 2021 at 13:31:09 UTC, Guillaume Piolat
wrote:
On Wednesday, 10 February 2021 at 11:52:51 UTC, JG wrote:
[...]
Here is what I use for sampling profiler:
(On Windows)
Build with LDC, x86_64, with dub -b release-debug in order to
have debug info.
Run your program into:
- Intel Amplifier (free with System Studio)
- AMD CodeXL (more lightweight, and very good)
- Very Sleepy
(On Mac)
Build with dub -b release-debug
Run your program with Instruments.app which you can find in
your Xcode.app
(On Linux)
I don't know.
Though most of the time to validate the optimization a
comparison program that runs two siilar programs and computer
the speed difference can be needed.
All Intel tools I'm aware of support (and are free on) Linux.
Also, it's just called vTune now and it's been put under the
"oneAPI" banner.