diff options
author | Tibor Frank <tifrank@cisco.com> | 2017-10-31 18:47:49 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2017-10-31 17:49:23 +0000 |
commit | 0972f6da174eb2860cab207fb44c8c7734640bd2 (patch) | |
tree | 6141da9dd5f3955cb68d5a89a50e68d006d6126f | |
parent | c3052b69f5a26070c41488dcb07deae30376a204 (diff) |
Report: perf improvements
Change-Id: I5e323a2d79639555b8b2fa76596ba17d173a0335
Signed-off-by: Tibor Frank <tifrank@cisco.com>
(cherry picked from commit 2d9a3928380ba9c2b918d84cbc7540ca6af218aa)
-rw-r--r-- | resources/tools/presentation/generator_tables.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 7f4071bef3..a07a989bce 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -240,10 +240,12 @@ def table_performance_improvements(table, input_data): and rel_change >= 10.0: _write_line_to_file(file_handler, item) elif "ndr_low" in file_name \ - and "ndr" in item[1]["data"]: + and "ndr" in item[1]["data"] \ + and rel_change < 10.0: _write_line_to_file(file_handler, item) elif "pdr_low" in file_name \ - and "pdr" in item[1]["data"]: + and "pdr" in item[1]["data"] \ + and rel_change < 10.0: _write_line_to_file(file_handler, item) logging.info(" Done.") |