1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Testing utilities and performance validation framework.
//!
//! This module provides comprehensive testing infrastructure for:
//! - Large-scale performance validation (10K+ connections, 100K+ TPS)
//! - Memory profiling and leak detection
//! - Scalability benchmarking
//! - Stress testing helpers
//!
//! # Example
//!
//! ```rust,ignore
//! use mabi_modbus::testing::{
//! PerformanceValidator, ScaleTest, MemoryProfiler, TestReport
//! };
//!
//! #[tokio::test]
//! async fn test_large_scale() {
//! let validator = PerformanceValidator::new()
//! .target_connections(10_000)
//! .target_tps(100_000)
//! .duration(Duration::from_secs(60));
//!
//! let report = validator.run().await.unwrap();
//! assert!(report.passed());
//! }
//! ```
pub use ;
pub use ;
pub use ;
pub use ;