Knowledge Base

Profiling with VTune

Stefan Glienke demonstrates how to use Intel VTune Profiler to find performance bottlenecks in Delphi applications. Learn how to generate PDB files with MAP2PDB, interpret hotspot analysis, read flame graphs, and dive into source-level profiling. Includes real-world examples from library optimization and file I/O performance.

Key topics covered:

  • Why profile? Motivation and background
  • Instrumentation vs sampling profilers
  • MAP2PDB: Converting Delphi MAP files to PDB
  • VTune overview and setup
  • Demo: Performance snapshot and hotspot analysis
  • Bottom-up, caller/callee views and flame graphs
  • Source code and assembly-level profiling
  • Real-world example: TFileStream vs TBufferedFileStream
  • Spring4D unit tests: Complex profiling example
  • CPU efficiency cores and benchmarking pitfalls
  • Microarchitecture exploration and cache analysis

Github: https://github.com/sglienke

 

Contact

Let us help you to realise your ambitions