Real => wall clock

This commit is contained in:
David Peter authored and David Peter committed 2026-10-05 15:56:53 +02:00
1 parent af4422d212
commit c20fcc0bda
7 files changed
+122 -97

No files matched your search

+7 -7
View File
@@ -68,7 +68,7 @@ impl Exporter for CsvExporter {
}
#[cfg(test)]
use crate::benchmark::benchmark_result::{BenchmarkRun, Parameter};
use crate::benchmark::benchmark_result::{Parameter, Run};
#[test]
fn test_csv() {
@@ -85,21 +85,21 @@ fn test_csv() {
BenchmarkResult {
command: String::from("command_a"),
runs: vec![
BenchmarkRun {
Run {
wall_clock_time: 7.0,
user_time: 7.0,
system_time: 0.0,
memory_usage_byte: 1024,
exit_code: Some(0),
},
BenchmarkRun {
Run {
wall_clock_time: 8.0,
user_time: 8.0,
system_time: 0.0,
memory_usage_byte: 1024,
exit_code: Some(0),
},
BenchmarkRun {
Run {
wall_clock_time: 12.0,
user_time: 12.0,
system_time: 0.0,
@@ -129,21 +129,21 @@ fn test_csv() {
BenchmarkResult {
command: String::from("command_b"),
runs: vec![
BenchmarkRun {
Run {
wall_clock_time: 17.0,
user_time: 17.0,
system_time: 0.0,
memory_usage_byte: 1024,
exit_code: Some(0),
},
BenchmarkRun {
Run {
wall_clock_time: 18.0,
user_time: 18.0,
system_time: 0.0,
memory_usage_byte: 1024,
exit_code: Some(0),
},
BenchmarkRun {
Run {
wall_clock_time: 19.0,
user_time: 19.0,
system_time: 0.0,