aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2017-10-31 18:47:49 +0100
committerTibor Frank <tifrank@cisco.com>2017-10-31 18:47:49 +0100
commit2d9a3928380ba9c2b918d84cbc7540ca6af218aa (patch)
treed2ea041e853a098f655244d381bc5527a7d2c3b0
parenta7e064b331e539b3294c8c8208a4fab60c7144aa (diff)
Report: perf improvements
Change-Id: I5e323a2d79639555b8b2fa76596ba17d173a0335 Signed-off-by: Tibor Frank <tifrank@cisco.com>
-rw-r--r--resources/tools/presentation/generator_tables.py6
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.")