-
-
Save zhouyuan/e9820b4e355673523eee21b1662004ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/analyzer/analyzer.py b/analyzer/analyzer.py | |
index 52b664a..b48158a 100644 | |
--- a/analyzer/analyzer.py | |
+++ b/analyzer/analyzer.py | |
@@ -883,7 +883,7 @@ class Analyzer: | |
output_fio_data['write_runtime'] = 0 | |
if len(lat_per_dict) != 0: | |
- for tmp_key in ["99.00th", "99.99th"]: | |
+ for tmp_key in ["95.00th", "99.00th", "99.99th"]: | |
if tmp_key in lat_per_dict.keys(): | |
lat_persent_unit = re.findall(r"(?<=[\(])[^\)]+(?=[\)])", stdout2.strip('\n').strip(' ').replace( | |
' ','')) | |
if len(lat_persent_unit) != 0: | |
diff --git a/analyzer/analyzer_remote.py b/analyzer/analyzer_remote.py | |
index a083d6c..a1ee507 100644 | |
--- a/analyzer/analyzer_remote.py | |
+++ b/analyzer/analyzer_remote.py | |
@@ -765,7 +765,7 @@ class Analyzer: | |
output_fio_data['write_bw'] = 0 | |
output_fio_data['write_runtime'] = 0 | |
if len(lat_per_dict) != 0: | |
- for tmp_key in ["99.00th", "99.99th"]: | |
+ for tmp_key in ["95.00th", "99.00th", "99.99th"]: | |
if tmp_key in lat_per_dict.keys(): | |
#output_fio_data['99.99%_lat'] = lat_per_dict['99.99th'] | |
lat_persent_unit = re.findall(r"(?<=[\(])[^\)]+(?=[\)])", stdout2.strip('\n').strip(' ').replace( | |
' ','')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment