Skip to content

Add self-profile instructions to compile time profiling guide #18331

@JMS55

Description

@JMS55

Improve https://github.com/bevyengine/bevy/blob/main/docs/profiling.md#compile-time by adding instructions for e.g. CARGO_INCREMENTAL=0 RUSTC_WRAPPER= RUSTC_BOOTSTRAP=1 cargo rustc --package bevy_render -- -Z self-profile -Z self-profile-events=default,args.

Produces a file you can run through crox and then visualize with perfetto.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-BenchmarksStress tests and benchmarks used to measure how fast things areD-StraightforwardSimple bug fixes and API improvements, docs, test and examples

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions