Skip to content

Rewrite benchmark user guide - #6595

Closed
AntoineRichard wants to merge 14 commits into
isaac-sim:developfrom
AntoineRichard:antoiner/benchmark-user-guide
Closed

AntoineRichard wants to merge 14 commits into
isaac-sim:developfrom
AntoineRichard:antoiner/benchmark-user-guide

Conversation

@AntoineRichard

@AntoineRichard AntoineRichard commented Jul 17, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Rewrites the benchmark user guide around the public CLI workflows and the questions benchmark users need to answer:

  • choosing between runtime, startup, training, and play measurements;
  • emitting readable terminal summaries and machine-readable schema output;
  • selecting warm-up steps and workload sizes that produce representative results;
  • interpreting collection, environment-step, total, startup, rendering, and resource metrics;
  • reproducing published measurements on the designated workstation while recording CPU, GPU, software, task, seed, and revision provenance.

The guide uses Cartpole throughout and includes collapsed workstation output for each workflow. The runtime example also shows rendered camera timing. It explains that synchronized Isaac Lab overhead diagnostics can materially slow Newton and must not be enabled for throughput comparisons.

This branch also fixes two provenance fields used by the examples:

  • RSL-RL training schemas record the generated checkpoint path.
  • Startup schemas record the configured environment count.

Existing smoke tests were strengthened to check both fields; no new test suite was added.

Dependencies

This PR does not depend on the micro-benchmark implementation stack. The advanced API guide follows in #6627, and the final documentation integration occurs in #6629.

Type of change

  • Bug fix
  • Documentation update

Validation

  • Focused startup and RSL-RL training/play smoke tests (2 passed, 19 deselected).
  • ./isaaclab.sh -f
  • ./isaaclab.sh -d
  • Fresh local runtime probe in a clean uv environment.
  • Runtime, startup, training, and trained-policy play captures on the designated workstation.

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks
  • I have made corresponding documentation changes
  • My changes generate no new warnings
  • Existing tests cover the provenance fixes
  • I have updated the required changelog fragment
  • My name already exists in CONTRIBUTORS.md

@github-actions github-actions Bot added documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team labels Jul 17, 2026
@AntoineRichard

Copy link
Copy Markdown
Collaborator Author

Merged and pushed the latest #6564 typed-dispatch fix into this branch as dependency commit aa37b66c365. This keeps the Part 2 advanced-guide comparison documentation-only.

@AntoineRichard
AntoineRichard marked this pull request as ready for review July 20, 2026 15:21
@AntoineRichard
AntoineRichard requested a review from a team July 20, 2026 15:21
@greptile-apps

greptile-apps Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Too many files changed for review. (150 files found, 100 file limit)

Bypass the limit by tagging @greptile-apps to review.

Keep mock state buffers stable so timed samples measure accessor work instead of random-data allocation or mock-side copies. Initialize Newton dynamics metadata and make unsupported or deprecated properties explicit.
Benchmark articulation, rigid-object, and collection wrapper and data paths using the optional kitless OVPhysX runtime. Keep mock storage work outside timed operations so results reflect Isaac Lab overhead.
Measure synchronized updates, submission latency, and backend reads for contact, frame-transformer, IMU, PVA, joint-wrench, and ray-caster sensors without charging physics stepping to sensor timing.
Share synchronized latency sampling across PhysX and OVPhysX sensor workloads. Emit summary and JSON results with observer-floor, submission, completion, and native-read statistics so runs are directly comparable and failures remain visible.
Use the shared synchronized latency runner so Newton sensor results include consistent statistics, observer cost, metadata, and machine-readable output across backends.
Explain why isolated asset and sensor benchmarks exist, how to run each backend workload, and how to interpret and compare their outputs.
Keep the designated-workstation requirement public without exposing the private local SSH helper.
@AntoineRichard
AntoineRichard force-pushed the antoiner/benchmark-user-guide branch from aa37b66 to f39c303 Compare July 28, 2026 21:45
@AntoineRichard

Copy link
Copy Markdown
Collaborator Author

Superseded by #6769, which consolidates this work and is now the canonical source for review, CI, and merge. Closing this PR to keep discussion and validation centralized there.

AntoineRichard added a commit that referenced this pull request Jul 30, 2026
## Summary

Consolidates the remaining open benchmarking work onto `develop`, which
now
contains #6564 and #6631. This pull request is the canonical source for
review,
CI, and merge; the superseded individual pull requests are closed to
keep
discussion and validation centralized here.

## Superseded pull requests

- #6565 — Fix articulation data micro-benchmarks
- #6566 — Add OVPhysX asset micro-benchmarks
- #6567 — Add OVPhysX sensor micro-benchmarks
- #6568 — Add Newton sensor micro-benchmarks
- #6587 — Document micro-benchmark workflows
- #6595 — Rewrite benchmark user guide
- #6624 — Success series in benchmark schema
- #6627 — Rewrite advanced benchmark framework guide
- #6629 — Unify benchmark documentation journey
- #6764 — Standardize benchmark warm-up steps

## Already landed dependencies

- #6564 — Benchmark library API
- #6631 — Restore RL entrypoint backend state

## Integration notes

- The success-rate learning curve advances the benchmark bundle schema
from
  1.2 to 1.3.
- Runtime and play use `num_steps` and `warmup_steps` consistently.
- Shared asset and sensor suites preserve backend-specific setup while
  centralizing common workload, timing, and reporting behavior.
- The top-level micro-benchmark factory exposes exact physics selectors
and
  runs retained benchmark scripts in child processes.
- The benchmark user, framework, and micro-benchmark guides form one
  documentation path with generated API coverage for public symbols.
- Historical plan/spec commits were excluded from the consolidated
history.

## Verification

- `./isaaclab.sh -f`
- `python3 tools/changelog/cli.py check develop`
- `./isaaclab.sh -d`
- Focused benchmark and RL entrypoint tests: 315 passed, 9 skipped

---------

Co-authored-by: Kelly Guo <[email protected]>
matthewtrepte pushed a commit to matthewtrepte/IsaacLab that referenced this pull request Aug 4, 2026
## Summary

Consolidates the remaining open benchmarking work onto `develop`, which
now
contains isaac-sim#6564 and isaac-sim#6631. This pull request is the canonical source for
review,
CI, and merge; the superseded individual pull requests are closed to
keep
discussion and validation centralized here.

## Superseded pull requests

- isaac-sim#6565 — Fix articulation data micro-benchmarks
- isaac-sim#6566 — Add OVPhysX asset micro-benchmarks
- isaac-sim#6567 — Add OVPhysX sensor micro-benchmarks
- isaac-sim#6568 — Add Newton sensor micro-benchmarks
- isaac-sim#6587 — Document micro-benchmark workflows
- isaac-sim#6595 — Rewrite benchmark user guide
- isaac-sim#6624 — Success series in benchmark schema
- isaac-sim#6627 — Rewrite advanced benchmark framework guide
- isaac-sim#6629 — Unify benchmark documentation journey
- isaac-sim#6764 — Standardize benchmark warm-up steps

## Already landed dependencies

- isaac-sim#6564 — Benchmark library API
- isaac-sim#6631 — Restore RL entrypoint backend state

## Integration notes

- The success-rate learning curve advances the benchmark bundle schema
from
  1.2 to 1.3.
- Runtime and play use `num_steps` and `warmup_steps` consistently.
- Shared asset and sensor suites preserve backend-specific setup while
  centralizing common workload, timing, and reporting behavior.
- The top-level micro-benchmark factory exposes exact physics selectors
and
  runs retained benchmark scripts in child processes.
- The benchmark user, framework, and micro-benchmark guides form one
  documentation path with generated API coverage for public symbols.
- Historical plan/spec commits were excluded from the consolidated
history.

## Verification

- `./isaaclab.sh -f`
- `python3 tools/changelog/cli.py check develop`
- `./isaaclab.sh -d`
- Focused benchmark and RL entrypoint tests: 315 passed, 9 skipped

---------

Co-authored-by: Kelly Guo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant