diff options
| author | Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> | 2018-12-10 15:15:34 -0600 |
|---|---|---|
| committer | Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> | 2018-12-12 11:05:22 -0600 |
| commit | 1990185f5ff5a77f07ced4408cd0e5c4de404ad7 (patch) | |
| tree | 0f088213c0a9cfa495c942f422dbfb4c8d5f0abe /ChangeLog | |
| parent | 587426d499e6ac40dafd9a19dcd12cb6af93f5fc (diff) | |
| download | 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-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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. |
