Skip to content

Variable frametime during user input #4691

Open
@aevyrie

Description

@aevyrie

Bevy version

0.7

Operating system & version

Win11

What you did

Use the tracing features to observe frame timings.

What you expected to happen

Frametime should be consistent with an empty app.

What actually happened

Extreme variability in the un-instrumented time between runs of the system graph while moving the mouse.

Additional information

Using immediate mode (vsync off).
I started moving my mouse in the second half of the capture:

image

A closer look at the time in question:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-InputPlayer input via keyboard, mouse, gamepad, and moreC-BugAn unexpected or incorrect behaviorC-PerformanceA change motivated by improving speed, memory usage or compile times

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions