Commit Graph

5 Commits

Author SHA1 Message Date
Oleksandr Pavlyk
dd683850f4 Addressed both issues raised in review
Malformed values are now represented in result as None.

Skipped benchmarks are no longer dropped, i.e., they are present
in BenchmarkResult data, but they are not reflected in summary
table in line with what NVBench-instrumented benchmarks do.
2026-05-13 12:35:09 -05:00
Oleksandr Pavlyk
a38bf890f0 Fix license header, add validation 2026-05-12 15:46:26 -05:00
Oleksandr Pavlyk
151e463fb9 Address code rabbit review feedback 2026-05-12 15:22:57 -05:00
Oleksandr Pavlyk
fae9dfca18 Fix for format_axis_value in json format script to handle None value
Add tests to cover such input.
2026-05-12 15:06:31 -05:00
Oleksandr Pavlyk
4a22923721 Add BenchmarkResult JSON results namespace and summary CLI
Move NVBench JSON result parsing into cuda.bench.results with explicit
BenchmarkResult, BenchmarkResultDevice, BenchmarkResultSummary,
SubBenchmarkResult, and SubBenchmarkState types. Remove the result reader
from the top-level cuda.bench namespace and require construction through
BenchmarkResult.from_json() or BenchmarkResult.empty().

Preserve bulk sample/frequency parsing and estimator helpers while making
summaries rich objects that retain tag/name/hint/hide/description metadata.

Add nvbench-json-summary to render NVBench JSON output as an NVBench-style
markdown summary table, including axis formatting, device sections, hidden
summary filtering, and summary hint formatting.

Update packaging, type stubs, and tests for the new namespace, renamed
classes, Python 3.10-compatible annotations, and summary-table generation.
2026-05-12 09:58:30 -05:00