Crate hft_benchmarks

Crate hft_benchmarks 

Source
Expand description

High-precision benchmarking tools for HFT systems

Re-exports§

pub use timing::PrecisionTimer;
pub use timing::time_function;
pub use stats::BenchmarkResults;
pub use stats::BenchmarkAnalysis;
pub use calibration::calibrate_tsc_frequency;
pub use calibration::quick_calibrate_tsc_frequency;
pub use allocation::benchmark_allocations;
pub use allocation::benchmark_object_pools;
pub use allocation::benchmark_aligned_allocations;
pub use environment::validate_benchmark_environment;
pub use environment::print_environment_report;
pub use environment::EnvironmentReport;
pub use desktop_config::configure_for_desktop_memory_benchmarks;
pub use desktop_config::configure_for_desktop_cpu_benchmarks;
pub use desktop_config::check_desktop_suitability;
pub use desktop_config::DesktopSuitability;
pub use server_config::configure_for_server_memory_benchmarks;
pub use server_config::configure_for_server_cpu_benchmarks;
pub use server_config::check_server_environment;
pub use server_config::ServerEnvironment;

Modules§

allocation
Memory allocation benchmarking utilities
calibration
CPU frequency calibration for accurate timing
desktop_config
Desktop-optimized benchmark configuration
environment
Environment validation for consistent benchmarking
mock_core
Mock implementations for testing without hft-core dependency
server_config
Server-optimized benchmark configuration
stats
Statistical analysis for benchmark results
timing
High-resolution timing utilities using CPU timestamp counter

Structs§

SimpleBench