-
-
Notifications
You must be signed in to change notification settings - Fork 130
Profiling Keyman for Windows using VTune
Marc Durdin edited this page Sep 19, 2025
·
2 revisions
Delphi apps in Keyman for Windows can be profiled with Intel VTune and map2pdb. Note that the binary map2pdb is often flagged as malware because it rewrites .exe files.
- Configure your project linker options to output a Detailed map file.
- Compile the project.
- Execute map2pdb -bind
- Make sure you copy both .pdb and .exe/dll if you need to put them in Progra mFiles etc
- Profile the application with VTune (or whatever)
See also https://en.delphipraxis.net/topic/4853-map2pdb-profiling-with-vtune/
Note: I do a debug build, then copy the relevant executables into their install locations in order to get a good trace. VTune has a lot of hand-holding when you get started, so shouldn't be totally impossible to fathom ;-)