Skip to content

Use enum size instead of MAX_BENCH_OPS#456

Open
padelsbach wants to merge 2 commits into
wolfSSL:mainfrom
padelsbach:remove-fixed-benchmark-count
Open

Use enum size instead of MAX_BENCH_OPS#456
padelsbach wants to merge 2 commits into
wolfSSL:mainfrom
padelsbach:remove-fixed-benchmark-count

Conversation

@padelsbach

@padelsbach padelsbach commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

NOTE: this change switches wh_bench.c from CRLF to LF. Turn off the whitespace comparison when reviewing the diff for sanity.

This change removes MAX_BENCH_OPS which needed to be adjusted whenever the test list was updated. Instead, just use the size of the enum.

@padelsbach
padelsbach force-pushed the remove-fixed-benchmark-count branch 2 times, most recently from 48b7c7e to 4c636e5 Compare July 16, 2026 22:48
@padelsbach
padelsbach force-pushed the remove-fixed-benchmark-count branch from 4c636e5 to 8818e8c Compare July 17, 2026 00:13
@padelsbach
padelsbach requested review from Frauschi and bigbrett and removed request for Frauschi July 17, 2026 02:08

@Frauschi Frauschi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@Frauschi Frauschi assigned bigbrett and unassigned Frauschi Jul 17, 2026
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.

3 participants