Skip to content

feat(gamepad): expose policy-aware empty gamepad enumeration - #443

Open
ldm0 wants to merge 1 commit into
mainfrom
wpt/gamepad-enumeration
Open

feat(gamepad): expose policy-aware empty gamepad enumeration#443
ldm0 wants to merge 1 commit into
mainfrom
wpt/gamepad-enumeration

Conversation

@ldm0

@ldm0 ldm0 commented Sep 8, 2026

Copy link
Copy Markdown
Member

No description provided.

@ldm0
ldm0 force-pushed the wpt/gamepad-enumeration branch from 4965c17 to 84e37ae Compare September 8, 2026 09:14
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

Spider Bench A/B

✅ All benchmark browser service runs completed; results are informational.

Public HEAD: 184 / 240 rows; 38 / 48 sites produced rows; 10 unexpected empty sites.

✅ Deterministic fixture contract is clean.

Common ancestor 4c00e6dab6ae → HEAD 84e37ae8a69c; benchmark order: base-first; workflow: success.

Public 48-site run · informational

Metric Base HEAD Δ
Run status success success
Extracted rows / contract 184 / 240 184 / 240 0 (0.00%)
Contract fill 76.67% 76.67% 0.00 pp (0.00%)
Sites with rows 38 / 48 38 / 48 0 (0.00%)
Sites meeting row contract 36 / 48 36 / 48 0 (0.00%)
Unexpected empty sites 10 10 0 (0.00%)
Partial-row sites 2 2 0 (0.00%)
Site outcomes extracted: 36; HTTP error + rows: 2; empty: 7; HTTP error + empty: 1; snapshot error + empty: 2 extracted: 37; HTTP error + rows: 1; empty: 7; HTTP error + empty: 1; snapshot error + empty: 2
Observed duration 48.72 s 46.49 s -2.23 s (-4.58%)
Estimated CPU 45.29 s 46.91 s +1.62 s (+3.57%)
Peak PSS 250.52 MiB 252.55 MiB +2.03 MiB (+0.81%)
Peak RSS 253.61 MiB 255.99 MiB +2.38 MiB (+0.94%)
Peak threads 27 27 0 (0.00%)
Mismatched sites 0 0 0
Timeout with items 0 0 0
Category rows Base HEAD Δ
news 35 / 40 35 / 40 0
stocks 20 / 40 20 / 40 0
tech 35 / 40 35 / 40 0
sports 27 / 40 27 / 40 0
games 37 / 40 37 / 40 0
life 30 / 40 30 / 40 0

Public-site content, timing, and memory are noisy. This single A/B run reports evidence only; site outcome counts explain missing rows without treating them as a deterministic regression.

CPU and memory timelines

These are bounded 40-point views of the same complete process-tree samples used by the HTML report. CPU uses 100% per occupied logical core; memory lines are RSS first and PSS second when complete PSS samples are available.

Base

xychart-beta
    title "Base CPU"
    x-axis "Elapsed seconds" [1.536, 2.537, 4.04, 5.041, 5.542, 6.542, 7.043, 8.044, 9.546, 11.047, 12.549, 13.55, 15.052, 16.555, 17.555, 19.056, 20.557, 22.057, 23.058, 24.559, 26.061, 27.062, 28.563, 30.065, 31.567, 32.567, 34.069, 35.571, 37.074, 38.074, 38.574, 39.576, 41.078, 42.08, 43.581, 45.083, 46.585, 47.585]
    y-axis "CPU percent" 0 --> 500
    line [129.93, 2, 89.89, 77.87, 137.9, 223.85, 119.73, 177.83, 107.67, 217.71, 61.85, 95.95, 115.94, 0, 12, 59.86, 4, 52, 115.92, 117.92, 107.73, 101.88, 65.98, 123.88, 107.9, 25.99, 109.76, 25.99, 133.85, 103.95, 125.96, 79.77, 4, 9.99, 115.69, 169.88, 87.96, 107.88]
Loading
xychart-beta
    title "Base memory: RSS then PSS"
    x-axis "Elapsed seconds" [0.035, 1.536, 2.537, 4.04, 5.041, 5.542, 6.542, 7.043, 8.044, 9.546, 11.047, 12.549, 13.55, 15.052, 16.555, 17.555, 19.056, 20.557, 22.057, 23.058, 24.559, 26.061, 27.062, 28.563, 30.065, 31.567, 32.567, 34.069, 35.571, 37.074, 38.074, 38.574, 39.576, 41.078, 42.08, 43.581, 45.083, 46.585, 47.585, 48.718]
    y-axis "Memory MiB" 0 --> 500
    line [12.24, 96.7, 96.68, 130.06, 137.68, 158.97, 169.25, 181, 167.04, 157.33, 165.68, 168.38, 181.9, 175.28, 160.48, 136.69, 155.19, 144.5, 138.78, 176.29, 162.41, 188.18, 203.33, 163.04, 185.75, 149.98, 145.04, 153.05, 150.14, 210.43, 252.38, 253.61, 184.77, 163.01, 155.48, 183.89, 156.69, 161.86, 179.16, 0]
    line [9.25, 93.39, 93.22, 126.79, 134.35, 156.53, 165.77, 178.63, 163.54, 153.83, 162.17, 164.59, 178.4, 171.79, 156.98, 133.18, 151.69, 141, 135.27, 172.79, 159.01, 185.92, 198.54, 159.87, 182.94, 146.81, 141.79, 149.94, 146.98, 205.01, 249.24, 250.52, 181.61, 159.84, 152.3, 180.06, 153.22, 158.4, 175.73, 0]
Loading

HEAD

xychart-beta
    title "HEAD CPU"
    x-axis "Elapsed seconds" [1.034, 1.534, 2.536, 4.037, 5.038, 6.539, 7.541, 8.042, 9.042, 10.544, 11.546, 13.049, 14.05, 15.551, 17.053, 18.053, 19.555, 20.556, 22.059, 23.561, 24.561, 26.064, 27.063, 28.565, 29.567, 31.069, 32.57, 33.571, 35.073, 36.074, 36.574, 37.574, 39.076, 40.077, 41.579, 42.581, 44.082, 45.084]
    y-axis "CPU percent" 0 --> 500
    line [55.98, 119.94, 31.96, 117.8, 111.9, 255.83, 0, 2, 98.01, 151.71, 113.78, 127.92, 59.82, 145.86, 111.94, 59.98, 61.97, 17.99, 119.7, 107.94, 127.92, 109.91, 118.16, 75.93, 119.77, 99.89, 87.96, 115.97, 71.82, 111.94, 127.85, 164.08, 19.98, 11.99, 105.72, 111.81, 37.97, 117.91]
Loading
xychart-beta
    title "HEAD memory: RSS then PSS"
    x-axis "Elapsed seconds" [0.034, 1.034, 1.534, 2.536, 4.037, 5.038, 6.539, 7.541, 8.042, 9.042, 10.544, 11.546, 13.049, 14.05, 15.551, 17.053, 18.053, 19.555, 20.556, 22.059, 23.561, 24.561, 26.064, 27.063, 28.565, 29.567, 31.069, 32.57, 33.571, 35.073, 36.074, 36.574, 37.574, 39.076, 40.077, 41.579, 42.581, 44.082, 45.084, 46.488]
    y-axis "Memory MiB" 0 --> 500
    line [12.27, 90.38, 101.85, 102.14, 131.8, 143.64, 164.75, 163.43, 145.07, 170.26, 157.02, 180.44, 164.8, 164.62, 170.48, 166.35, 161, 162.49, 157.34, 157.72, 161.76, 164.32, 181.24, 149.75, 163.81, 197.77, 155.14, 157.21, 155.38, 155, 236.52, 255.99, 186.26, 165.62, 157.33, 182.38, 171.59, 161.63, 174.94, 0]
    line [9.1, 86.93, 98.26, 98.6, 128.63, 139.48, 161.66, 159.83, 141.47, 166.6, 153.54, 179.85, 161.17, 160.96, 166.83, 162.69, 157.4, 158.77, 153.6, 154, 158.26, 160.6, 177.61, 146.15, 160.26, 194.6, 151.53, 153.62, 151.76, 151.4, 233.29, 252.55, 182.65, 162, 153.71, 178.78, 168.08, 158.05, 171.32, 0]
Loading

Deterministic fixture · required contract

The fixture exercises 15 routes: 8 are expected to emit rows and 7 intentionally exercise empty, loading, or timeout behavior.

Metric Base HEAD Δ
Run status success success
Extracted rows / contract 40 / 40 40 / 40 0 (0.00%)
Contract fill 100.00% 100.00% 0.00 pp (0.00%)
Sites with rows 8 / 15 8 / 15 0 (0.00%)
Sites meeting row contract 15 / 15 15 / 15 0 (0.00%)
Unexpected empty sites 0 0 0
Partial-row sites 0 0 0
Site outcomes extracted: 7; HTTP error + rows: 1; empty: 3; timeout + empty: 4 extracted: 7; HTTP error + rows: 1; empty: 3; timeout + empty: 4
Observed duration 19.88 s 19.89 s +0.01 s (+0.07%)
Estimated CPU 0.41 s 0.43 s +0.02 s (+4.87%)
Peak PSS 57.55 MiB 57.50 MiB -0.05 MiB (-0.09%)
Peak RSS 61.16 MiB 60.79 MiB -0.37 MiB (-0.60%)
Peak threads 18 18 0 (0.00%)
Mismatched sites 0 0 0
Timeout with items 0 0 0

Full HTML, JSON, CSV, logs, and page snapshots: workflow run and full spider-bench-results artifact.

The public-web A/B is informational. The exact HEAD fixture contract runs as a separate required CI check; timing and public-site content deltas remain non-blocking.

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

Sequential Navigation Soak A/B

✅ HEAD completed the 200-navigation resilience and memory observation.

One browser process, one target, and one CDP session navigate CSDN → SegmentFault → Huaban → example.com repeatedly. This run issued 200 Page.navigate commands per binary.

Common ancestor 4c00e6dab6 → HEAD 84e37ae8a6; benchmark order: base-first; workflow: success.

Session resilience

Metric Base HEAD
Attempted / planned 200 / 200 200 / 200
Direct observable pass 200 / 200 200 / 200
Failures / recovered 0 / 0 0 / 0
Recovery failures 0 0
Lifecycle order violations 0 0
Network order violations 0 0
Wall time 280.6 s 268.7 s

A public-page failure is reported separately from an unrecoverable session. The soak requires all navigation attempts, zero failed recovery, zero lifecycle/network ordering violations, and complete resource evidence.

Process-tree memory

Metric Base HEAD Δ
Boundary samples 200 200 0
Boundary RSS samples 200 200 0
Boundary PSS samples 200 200 0
Periodic peak RSS 216.6 MiB 209.3 MiB -7.3 MiB
Periodic peak PSS 212.9 MiB 206.5 MiB -6.4 MiB
RSS · first 10 avg 163.2 MiB 147.7 MiB -15.5 MiB
RSS · last 10 avg 157.4 MiB 157.2 MiB -0.2 MiB
RSS · last − first window -5.9 MiB +9.5 MiB +15.3 MiB
RSS · warm slope / 100 nav +3.5 MiB +0.5 MiB -3.0 MiB
PSS · first 10 avg 159.7 MiB 144.5 MiB -15.2 MiB
PSS · last 10 avg 154.2 MiB 153.8 MiB -0.5 MiB
PSS · last − first window -5.4 MiB +9.3 MiB +14.7 MiB
PSS · warm slope / 100 nav +3.5 MiB +0.6 MiB -3.0 MiB
Peak file descriptors 59 60 1
Peak threads 31 31 0

HEAD memory by 50-navigation quarter

HEAD range Avg RSS Final RSS Peak RSS Avg PSS Final PSS Peak FD
1–50 156.0 MiB 151.2 MiB 206.7 MiB 152.5 MiB 147.5 MiB 50
51–100 159.1 MiB 141.4 MiB 207.2 MiB 155.5 MiB 137.8 MiB 49
101–150 158.8 MiB 152.4 MiB 196.8 MiB 155.2 MiB 149.0 MiB 50
151–200 159.2 MiB 144.0 MiB 208.2 MiB 155.7 MiB 140.6 MiB 49

Raw reports and per-navigation boundary samples: workflow run and full sequential-navigation-soak-results artifact.

Public-site timing and memory are observational. Use the A/B deltas and trend shape as evidence, not as a deterministic performance threshold.

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

CI Regression Report

Source CI run · source state at render: in_progress · artifacts: 5/5

Check Status Signal
Release regression HEAD/base failures 0/0; raw binary +0.005832%
Frontend differential 1,020/1,020 cases matched; 0 issues
Agent episodes 8/8 Moli episodes passed; 0 failures
Runtime/CDP contracts 26 contract cases; 0 failures
CDP smoke 44/44 groups passed; 457 scenarios
Release regression — ✅ HEAD/base failures 0/0; raw binary +0.005832%

Package and image size

Metric Base HEAD Delta Delta %
Raw binary 149.13 MiB 149.14 MiB +8.91 KiB +0.005832%
Stripped binary 103.39 MiB 103.40 MiB +8.00 KiB +0.007556%
gzip binary 50.17 MiB 50.17 MiB +1.10 KiB +0.002135%
Rootfs 156.04 MiB 156.04 MiB +10.00 KiB +0.006259%
gzip rootfs 58.99 MiB 59.00 MiB +3.69 KiB +0.006108%

Startup latency and PSS

Case Base p50 HEAD p50 Delta Base PSS HEAD PSS Delta
Serve ready 27.18 ms 27.20 ms +0.02 ms 3.63 MiB 4.27 MiB +656.50 KiB
CDP first page 52.79 ms 51.05 ms −1.73 ms 3.92 MiB 3.41 MiB −524.50 KiB
CDP warm page 14.24 ms 12.59 ms −1.65 ms 48.15 MiB 48.93 MiB +794.50 KiB
CLI about:blank 14.53 ms 13.87 ms −0.66 ms 4.13 MiB 3.55 MiB −592.50 KiB
CLI local JS 17.23 ms 17.64 ms +0.41 ms 2.44 MiB 3.58 MiB +1.14 MiB

Concurrency matrix

Concurrency Base p50 HEAD p50 Delta Base PSS HEAD PSS Delta HEAD failures Unstable B/H
1 16.87 ms 17.03 ms +0.16 ms 637.00 KiB 632.00 KiB −5.00 KiB 0 0/0
5 21.43 ms 22.73 ms +1.31 ms 13.50 MiB 22.52 MiB +9.02 MiB 0 0/0
10 20.51 ms 21.43 ms +0.92 ms 21.14 MiB 11.94 MiB −9.19 MiB 0 0/0
25 20.37 ms 22.16 ms +1.79 ms 26.37 MiB 19.63 MiB −6.73 MiB 0 0/0
100 20.64 ms 24.55 ms +3.90 ms 18.91 MiB 11.61 MiB −7.30 MiB 0 0/0
Frontend differential — ✅ 1,020/1,020 cases matched; 0 issues
Match DOM mismatch Diagnostic mismatch Moli error Reference error Infrastructure error Mismatched frames Duration
1,020 0 0 0 0 0 0 6m 21.73s
Agent episodes · Moli vs Chromium — ✅ 8/8 Moli episodes passed; 0 failures
Fast contract Episodes Passed Assertions Ready p50 Episode p50
Moli 8 8 47/47 3.46 ms 26.05 ms
Chromium 8 8 47/47 259.59 ms 87.96 ms
Operation p50 Chromium Moli Delta Delta %
navigate 40.83 ms 7.12 ms −33.71 ms −82.56%
observe 0.93 ms 0.81 ms −0.13 ms −13.57%
fill 2.88 ms 3.22 ms +0.34 ms +11.68%
click 5.24 ms 3.35 ms −1.90 ms −36.16%
Idle-resource episode Peak RSS Peak PSS Average CPU Peak CPU Peak processes Sampler
Moli 63.50 MiB 61.72 MiB 0.66% 8.01% 1
Chromium 1295.64 MiB 417.53 MiB 2.31% 90.22% 13 ⚠️ PSS partial
Runtime and CDP session contracts — ✅ 26 contract cases; 0 failures
Suite Cases Failures Median case p50 Median case p95 Median peak PSS p50
Synthetic fetch 13 0 16.18 ms 17.64 ms 544.00 KiB
Long-lived CDP session 13 0 19.45 ms 19.99 ms
CDP smoke — ✅ 44/44 groups passed; 457 scenarios

Workers: 4 · cumulative group time: 120.08 s · failed groups: 0

Slowest group Scenarios Duration Status
chromium-cdp 56 11.97 s
multi-page 45 10.60 s
dom-input 26 9.75 s
layout-screenshot 5 7.01 s
core 35 6.88 s

All artifact fields are parsed by the trusted default-branch renderer; missing or invalid inputs remain visible as unavailable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant