Top Open Source Performance Profilers
Choose the profiler based on the layer where performance problems originate. A CPU sampler, allocation tracer, kernel tracer and continuous profiling backend answer different questions. Combining a small number of complementary tools is usually more useful than deploying one large profiling stack everywhere.
Detailed tool reviews
- License
- AGPL-3.0-only by default. Some specified
- Deployment
- Self-hosted
- Activity
- Active; the 2.x release series is maintained, with 2026 releases.
Pros
- Continuous profiling with historical comparisons.
- Strong Grafana ecosystem integration.
- Multiple language and profiling integrations.
Cons
- Requires backend operations and storage.
- AGPL licensing requires legal review.
- Profiling data quality depends on collectors, symbols and runtime support.
✓ When to pick: You want a self-hosted profiling platform integrated with Grafana.
✗ When to avoid: You only need a quick local diagnostic or cannot accommodate AGPL obligations.
- Website
- perf.wiki.kernel.org
- License
- GPL-2.0, within the Linux kernel source
- Deployment
- Self-hosted
- Activity
- Active; maintained alongside Linux kernel development.
Pros
- Deep hardware and kernel visibility.
- Mature and widely available Linux tooling.
- Flexible recording, reporting and scripting.
Cons
- Linux-specific.
- Steeper learning curve than graphical profilers.
- Symbol resolution and permissions can complicate investigations.
✓ When to pick: You need precise Linux CPU and hardware diagnostics.
✗ When to avoid: You need a turnkey cross-platform application profiler.
- Website
- opentelemetry.io
- License
- Apache-2.0 for the main project; eBPF so
- Deployment
- Self-hosted
- Activity
- Active OpenTelemetry Profiling SIG project; the Profiles signal remains evolving.
Pros
- Broad language coverage.
- Does not require injecting application agents.
- Supports native and kernel stack information.
Cons
- Linux-only.
- Requires compatible kernels and eBPF capabilities.
- Backend maturity and Profiles signal compatibility need consideration.
✓ When to pick: You want system-wide profiling with an OpenTelemetry-oriented collection pipeline.
✗ When to avoid: You need a mature, self-contained profiling UI without additional infrastructure.
- License
- Apache-2.0.
- Deployment
- Self-hosted
- Activity
- Active; version 4.5 was documented in July 2026.
Pros
- Addresses JVM safepoint sampling bias.
- Supports native and Java stack analysis.
- Produces useful flame graphs and JFR-compatible data.
Cons
- Primarily targeted at HotSpot JVM.
- Native attachment and permissions may be required.
- Interpretation requires JVM and runtime knowledge.
✓ When to pick: You need detailed JVM performance diagnostics.
✗ When to avoid: Your application is primarily Python, JavaScript or native C++.
- Website
- scalene.readthedocs.io
- License
- Apache-2.0.
- Deployment
- Self-hosted
- Activity
- Active; 2.x releases and maintenance updates.
Pros
- Combines CPU, GPU and memory profiling.
- Separates Python, native and system time.
- Useful source-level and memory visualizations.
Cons
- Python-centric rather than general-purpose.
- GPU profiling is limited to NVIDIA systems.
- Some advanced capabilities require platform-specific dependencies.
✓ When to pick: You want one Python tool to investigate several performance dimensions.
✗ When to avoid: You need a fleet-wide, multi-language profiling backend or very low-intrusion external sampling.
- Website
- github.com/bloomberg/memray
- License
- Apache-2.0.
- Deployment
- Self-hosted
- Activity
- Active; release v1.20.0 published in 2026.
Pros
- Tracks individual allocations rather than relying exclusively on sampling.
- Understands native extension allocations.
- Produces useful flame graphs and reports.
Cons
- Focuses on memory rather than comprehensive CPU profiling.
- Linux and macOS only.
- Detailed allocation tracking can add overhead and generate large output files.
✓ When to pick: Memory consumption is the main performance problem.
✗ When to avoid: You need Windows-native support or primarily want CPU hotspot analysis.
py-spy
\- [14] * License: MIT. * Maintenance: Active; ongoing repository updates. * Best fit: Python engineers diagnosing running processes, including production services.
- License
- MIT.
- Deployment
- Self-hosted
- Activity
- Active; ongoing repository updates.
Pros
- External sampling, without modifying application code.
- Low-intrusion approach.
- Supports Linux, macOS, Windows and FreeBSD.
Cons
- Primarily CPU and execution-time focused.
- Sampling can miss short-lived events.
- Attaching to existing processes can require elevated permissions.
✓ When to pick: You need a quick profile of an existing Python process.
✗ When to avoid: You need detailed allocation-by-allocation memory tracking or GPU analysis.
- License
- Apache-2.0 for the Parca components.
- Deployment
- Self-hosted
- Activity
- Active; Parca v0.29.1 appeared in September 2026.
Pros
- Apache-licensed components.
- eBPF-based, always-on profiling.
- Designed for centralized profile analysis.
Cons
- Linux kernel dependencies.
- Some runtime-specific information requires instrumentation.
- Available profile types differ by language and component maturity.
✓ When to pick: You want an Apache-licensed continuous profiling stack.
✗ When to avoid: You require a mature cross-platform solution or detailed allocation profiling across every runtime.
- License
- BSD-3-Clause.
- Deployment
- Self-hosted
- Activity
- Active; release 0.14.1 in 2026.
Pros
- High-resolution real-time timeline.
- Extensive CPU and GPU instrumentation support.
- Supports remote profiling and multiple programming-language integrations.
Cons
- Application instrumentation is needed for many detailed measurements.
- Integration and build configuration require development effort.
- More specialized than general-purpose production APM profilers.
✓ When to pick: You need to understand exactly what happens during individual frames or real-time workloads.
✗ When to avoid: You need automated profiling across an unmodified server fleet.
bpftrace
This is important because a GitHub repository being public does not automatically make a product open source.
- License
- Apache-2.0.
- Deployment
- Self-hosted
- Activity
- Active; v0.27.1 released in October 2026.
Pros
- Flexible, expressive tracing language.
- Uses efficient eBPF mechanisms.
- Supports kernel and user-space probes.
Cons
- Linux-only.
- Requires kernel and eBPF expertise.
- Probe availability and behavior depend on kernel versions and configuration.
✓ When to pick: You need custom, targeted instrumentation at the operating-system level.
✗ When to avoid: You want a ready-made graphical profiler for application developers.