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
- Concetti di profilazionecloud.google.com
- Agentationagentation.dev
- UI Skills for Design Engineers | UI Skillsui-skills.com
- Best practices for Claude Code - Claude Code Docsanthropic.com
- [Java][Profiling] Async-profiler - manual by use cases | JVM/Java profiling and tuningkrzysztofslusarski.github.io
- Agentationagentation.com
- PERF tutorial: Finding execution hot spots - Sand, software and soundsandsoftwaresound.net
- PERF tutorial: Finding execution hot spots - Sand, software and soundSand, software and soundsandsoftwaresound.net
- Statsig | The modern product development platformstatsig.com
- GitHub - ccusage/ccusage: npx ccusagegithub.com
- Watch: How to get started with Grafana Phlare for continuous profilinggrafana.com
- What is continuous profiling? | CNCFcncf.io