Introducing profiling
Now, let's understand profiling in a little more detail. In the context of software engineering and development, profiling is a form of dynamic program analysis that may be used as a means of measurement regarding certain parameters such as memory, CPU time, and so on.
Here, profiling may also be defined as the use of a specific set of instructions in a program, along with the length or the regularity of function calls. However, profiling is most often undertaken as an aid to the optimization of any computer software.
Profiling is typically conducted by a specific tool that is referred to as a profiler. This tool may utilize multiple methods based on either statistical simulation or even many event-based techniques to ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access