Profiler Fundamentals
For samples, the profiler stops the execution of the profiled code at a fixed rate, for example, every 1ms and records relevant information like the current stack. These samples are aggregated together and provide a statistical look into the execution of the program. There is no guarantee that all of the code that is running will be sampled, but with enough samples, it provides a good look into where time was spent while running the targeted code.
, // Automatically scroll back to the top when switching between articles. auto2top: true, loadSidebar: true, loadNavbar: true, subMaxLevel: 2, // Photon blue-50 themeColor: address article aside base basefont blockquote body caption center col colgroup dd details dialog dir div dl dt fieldset figcaption figure footer form frame frameset h[1-6] head header hr html iframe legend li link main menu menuitem meta nav noframes ol optgroup option p param section source summary table tbody td tfoot th thead title tr track ul (?!(?:a em strong small s cite q dfn abbr data time code var samp kbd sub s
related reading
- [Java][Profiling] Async-profiler - manual by use cases | JVM/Java profiling and tuningkrzysztofslusarski.github.io
- What is continuous profiling? | CNCFcncf.io
- abseil / Performance Hintsabseil.io
- Profiling Go programs with pprofjvns.ca
- ⏱️ Performance Profiling - Composerdocs.mosaicml.com
- 🥽 Analyzing Tracesdocs.mosaicml.com
- Populating the page: how browsers work - Performance | MDNdeveloper.mozilla.org
- Concetti di profilazionecloud.google.com
- How to change color format in Firefox Dev Tools? - Stack Overflowstackoverflow.com
- PyTorch Profiling 101 with Modded-NanoGPTblog.underfit.ai
- Diagnostics - The Go Programming Languagego.dev
- Inside look at modern web browser (part 1) | Blog | Chrome for Developersdeveloper.chrome.com