diff options
author | William Perron <hey@wperron.io> | 2021-01-17 11:40:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-17 11:40:29 -0500 |
commit | 2b5b93158c1fc8887b2d4e4d1e4fc3d71c795027 (patch) | |
tree | 220c7190e1ce09988ee602c8b1f4944831ea8d92 /test_util/src/lib.rs | |
parent | 271fbe39e3a8390146b4fccb23a930987b007ea0 (diff) |
benchmark: cleanup serde_json values being passed around (#9115)
Diffstat (limited to 'test_util/src/lib.rs')
-rw-r--r-- | test_util/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test_util/src/lib.rs b/test_util/src/lib.rs index 9e9a9c971..53dc82c39 100644 --- a/test_util/src/lib.rs +++ b/test_util/src/lib.rs @@ -21,6 +21,7 @@ use os_pipe::pipe; #[cfg(unix)] pub use pty; use regex::Regex; +use serde::Serialize; use std::collections::HashMap; use std::convert::Infallible; use std::env; @@ -1366,7 +1367,7 @@ pub fn parse_wrk_output(output: &str) -> WrkOutput { } } -#[derive(Debug)] +#[derive(Debug, Clone, Serialize)] pub struct StraceOutput { pub percent_time: f64, pub seconds: f64, |