Bureaucrats, cc_docs_admin, cc_staff
337
edits
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
== What is profiling ? == | == What is profiling ? == | ||
== Gathering a Profile == | |||
Why would one needs to gather a profile of a code ? Because it's the only way to understand: | |||
# Where time is being spent (Hotspots) | |||
# How the code is performing | |||
# Where to focus your time | |||
What is so important about the hotspots of the code ? | |||
The Amdahl's law says that "Parallelizing the most time-consuming (i.e. the hotspots) routines will have the most impact". |