Description
hotpath-rs is an open-source performance profiler tailored for Rust developers aiming to optimize their code's efficiency. It provides detailed insights into CPU usage, memory allocations, async data flow, and more, allowing developers to pinpoint performance bottlenecks effectively. The tool supports profiling of functions, channels, futures, streams, SQL queries, HTTP calls, and byte-level I/O, making it a versatile choice for various applications.
Read More
One of the standout features of hotpath-rs is its integration with Prometheus and Grafana, enabling users to export profiling metrics to existing dashboards for production monitoring. The tool also offers a live TUI dashboard for real-time analysis and static reports for one-off evaluations. Developers can benefit from its ability to distinguish between functions that are slow due to I/O waits and those that are CPU-intensive, providing actionable insights for optimization.
hotpath-rs is particularly useful for developers working with async Rust and Tokio applications, offering metrics for worker thread utilization, task scheduling, and queue depths. It also supports SQL query profiling for sqlx and Diesel, as well as HTTP request profiling for reqwest and ureq. The profiler's concurrency metrics help track Mutex/RwLock wait times and contention, ensuring efficient resource management.
The tool is designed to be minimally intrusive, with profiling overheads kept to a few tens of nanoseconds per operation. It supports deterministic instruction counts using Callgrind, making it suitable for noise-free CI benchmarks. hotpath-rs is free to use during its open beta, with plans for a free tier for public repositories post-beta.
- CategoryCoding & Development
- Pricing ModelOpen Source
- DeploymentCloud
- PlatformsRust
hotpath-rs's Core Features
Time, CPU & memory profiling
Async observability
I/O monitoring
SQL query profiling
HTTP calls profiling
Concurrency metrics
Prometheus & Grafana integration
Live TUI dashboard & static reports
CI regression detection
Deterministic instruction counts
How to use hotpath-rs?
Configure: Set up profiling features
Use: Profile functions and tasks
Optimize: Analyze metrics for bottlenecks
Integrate: Export data to Prometheus & Grafana
hotpath-rs's Use Cases
- CPU Profiling
- Memory Leak Detection
- Async Task Monitoring
- SQL Query Optimization
- HTTP Request Analysis







