You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A bug in the benchmarking report triggered a fail if the benchmark of
the branch to merge scored more than the threshold over the main branch
(ie. the merge branch is better), where it should fail if the score is
more than the threshold below the main branch.
This PR aims to fix that, and also improves reporting in case of a fail.
Kind regards,
Hans
console.error(`\n\nError: ${key} is more than ${sign}${threshold}% off the reference (${ref}${unit})`)
130
+
if((-1*correctedDiff)>threshold){
131
+
console.error(`\n\nError: ${key} is ${sign}${correctedDiff.toFixed(2)}% off the reference (${ref}${unit}) which is more than the threshold of ${threshold}% `)
0 commit comments