Skip to content

Commit 637096f

Browse files
authored
Merge pull request #9670 from graydon/i-can-do-arithmetic-i-swear
2 parents 6bdb0f5 + 89a21b2 commit 637096f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/process-stats-dir.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def compare_frontend_stats(args):
240240
if old == 0 or new == 0:
241241
continue
242242
delta = (new - old)
243-
delta_pct = round((float(delta) / float(new)) * 100.0, 2)
243+
delta_pct = round((float(delta) / float(old)) * 100.0, 2)
244244
if (stat_name.startswith("time.") and
245245
abs(delta) < args.delta_usec_thresh):
246246
continue

0 commit comments

Comments
 (0)