bevyengine / bevyengine/bevy

Enhance tracy render diagnostic spans to support nesting

Open
#20,319 0 comments 0 reactions 0 assignees View on GitHub
A-Dev-Tools C-Feature
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

Tracy GPU spans were added in https://github.com/bevyengine/bevy/pull/18490, but in order to get it working with bevy's multithreading, we didn't add support for nested spans. It would be nice to support that.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing PR #18490, which introduced Tracy GPU spans, and trace how those spans interact with Bevy's multithreading. Determine the existing span lifecycle and make nested spans work correctly across that setup; done means nested Tracy GPU spans are supported without breaking multithreaded diagnostics.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.