Skip to content

feat(performance): long tasks page - #311

Merged
jdevalk merged 3 commits into
mainfrom
add/long-tasks
Nov 11, 2026
Merged

jdevalk merged 3 commits into
mainfrom
add/long-tasks

Conversation

@jdevalk

@jdevalk jdevalk commented Nov 11, 2026

Copy link
Copy Markdown
Owner

New page from the Modern Web Guidance review: long tasks (performance, recommended).

The remediation discipline that core-web-vitals states only as a metric: the 50 ms task budget, the run/slice/offload heuristic, scheduler.yield() with its current support (Chrome/Edge 129, Firefox 142, Safari not shipped — fallback required), scheduler.postTask() priorities, and Long Animation Frames attribution in RUM.

Includes: changelog entry (dated 2026-11-11, re-date if it sits), reciprocal relatedSlug on core-web-vitals, OG image, sign:skill digest.

Environment note, same as #306: only the new page's own OG image is committed; shared count images need a maintainer npm run assets.

New spec page: the 50 ms long-task budget behind INP — slice and
yield with scheduler.yield() (Chrome/Edge 129, Firefox 142, Safari
not yet; setTimeout fallback), worker offload beyond ~250 ms, and
LoAF field attribution. Reciprocal relatedSlug on core-web-vitals,
changelog entry, OG image, skill digest.

From the Modern Web Guidance review.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Deploying specification-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 66354a1
Status:⚡️  Build in progress...

View logs

Riff added 2 commits November 11, 2026 10:56
…t starve input

Review finding: my wording had the mechanism backwards. A
setTimeout yield does let the browser process input between
slices; the real cost is that the continuation queues behind
other tasks (and nested timeouts clamp). Rewritten accordingly.
# Conflicts:
#	public/.well-known/agent-skills/index.json
#	public/.well-known/agent-skills/specification-website/SKILL.md
@jdevalk
jdevalk marked this pull request as ready for review November 11, 2026 10:04
@jdevalk
jdevalk merged commit 24c0348 into main Nov 11, 2026
1 check was pending
@jdevalk
jdevalk deleted the add/long-tasks branch November 11, 2026 10:04
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