Add benchmark for CUDA Graph / HIP Graph trace processing performance

Open
#591 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
52/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
performance

Research direction

The issue names no files, tests, or benchmark entry point. Start by locating the existing trace-processing benchmarks and the path used to process trace artifacts, then identify how benchmark traces are stored and timed. Done means adding one graph-heavy trace, a wall-clock benchmark, and a comparable non-graph baseline with reported results.

Written by the indexing model from the issue text.

Description

Summary

Add a benchmark that measures TraceLens trace-processing time on a trace containing CUDA Graph / HIP Graph dispatches. Customers have reported slowdowns when processing graph-heavy traces, and we have no benchmark to track this.

Motivation

  • Customers report noticeable slowdown when loading/processing traces that contain CUDA/HIP graph captures.
  • Without a targeted benchmark we can't quantify the impact or catch regressions.

Proposed Work

  1. Collect or synthesize a representative trace — one trace where a large chunk of the kernels are dispatched via CUDA Graph / HIP Graph.
  2. Add a benchmark target — measure end-to-end trace processing wall-clock time for that trace.
  3. Compare against a non-graph baseline — run the same benchmark on a similarly-sized trace without graphs so we can see the delta.

Acceptance Criteria

  • One graph-heavy trace is available as a benchmark artifact.
  • Benchmark measures and reports wall-clock processing time.
  • Results are comparable to a non-graph baseline of similar kernel count.
Dominant language
Python
Stars
101
Forks
34
Avg merge
2d 1h
Merged PRs (30d)
78

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AMD-AGI/TraceLens

All issues in AMD-AGI/TraceLens

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.