Repository navigation
Commit 4956673
docs(perf): the p99 capture owed on wgpu 30 -- presents are now even
#570 moved the renderers from wgpu 29 to 30, changing the present call
(Queue::present) and adding an explicit surface colour space. The frame
pacing on the new path had not been measured; this is that measurement,
taken as an A/B rather than a lone number, because a p99 in isolation
reports the host as much as the code (see the v2.3.3 F5 section).
Method: v2.9.2 (4bbc3b3, wgpu 29, built in a worktree) against 9dd64f2
(wgpu 30), run alternately old/new/old/new for 45 s each with
RUSTYNES_PERF_LOG=1 on the CC0 flowing_palette.nes (perf_capture.sh's
default). Captures started once the one-minute load average was under 2.
The config was identical and read from the CSV headers: run-ahead 0, rewind
on, Mailbox, 119.991 Hz Wayland monitor. All four pass perf_log_check.py
with present_discarded=0.
Result, consistent in both pairs:
presented p50 5.45 / 5.70 ms -> 8.36 / 8.35 ms
presented p95 15.63 / 15.67 -> 11.38 / 10.35
presented p99 16.93 / 16.94 -> 11.97 / 11.70
rwait p95 14.68 / 14.47 -> 8.48 / 8.45
produced max 27.0 / 26.9 -> 19.0 / 19.0
cost p95 2.99 / 2.98 -> 2.95 / 2.94
Both builds present at the monitor's rate (mean 8.37 ms). Under wgpu 29
those presents came in bunches; under wgpu 30 they land one vblank apart.
Emulation cost is unchanged.
Limits, stated in the doc: one host, one ROM, Mailbox only (not Fifo, 60 Hz
or run-ahead), present timing rather than what reached the eye, and not
attributed to a specific wgpu change, since the present-path move and the
colour-space field landed together. The raw CSVs stay in the session
scratchpad.
This closes the "p99 frame-pacing capture owed on wgpu 30" item carried
since #570.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014qfTKi2M3swo7qnwvYCkDj1 parent 9dd64f2 commit 4956673
2 files changed
Lines changed: 51 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
985 | 985 | | |
986 | 986 | | |
987 | 987 | | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
988 | 1035 | | |
989 | 1036 | | |
990 | 1037 | | |
| |||
0 commit comments