Skip to content

fix: resolve empty performance data in summary.json for dual-key oper…#5

Merged
yzw234 merged 1 commit into
mainfrom
fix/perf-data-parsing-dual-key
Jul 15, 2026
Merged

fix: resolve empty performance data in summary.json for dual-key oper…#5
yzw234 merged 1 commit into
mainfrom
fix/perf-data-parsing-dual-key

Conversation

@yzw234

@yzw234 yzw234 commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

…ators

When benchmark output contains two top-level keys (new operator name

  • legacy CUTENSOR_OP_* identifier), parse_perf_data() was only reading the primary key. For contraction/sparse operators the primary key had 'result' but no 'details', while the legacy key held the actual benchmark numbers. The function also returned early on failed/skipped results without attempting to populate benchmark data from sibling keys.
  • Scan sibling keys for details when the primary key has none
  • Still populate bench data on failed/skipped results so summary.json is never empty
  • Fixes BlockSparseContraction, Contraction, ContractionTrinary, ElementwiseTrinary showing data=EMPTY in summary.json

…ators

When benchmark output contains two top-level keys (new operator name
+ legacy CUTENSOR_OP_* identifier), parse_perf_data() was only reading
the primary key. For contraction/sparse operators the primary key had
'result' but no 'details', while the legacy key held the actual benchmark
numbers. The function also returned early on failed/skipped results
without attempting to populate benchmark data from sibling keys.

- Scan sibling keys for details when the primary key has none
- Still populate bench data on failed/skipped results so summary.json
  is never empty
- Fixes BlockSparseContraction, Contraction, ContractionTrinary,
  ElementwiseTrinary showing data=EMPTY in summary.json
@yzw234 yzw234 merged commit 7b3fc2e into main Jul 15, 2026
2 of 4 checks passed
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.

1 participant