-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance outliers #579
Comments
Looking at frame variation. Frame 5274 took 78ms. No one thing dominates.
Frame 5340 took 17ms. Essentially the same content, but no content loading in progress. Frame 5261 took 16ms. Best frame. Tonemapping only ran 4us. Looking at device_create_bind_group in wgpu core, it's usually very fast, but sometimes Here's the fastest frame, 16ms: Here's the slowest frame, 77ms: |
Tracy performance trace files can be downloaded from https://animats.com/sl/misc/ The one above is vallone2.trace.tracy. Note, 25MB. This can be read with Tracy Profiler 0.10. That gives detailed access to the performance data. |
Places that look slow in the slow example above:
Most of the stalls appear to be associated with Device::create_bind_group. |
Looking at Notes
|
I'm running Tracy on my real Sharpview program now, to see what performance looks like. Here's an overview
This shows how long the "Redraw" event from Rend3-framework took. Mean time 15ms, which is great. Most of the frame times are close to that. But there are many outliers. Slowest time 110ms, and lots of frames took 50ms-70ms to render.
Basic rendering is probably fast enough. There's concurrent content loading in progress, and the outliers are probably related to that.
I have the whole trace file (25MB) saved, if you want that. Then you can look at it yourself with Tracy.
The text was updated successfully, but these errors were encountered: