Skip to content

fix: honor --runs in HTML parser benchmark#896

Open
JonArnfred wants to merge 1 commit into
dgunning:mainfrom
JonArnfred:fix/benchmark-runs-option
Open

fix: honor --runs in HTML parser benchmark#896
JonArnfred wants to merge 1 commit into
dgunning:mainfrom
JonArnfred:fix/benchmark-runs-option

Conversation

@JonArnfred

Copy link
Copy Markdown

Closes #895

The CLI accepted a custom run count but dropped it before each document was benchmarked, so every corpus run still used the five-run default. This made benchmark configuration misleading and prevented reliable quick or high-confidence comparisons.

Pass the value through benchmark_corpus() so each document uses the requested run count.
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.

HTML parser benchmark ignores --runs option

1 participant