Lably
Skip to content

Profiling (computer programming)

Measuring the time or resources used by a section of a computer program

  • 8 min read
  • 5 chapters

Related on Lably

Through Compiler, Distributed computing and Sampling (statistics)

Profiling is achieved by instrumenting either the program source code or its binary executable form using a tool called a profiler (or code profiler). Profilers may use a number of different techniques, such as event-based, statistical, instrumented, and simulation methods.

Gathering program events

Profilers use a wide variety of techniques to collect data, including hardware interrupts, code instrumentation, instruction set simulation, operating system hooks, and performance counters.

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Computing and communication