Got a ton of benchmarking and stress testing code spit out by the LLM. Did a not-so-thorough vetting, not ready for merge into master, but it mostly makes sense. Needs to actually fail on the stress tests, not anticipate failure and call it success. The benchmarks also need a more thorough going over, in order to validate that they make sense. Then we can work on improving our metrics.
11 lines
361 B
Rust
11 lines
361 B
Rust
//! Stress test suite for swactor runtime.
|
|
//!
|
|
//! Run with: cargo test --features stress stress_ -- --nocapture
|
|
//!
|
|
//! These tests are hidden behind the `stress` feature flag because they:
|
|
//! - Take longer to run
|
|
//! - Intentionally push the system to failure
|
|
//! - May produce different results on different machines
|
|
|
|
#[cfg(feature = "stress")]
|
|
mod stress;
|