Skip to content

Fix frequency benchmark table values condition to allow for minimum o…#318

Merged
harp-intel merged 1 commit into
mainfrom
srffreq
Apr 25, 2025
Merged

Fix frequency benchmark table values condition to allow for minimum o…#318
harp-intel merged 1 commit into
mainfrom
srffreq

Conversation

@harp-intel
Copy link
Copy Markdown
Contributor

…ne frequency buckets

…ne frequency buckets

Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
@harp-intel harp-intel linked an issue Apr 25, 2025 that may be closed by this pull request
@harp-intel harp-intel requested a review from Copilot April 25, 2025 22:28
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the condition for processing frequency buckets in the benchmark table values to allow for exactly two frequency buckets, fixing an edge-case issue.

  • Changed conditional check from "> 2" to ">= 2" to include the minimum expected number of buckets.
Comments suppressed due to low confidence (1)

internal/report/table_defs.go:1989

  • The updated condition now allows exactly 2 frequency buckets. Please confirm that this new logic matches the intended behavior for processing buckets.
if err == nil && len(frequencyBuckets) >= 2 {

@harp-intel harp-intel merged commit 579fd11 into main Apr 25, 2025
3 checks passed
@harp-intel harp-intel deleted the srffreq branch April 25, 2025 22:31
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.

SRF frequency benchmark doesn't include expected SSE frequencies

2 participants