bevy/release-content/release-notes
Daniel Skates d45ae74286
Add frame_time graph to fps_overlay v2 (#19277)
# Objective

- Rebase of https://github.com/bevyengine/bevy/pull/12561 , note that
this is blocked on "up-streaming
[iyes_perf_ui](https://crates.io/crates/iyes_perf_ui)" , but that work
seems to also be stalled

> Frame time is often more important to know than FPS but because of the
temporal nature of it, just seeing a number is not enough. Seeing a
graph that shows the history makes it easier to reason about
performance.

## Solution

> This PR adds a bar graph of the frame time history.
> 
> Each bar is scaled based on the frame time where a bigger frame time
will give a taller and wider bar.
> 
> The color also scales with that frame time where red is at or bellow
the minimum target fps and green is at or above the target maximum frame
rate. Anything between those 2 values will be interpolated between green
and red based on the frame time.
> 
> The algorithm is highly inspired by this article:
https://asawicki.info/news_1758_an_idea_for_visualization_of_frame_times

## Testing

- Ran `cargo run --example fps_overlay --features="bevy_dev_tools"`

---------

Co-authored-by: IceSentry <c.giguere42@gmail.com>
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2025-07-09 16:59:21 +00:00
..
.gitkeep Add basic release content tagging workflow (#18568) 2025-03-27 17:46:39 +00:00
bevy_solari.md bevy_solari ReSTIR DI (#19790) 2025-06-29 19:01:32 +00:00
bevy_ui_render_crate.md bevy_ui_render crate (#18703) 2025-07-03 23:36:35 +00:00
entity-spawn-ticks.md Fix EntityMeta.spawned_or_despawned unsoundness (#19350) 2025-05-27 22:45:07 +00:00
event_split.md Event Split: Event, EntityEvent, and BufferedEvent (#19647) 2025-06-15 16:46:34 +00:00
feathers.md Feathers toggle switches. (#19928) 2025-07-03 01:09:31 +00:00
frame_time_graph.md Add frame_time graph to fps_overlay v2 (#19277) 2025-07-09 16:59:21 +00:00
headless-widgets.md Change CoreWidgets plugin to plugin group. (#20036) 2025-07-09 01:07:49 +00:00
hot_patching.md Hot patching systems with subsecond (#19309) 2025-06-03 21:12:38 +00:00
key_buttoninput.md Add support for ButtonInput<Key> (#19684) 2025-06-18 20:15:03 +00:00
log-diagnostics-state-public.md Expose LogDiagnosticsState (#19323) 2025-05-23 20:56:36 +00:00
observer_overhaul.md Observer trigger refactor (#19935) 2025-07-04 16:27:21 +00:00
specialized_ui_transform.md Specialized UI transform (#16615) 2025-06-09 19:05:49 +00:00
system_set_naming_convention.md Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
text-background-colors.md Text background colors (#18892) 2025-05-04 08:18:46 +00:00
tilemap-chunk-rendering.md Add TilemapChunk rendering (#18866) 2025-06-23 23:55:10 +00:00
ui_gradients.md HSL and HSV interpolation for UI gradients (#19992) 2025-07-07 20:08:51 +00:00
viewport-node.md Add a viewport UI widget (#17253) 2025-05-05 22:57:37 +00:00