Symbiotic
High-resolution performance profiling for Rust with hardware PMU counters, eBPF, and tracing integration.
Features
- 1000Hz CPU Sampling: Microsecond-level granularity for detailed performance analysis
- Hardware PMU Integration: Direct access to CPU performance counters
- Cache Hierarchy Analysis: L1D/L1I/L2/L3 cache hit/miss statistics
- Memory Bandwidth Monitoring: Track memory throughput and bottlenecks
- SIMD Utilization: Monitor AVX2/AVX512 instruction usage
- Tracing Integration: Correlate hardware events with application spans
- Low Overhead: < 5% performance impact even at aggressive sampling rates
- Criterion Integration: Seamless integration with Rust benchmarks
Quick Start
use ;
Criterion Integration
use ;
use DeepProfiler;
criterion_group!;
criterion_main!;
Requirements
- Linux kernel >= 5.8 (for eBPF support)
perf_event_paranoid<= 1 for PMU access- Optional: CAP_PERFMON capability for non-root profiling
License
This project is dual-licensed under MIT OR Apache-2.0.