Skip to content

Commit 423067b

Browse files
test: record the frame baseline at 60 Hz after the update and view fixes
The old baseline was recorded on October 28 with headless Chrome at 120 Hz, where some frames run no fixed step, and Chrome now runs at 60 Hz, so perf:check failed on fps and p95 frame time on every row whatever the code. Recorded with UPDATE=1 bun run perf:check on a quiet machine (1 minute load 1.6) after the modifyFields and shut dialog fixes, once perf.ts showed they lower the numbers. js ms (update + view) per frame, before and after: worst 1x 3.26 -> 2.88, 4x 5.33 -> 3.67 endlessCap 1x 3.22 -> 2.68, 4x 5.09 -> 3.54 busy 4x 4.62 -> 3.26, gasbags 4x 5.87 -> 4.19, idle 4x 2.99 -> 1.68
1 parent 0634e2b commit 423067b

1 file changed

Lines changed: 85 additions & 85 deletions

File tree

‎tools/audit/frame-baseline.json‎

Lines changed: 85 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -1,132 +1,132 @@
11
{
2-
"recordedAt": "2026-10-28T17:59:31.891Z",
3-
"calibrationMs": 93.59999990463257,
4-
"loadAverage": 2.037109375,
2+
"recordedAt": "2026-10-30T13:49:28.528Z",
3+
"calibrationMs": 94.20000004768372,
4+
"loadAverage": 1.55517578125,
55
"seconds": 5,
66
"rows": [
77
{
88
"scenario": "worst",
99
"rate": 1,
10-
"frames": 601,
11-
"fps": 120.2,
12-
"median": 8.3,
13-
"p95": 9.5,
14-
"max": 10.4,
10+
"frames": 301,
11+
"fps": 60.2,
12+
"median": 16.7,
13+
"p95": 16.8,
14+
"max": 16.8,
1515
"dropped": 0,
16-
"updateMean": 0.62,
17-
"updateP95": 1,
18-
"viewMean": 0.97,
19-
"viewP95": 1.3,
20-
"jsMs": 1.6,
21-
"busyMs": 2.12,
22-
"shapes": 1131,
23-
"zombies": "18->9",
24-
"particles": "101->71",
16+
"updateMean": 0.94,
17+
"updateP95": 1.6,
18+
"viewMean": 1.68,
19+
"viewP95": 2.4,
20+
"jsMs": 2.62,
21+
"busyMs": 3.16,
22+
"shapes": 197,
23+
"zombies": "19->8",
24+
"particles": "109->26",
2525
"phase": "Wave",
2626
"decals": 220
2727
},
2828
{
2929
"scenario": "worst",
3030
"rate": 4,
31-
"frames": 601,
32-
"fps": 120.2,
33-
"median": 8.3,
34-
"p95": 10.1,
35-
"max": 10.4,
31+
"frames": 301,
32+
"fps": 60.2,
33+
"median": 16.7,
34+
"p95": 16.8,
35+
"max": 16.8,
3636
"dropped": 0,
37-
"updateMean": 0.85,
38-
"updateP95": 1.5,
39-
"viewMean": 1.61,
40-
"viewP95": 2.4,
41-
"jsMs": 2.46,
42-
"busyMs": 3.24,
43-
"shapes": 1163,
44-
"zombies": "16->9",
45-
"particles": "90->101",
37+
"updateMean": 1.25,
38+
"updateP95": 2.2,
39+
"viewMean": 2.57,
40+
"viewP95": 3.4,
41+
"jsMs": 3.82,
42+
"busyMs": 4.39,
43+
"shapes": 166,
44+
"zombies": "19->10",
45+
"particles": "120->16",
4646
"phase": "Wave",
4747
"decals": 220
4848
},
4949
{
5050
"scenario": "worst",
5151
"rate": 6,
52-
"frames": 599,
53-
"fps": 119.8,
54-
"median": 8.3,
55-
"p95": 10.1,
56-
"max": 17.2,
52+
"frames": 301,
53+
"fps": 60.2,
54+
"median": 16.7,
55+
"p95": 16.7,
56+
"max": 16.8,
5757
"dropped": 0,
58-
"updateMean": 1.33,
59-
"updateP95": 2.4,
60-
"viewMean": 2.39,
61-
"viewP95": 3.5,
62-
"jsMs": 3.73,
63-
"busyMs": 4.94,
64-
"shapes": 1114,
65-
"zombies": "18->10",
66-
"particles": "105->57",
58+
"updateMean": 1.79,
59+
"updateP95": 3.3,
60+
"viewMean": 3.85,
61+
"viewP95": 5.1,
62+
"jsMs": 5.66,
63+
"busyMs": 6.44,
64+
"shapes": 185,
65+
"zombies": "19->10",
66+
"particles": "120->24",
6767
"phase": "Wave",
6868
"decals": 220
6969
},
7070
{
7171
"scenario": "endlessCap",
7272
"rate": 1,
73-
"frames": 601,
74-
"fps": 120.2,
75-
"median": 8.3,
76-
"p95": 9.2,
77-
"max": 10.4,
73+
"frames": 301,
74+
"fps": 60.1,
75+
"median": 16.7,
76+
"p95": 16.7,
77+
"max": 16.8,
7878
"dropped": 0,
79-
"updateMean": 0.79,
80-
"updateP95": 1.2,
81-
"viewMean": 0.79,
82-
"viewP95": 1.2,
83-
"jsMs": 1.58,
84-
"busyMs": 2.16,
85-
"shapes": 1116,
79+
"updateMean": 1.19,
80+
"updateP95": 1.8,
81+
"viewMean": 1.56,
82+
"viewP95": 2.3,
83+
"jsMs": 2.76,
84+
"busyMs": 3.31,
85+
"shapes": 189,
8686
"zombies": "20->20",
87-
"particles": "42->38",
87+
"particles": "43->41",
8888
"phase": "Wave",
8989
"decals": 220
9090
},
9191
{
9292
"scenario": "endlessCap",
9393
"rate": 4,
94-
"frames": 602,
95-
"fps": 120.2,
96-
"median": 8.3,
97-
"p95": 10,
98-
"max": 10.4,
94+
"frames": 301,
95+
"fps": 60.1,
96+
"median": 16.7,
97+
"p95": 16.7,
98+
"max": 16.8,
9999
"dropped": 0,
100-
"updateMean": 1.21,
101-
"updateP95": 1.8,
102-
"viewMean": 1.27,
103-
"viewP95": 1.9,
104-
"jsMs": 2.48,
105-
"busyMs": 3.24,
106-
"shapes": 1108,
100+
"updateMean": 1.42,
101+
"updateP95": 2.3,
102+
"viewMean": 2.03,
103+
"viewP95": 2.8,
104+
"jsMs": 3.48,
105+
"busyMs": 3.99,
106+
"shapes": 191,
107107
"zombies": "20->20",
108-
"particles": "43->37",
108+
"particles": "43->43",
109109
"phase": "Wave",
110110
"decals": 220
111111
},
112112
{
113113
"scenario": "endlessCap",
114114
"rate": 6,
115-
"frames": 597,
116-
"fps": 119.3,
117-
"median": 8.3,
118-
"p95": 10.1,
119-
"max": 16.9,
120-
"dropped": 0,
121-
"updateMean": 1.83,
122-
"updateP95": 3.1,
123-
"viewMean": 1.85,
124-
"viewP95": 3.3,
125-
"jsMs": 3.74,
126-
"busyMs": 4.89,
127-
"shapes": 1115,
115+
"frames": 301,
116+
"fps": 60.3,
117+
"median": 16.7,
118+
"p95": 16.7,
119+
"max": 33.3,
120+
"dropped": 1,
121+
"updateMean": 2.04,
122+
"updateP95": 3.6,
123+
"viewMean": 3.06,
124+
"viewP95": 4.5,
125+
"jsMs": 5.1,
126+
"busyMs": 5.72,
127+
"shapes": 192,
128128
"zombies": "20->20",
129-
"particles": "147->45",
129+
"particles": "45->43",
130130
"phase": "Wave",
131131
"decals": 220
132132
}

0 commit comments

Comments
 (0)