Observability & Evaluation · Software component

Performance Profiler

Software componentObservability & EvaluationObservability & EvaluationVariation point (abstract)arc:PerformanceProfiler

An abstract observability component that captures execution activity of an agent or inference workload at a chosen granularity so elapsed time and resource use can be attributed to stages.

Responsibility. Attributes execution time and resource usage to workload stages.

Also known as: Profiler, Profiling tool

monitorsmonitorsis specialized byis specialized byis specialized byis specialized byproducesLLM Inference Service: monitorsLLM Inference ServiceGPU Node: monitorsGPU NodeExecution Profiler: is specialized byExecution ProfilerGPU System Profiler: is specialized byGPU System ProfilerInference Engine Profiler: is specialized byInference Engine ProfilerKernel Profiler: is specialized byKernel ProfilerProfile Report: producesProfile Report
Direct neighbourhood (hover for relationship types)

Variants

VariantWhen to choose
Execution ProfilerChoose to decide whether multi-step agent latency is dominated by LLM inference or external tool latency, and whether multi-agent parallelism is effective or serialized.
GPU System ProfilerChoose for routine and production diagnosis of where time is spent across CPU-GPU boundaries, since event-driven tracing with CPU sampling keeps overhead at about 1-3%.
Inference Engine ProfilerChoose when system profiling shows inference dominates and the time split across attention kernels, KV-cache access, quantized operations and batching must be understood.
Kernel ProfilerChoose only for controlled deep-dive optimization of individual kernels (warp divergence, memory access, register use); its 10-100x slowdown precludes continuous production use.

Relationships

monitors assurance

produces lifecycle

Design guidance

Quantitative guidance

As stated by the sources; verify before use.

Classification

Patterns
Measure-analyze-optimize-remeasure cycleSingle-variable analysisWarmup exclusionMultiple measurement runs
Technologies
NVIDIA Nsight SystemsNVIDIA Nsight ComputeTensorRT-LLM profilingNVIDIA NeMo Agent ToolkitNsight Deep Learning DesignerNeMo profiling utilities
Quality attributes
Performance efficiency (ISO/IEC 25010)Cost efficiencyMaintainability (ISO/IEC 25010)
Risks mitigated
Optimizing the wrong componentOverprovisioning GPU infrastructureUnrealized performance gainsPremature optimizationSingle-metric optimizationOptimizing a non-bottleneck resource

Sources

  1. Ch4.4: T. Nguyen, "Performance Profiling and Optimization," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 4.4. ISBN: 9798244538229.
  2. Ref7.15: "Advanced Agentic AI Optimization Techniques," unpublished reference note (15-Advanced-Agentic-Optimization.md), Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam supplementary materials, 2026. unpublished note
  3. Ref7.18: "Chapter 7 Summary: NVIDIA Platform Implementation," unpublished reference note (18-Chapter-7-Summary.md), Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam supplementary materials, 2026. unpublished note