/// Convert this composite result into a single result (e.g. for reporting a composite score).
Convert this composite result into a single result .
Convert this composite result into a single result .
pub(crate) fn into_single_result(self) -> BenchmarkResult {
        let score = self.avg();
        BenchmarkResult {
            info: BenchmarkInfo {
                test_name: self.name,
                args: Document::new(),
            },
            metrics: vec![BenchmarkMetric {
                name: SCORE_VALUE_NAME,
                value: score,
            }],
        }
    }
pub ( crate ) fn into_single_result ( self ) -> BenchmarkResult { let score = self . avg ( ) ; BenchmarkResult { info : BenchmarkInfo { test_name : self . name , args : Document :: new ( ) , } , metrics : vec ! [ BenchmarkMetric { name SCORE_VALUE_NAME value score } ] , } }
Convert this composite result into a single result (e.g.
Convert this composite result into a single result ( e . g .
self