Skip to content

examples/heater: Use packaged heater_seq_campaign#352

Merged
apaolillo merged 1 commit into
mainfrom
seqexample
Jul 2, 2026
Merged

examples/heater: Use packaged heater_seq_campaign#352
apaolillo merged 1 commit into
mainfrom
seqexample

Conversation

@apaolillo

Copy link
Copy Markdown
Collaborator

The heater_sequential example defined its own copy of heater_seq_campaign, duplicating the helper now exported from benchkit.benches.heater and relying on the old API (benchmark_duration_seconds, src_dir).

Drop the local definition, import the packaged helper, and update main() to the current API (duration_s, platform.nb_cpus()), so the example stays in sync with the library.

The heater_sequential example defined its own copy of
heater_seq_campaign, duplicating the helper now exported from
benchkit.benches.heater and relying on the old API
(benchmark_duration_seconds, src_dir).

Drop the local definition, import the packaged helper, and update
main() to the current API (duration_s, platform.nb_cpus()), so the
example stays in sync with the library.

Signed-off-by: Antonio Paolillo <apaolill@gmail.com>
@apaolillo apaolillo requested a review from matsvanmolle July 2, 2026 11:05
@apaolillo apaolillo self-assigned this Jul 2, 2026

@matsvanmolle matsvanmolle left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@apaolillo apaolillo merged commit 42e520e into main Jul 2, 2026
2 checks passed
@apaolillo apaolillo deleted the seqexample branch July 2, 2026 11:18
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.

2 participants