Skip to main content

atomr_profiler/
lib.rs

1//! Actor performance profiler for the atomr Rust runtime.
2//!
3//! Exposes a handful of scenarios (`tell`, `ask`, `fanout`, `cpu`) that
4//! exercise the mailbox, ask pattern, actor creation, and a CPU-bound
5//! handler respectively. Each scenario emits a [`Measurement`] with the
6//! same schema the Python profiler produces so the two runtimes can be
7//! compared directly.
8//!
9//! See the `atomr-profiler` binary for the CLI wrapper and
10//! `scripts/profile.py` for the cross-runtime orchestrator.
11
12pub mod metrics;
13pub mod report;
14pub mod scenarios;
15
16pub use report::{Measurement, ProfilerReport, Scenario};