def _speed_up(self, property: str, data1: RunData, data2: RunData):
"""
Calculates the speed up from the second to the first
(e.g. the first is RESULT * 100 % faster than the second).
"""
return (scipy.mean(data1[property]) - scipy.mean(data2[property])) \
/ scipy.mean(data1[property])
评论列表
文章目录