euv-performance 0.51.0

Reproducible CPU, layout, rasterization, and allocation benchmarks for the cross-platform euv runtime.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use super::*;

/// Summary helpers for `ParallelAbReport`.
impl ParallelAbReport {
    /// Returns the number of benchmark cases that passed all acceptance criteria.
    ///
    /// # Returns
    ///
    /// - `usize` - Count of passing cases.
    #[must_use]
    pub fn passed_count(&self) -> usize {
        self.get_cases()
            .iter()
            .filter(|case: &&ParallelAbCaseResult| case.get_passed())
            .count()
    }
}