Skip to content

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.

  1. Configure your project linker options to output a Detailed map file.
  2. Compile the project.
  3. Execute map2pdb -bind
  4. Make sure you copy both .pdb and .exe/dll if you need to put them in Progra mFiles etc
  5. 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 ;-)

Clone this wiki locally