You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
iOS keyboard status takes ~1.4 s, about 5x a snapshot #4641
keyboard status on iOS takes about 1.4 s per call, roughly 5× a full snapshot of the same screen. Callers that want to ask "is the keyboard up, and what is its return key" before acting pay more than a snapshot would cost them. Expo Explore kept its accessibility-tree heuristics for this reason.
Observed (0.21.39, iPhone Air simulator, iOS 27.0, warm daemon, keyboard up, wall clock per CLI call including node start)
keyboard status: median 1397 ms, range 1367–1539 ms (n=8).
snapshot: median 260 ms, range 241–331 ms (n=8).
Required behavior
Find where the time goes: runner query strategy, extra settle or idle waits, repeated tree reads. Include a timing breakdown in the PR.
Bring keyboard status to at most snapshot cost on the same screen, or explain the floor with evidence.
Keep the output contract (visible, returnKey, returnKeyLabel) unchanged.
Done when
Before/after timings at the same n on a simulator are recorded in the PR, and the iOS keyboard tests pass.
It reports existing CLI performance as too slow with concrete timings, environment, and a measurable target, making it an actionable performance defect rather than a new capability request.
Activity
apex-sentinel-staging commentedon Nov 17, 2026
Apex Sentinel · Issue review
Suggested label:
bugIt reports existing CLI performance as too slow with concrete timings, environment, and a measurable target, making it an actionable performance defect rather than a new capability request.
Required sections