Skip to content

benchmark: Fix pretty vars & taskset edge cases#320

Merged
apaolillo merged 1 commit intomainfrom
taskset
Jan 29, 2026
Merged

benchmark: Fix pretty vars & taskset edge cases#320
apaolillo merged 1 commit intomainfrom
taskset

Conversation

@apaolillo
Copy link
Collaborator

  • Normalize sequence-valued variables before pretty-printing to avoid mismatches in pretty variable mappings
  • Apply pretty variable expansion after post-run hooks, once experiment result lines are fully materialized
  • Make taskset wrapper robust to empty CPU selections and allow cpu_list to implicitly define cpu_order
  • Extend cartesian_product to support dict-valued variables by iterating over (key, value) pairs

This fixes several subtle edge cases in result formatting and CPU pinning while making variable expansion more flexible.

- Normalize sequence-valued variables before pretty-printing
  to avoid mismatches in pretty variable mappings
- Apply pretty variable expansion after post-run hooks, once
  experiment result lines are fully materialized
- Make taskset wrapper robust to empty CPU selections and
  allow cpu_list to implicitly define cpu_order
- Extend cartesian_product to support dict-valued variables
  by iterating over (key, value) pairs

This fixes several subtle edge cases in result formatting and
CPU pinning while making variable expansion more flexible.

Signed-off-by: Antonio Paolillo <apaolill@gmail.com>
@apaolillo apaolillo self-assigned this Jan 29, 2026
Copy link
Collaborator

@matsvanmolle matsvanmolle left a comment

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 8392395 into main Jan 29, 2026
2 checks passed
@apaolillo apaolillo deleted the taskset branch January 29, 2026 11: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.

2 participants