[v2,0/3] benchtests: keep comparing in case of missing fields
mbox series

Message ID 20181211224659.29876-1-leonardo.sandoval.gonzalez@linux.intel.com
Headers show
Series
  • benchtests: keep comparing in case of missing fields
Related show

Message

Leonardo Sandoval Dec. 11, 2018, 10:46 p.m. UTC
From: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>

Without this patch series, the script immediately quits the first time
a routine to compare has neither 'timings' nor 'min/mean' stats field,
so making it useless at least for bench-math benchset. Also, it includes
a new argument that allows user to define the desired statistic(s),
defaulting to min and mean.


Leonardo Sandoval (3):
  benchtests: keep comparing even if function timings do not match
  benchtests: include --stats parameter
  benchtests: send non-consumable data to stderr

 benchtests/scripts/compare_bench.py | 34 +++++++++++++++++++----------
 1 file changed, 22 insertions(+), 12 deletions(-)