about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>2018-12-10 15:15:34 -0600
committerLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>2018-12-12 11:05:22 -0600
commit1990185f5ff5a77f07ced4408cd0e5c4de404ad7 (patch)
tree0f088213c0a9cfa495c942f422dbfb4c8d5f0abe /ChangeLog
parent587426d499e6ac40dafd9a19dcd12cb6af93f5fc (diff)
downloadglibc-1990185f5ff5a77f07ced4408cd0e5c4de404ad7.tar.gz
glibc-1990185f5ff5a77f07ced4408cd0e5c4de404ad7.tar.xz
glibc-1990185f5ff5a77f07ced4408cd0e5c4de404ad7.zip
benchtests: include --stats parameter
Allows user to pick a statistic, defaulting to min and mean, from command
line. At the same time, if stat does not exit, catch the run-time exception
and keep comparing the rest of benchmarked functions. Finally, take care of
division-by-zero exceptions and as the latter, keep comparing the rest of the
functions, turning the script a bit more fault tolerant thus useful.

	* benchtests/scripts/compare_bench.py (do_compare): Catch KeyError and
    ZeroDivisorError exceptions.
	* benchtests/scripts/compare_bench.py (compare_runs): Use stats argument to
    loop through user provided statistics.
	* benchtests/scripts/compare_bench.py (main): Include the --stats argument.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 18b9f37637..953a047fbd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2018-12-12  Leonardo Sandoval  <leonardo.sandoval.gonzalez@intel.com>
 
+	* benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
+	and ZeroDivisorError exceptions.
+	* benchtests/scripts/compare_bench.py (compare_runs): Use stats
+	argument to loop through user provided statistics.
+	* benchtests/scripts/compare_bench.py (main): Include the --stats
+	argument.
+
+2018-12-12  Leonardo Sandoval  <leonardo.sandoval.gonzalez@intel.com>
+
 	* benchtests/scripts/compare_bench.py (compare_runs): Continue
 	instead of return.