Skip to content

Do not show "ERR" if baseline not there - #1154

Merged
dantleech merged 1 commit into
masterfrom
noerr
Jun 14, 2026
Merged

dantleech merged 1 commit into
masterfrom
noerr

Conversation

@dantleech

@dantleech dantleech commented Jun 14, 2026

Copy link
Copy Markdown
Member

Currently if a baseline is used and there is a benchmark that is not in the benchmark then one of two things happens when showing the "difference":

  • ERR is shown (e.g. when calculating the percentage difference from the mem_peak but it's NULL)
  • Null is cast to 0 (e.g. rstdev, mode etc).

The new if operator allows the case to conditionally show the difference (the aggregate-preview report handles this correctly already).

Before:

image

After:

image

@dantleech
dantleech force-pushed the noerr branch 3 times, most recently from 52129cc to 1c50437 Compare June 14, 2026 18:22
@dantleech
dantleech merged commit eac0a11 into master Jun 14, 2026
14 checks passed
@dantleech
dantleech deleted the noerr branch June 14, 2026 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant