Skip to content

Use ASV and uv for performance smoke regression testing - #1

Merged
angehu-nv merged 6 commits into
angehu-nv:angehu/perf-smoke-integrationfrom
StafaH:feat/asv-perf-smoke
Sep 21, 2026
Merged

angehu-nv merged 6 commits into
angehu-nv:angehu/perf-smoke-integrationfrom
StafaH:feat/asv-perf-smoke

Conversation

@StafaH

@StafaH StafaH commented Sep 16, 2026 •

Copy link
Copy Markdown

Replace the custom MAD/two-sigma regression calculation in isaac-sim#7137 with ASV's pinned comparison engine. Keep Isaac Lab's runtime contracts, rolling Azure baselines, warning/failure policy, hard floors, advisory metrics, and non-blocking infrastructure errors.

The runner uses uv and collects three independent benchmark runs per combination for noise-aware comparisons. This approximately triples benchmark execution time. ASV compares the original samples and medians, with the comparison reversed for FPS. Its strict thresholds do not flag equality. ASV and asv-runner are pinned because the gate directly uses ASV's internal decision helper.

Raw benchmark bundles and the existing comparison JSON/Markdown remain the artifacts.

Validation: 7 focused host-only tests and all repository formatting/lint checks passed. Tests cover both ASV significance paths, threshold boundaries, even-sample FPS medians, zero-throughput regressions, hard floors, advisory metrics, contract filtering, and infrastructure errors. Full GPU matrix validation remains for CI. No source packages changed, so no package changelog fragment is needed.

Comment thread tools/perf_smoke/compare.py Outdated
note=note,
gating=thresholds.gating,
)
if thresholds.hard_floor is not None and min(candidates) < thresholds.hard_floor:

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

latent bug doesn't respect metrics.higher_is_worse. Not letting me push directly to your branch but maybe fix w something simple like this?

if thresholds.hard_floor is not None:
        worst = max(candidates) if metric.higher_is_worse else min(candidates)
        breached = worst > thresholds.hard_floor if metric.higher_is_worse else worst < thresholds.hard_floor
        if breached:
            direction = "above" if metric.higher_is_worse else "below"
            return replace(
                result, verdict=FAIL, gating=True, note=f"{direction} hard floor {thresholds.hard_floor:g}"
            )

@angehu-nv
angehu-nv merged commit 208db49 into angehu-nv:angehu/perf-smoke-integration Sep 21, 2026
1 check passed
@StafaH
StafaH deleted the feat/asv-perf-smoke branch October 10, 2026 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants