stylus_trace_core/diff/
mod.rs1mod analyzer;
20mod engine;
21mod normalizer;
22mod output;
23mod schema;
24mod threshold;
25
26pub use analyzer::analyze_profile;
28pub use engine::generate_diff;
29pub use normalizer::{calculate_gas_delta, calculate_hostio_type_changes, safe_percentage};
30pub use output::render_terminal_diff;
31pub use schema::{
32 Deltas, DiffReport, DiffSummary, GasDelta, HostIOTypeChange, HostIoDelta, HotPathComparison,
33 HotPathsDelta, ProfileMetadata, ThresholdViolation,
34};
35pub use threshold::{
36 check_gas_thresholds, check_thresholds, create_summary, load_thresholds, GasThresholds,
37 HostIOThresholds, HotPathThresholds, ThresholdConfig,
38};
39
40pub use crate::utils::error::DiffError;