
⚡️ Web Performance Artisan at @perfreviews_ | @GoogleDevExpert in #WebTech | @cloudinary Ambassador
Girona, Catalunya
Joined August 2008
- Tweets21.6K
- Following4.3K
- Followers12.1K
- Likes47.1K
Pinned Tweet
In 2023 I published WebPerf Snippets as a website, with snippets to paste into the DevTools console
Version 2.0 is also built for AI agents: every snippet returns the same structured result, so an agent reads data instead of console logs
webperf-snippets.net
🧵 #WebPerf #AI
2
5
504
Joan León 🏞️⚡️ retweeted
In the rush to ship AI, it's tempting to deprioritize performance and latency. Perf still matters! We just have new product surfaces to design for now. What follows is research across these new modalities ⏰
Traditional web performance is well-studied. We have Core Web Vitals (LCP, INP, CLS) and decades of classic HCI research: 0.1s feels instant, 1s keeps your train of thought intact, and 10s is about as long as you can hold someone's attention before they switch tabs. Those human limits haven't changed, but they're mapped indirectly onto three new AI surfaces:
1️⃣ LLM Web Chat
Conversational AI introduced a whole new set of wait times: Time to First Token (TTFT), output speed (tokens/second), reasoning time, and end-to-end turnaround.
- TTFT ≤ 1s: Users expect the first token within 500ms–1s. Past 2s, perceived responsiveness drops fast.
- Stream faster than reading speed: Output should stream at 30 to 80+ tokens per second (tok/s). Humans read at ~4-7 tok/s- this might sound like overkill, but fast streaming lets people skim and reassures them the app isn't frozen.
- Users will wait 3–15s+ for a thinking model if the UI shows progress. They will actually wait longer if they believe the task/ideation is more complex.
- The 10-second limit still applies: For non-streaming or multi-step tasks, users will start multitasking after 5–10s.
The budget is: start in under 1 second, stream above reading speed, and set expectations for anything longer. Users will tolerate multi-minute waits for visibly better answers if there’s UI activity.
2️⃣ Cobrowse (Agent-Driven Browsing)
This is the newest and least settled modality: an agent drives the browser while the human watches, approves actions, and steps in when needed.
The tricky part is that the user is watching two clocks at once (each individual step and the whole task) while subconsciously comparing the agent's speed to how fast they could just do it themselves.
- The budget is roughly 1s per step, ≤5s per sub-task, and no more than 1–2× the time it would take the human to do it themselves.
- You have to balance "permission fatigue", asking for approval enough to stay safe, without becoming annoying.
- If a single step stalls past 10 seconds with nothing happening, the user will leave to do something else.
However, cobrowse can go hand in hand with longer tasks. Once the user starts doing something else, real-time speed matters less. Which brings us to…
3️⃣ 24/7 or Headless Agents
Once the human walks away, raw latency stops being the main concern. The tradeoff shifts to accuracy and trust. People will gladly wait minutes for a background agent to run verification loops and double-check its own work, as long as they don't have to redo it themselves.
A few things actually govern this surface:
- Instant hand-off: That 0.1s to 1s rule still applies when you kick off the job. The task needs to be confirmed immediately so the user can feel trust they can leave.
- No silent latency: Long runs are fine if there are some live logs or state updates. If it goes dark, people lose trust and hit cancel.
- Fast failure: If the agent gets stuck, the user needs a notification. Trust is lost if there’s a 30-minute run, when there was a blocker at minute two.
Reliability compounds: Per-step reliability is the real bottleneck right now, which caps most useful autonomous runs at around 30 minutes.
Core Web Vitals aren't going anywhere, and neither is human tolerance. As we build these new interfaces, our latency budgets have to modify around these new experiences and user expectations.
Joan León 🏞️⚡️ retweeted
🛍️ Is @IKEA ready for Black Friday?
Our Black Friday Benchmark Series continues: we test the UX of major ecommerce sites on Performance, Security and Accessibility.
One result stands out, and one is a surprise. Watch the video to find out which.
👇 Full benchmark below.
Joan León 🏞️⚡️ retweeted
Fans waited 13 years for GTA VI.
Now it's the website's turn to be tested for UX.
Congrats to @RockstarGames on the launch.
Full analysis in the comments.
#UX #WebPerf #GTA6
How Modern Web Guidance modernizes your codebase, and why you should do it
developer.chrome.com/docs/mo…
255
Joan León 🏞️⚡️ retweeted
Need to record video of a Chrome tab, for a demo or tests?
There's a new API allowing flawless no-dropped-frames AV1 capture.
60fps easy. But can also do 120fps @2160p. (Yes, for real).
It's easy to use within pptr or playwright.. here's a mini npm package:
github.com/paulirish/chrome-… (bonus 120fps video within :)
I love this project! 🤩
Creating QR codes has never been this fun. Such a cool and creative idea!
tree.icqr.com/s/MjJodHRwczov…
222
Si estás en la @BiznagaFest y quieres un sticker de webperf-snippets.net/ búscame ☺️
#BiznagaFest26 #WebPerfSnippets
Joan León 🏞️⚡️ retweeted
Tip: Switch Claude Code's output style to Concise to get short, straight-to-the-point results.
Enable it via /config → Output style, or add "outputStyle": "Concise" directly to your settings.json.
You can still get the full details when you ask.
Joan León 🏞️⚡️ retweeted
Looks like my work on WebKit's speculation rules support is *finally* available in Safari 27.3
Joan León 🏞️⚡️ retweeted
JPEG XL Integration to Firefox completed
12+ years of hard work and beautiful dreams of a faster and nicer looking internet for all
connect.mozilla.org/t5/ideas…
Joan León 🏞️⚡️ retweeted
Chrome @googlechrome now measures soft navigations in the @ChromeUXReport.
Once they’re counted, the share of app-heavy sites with good loading scores on Android goes from 26% to 87%.
Will your web app’s scores change? 👇
#WebPerf
Joan León 🏞️⚡️ retweeted
💙¡Últimos ponentes de a11yConf 2026!
🌳 El árbol de accesibilidad frágil: por qué el HTML semántico es clave para el rendimiento web
🎙️ @nucliweb
¿Sabías que el HTML semántico no solo ayuda a crear experiencias más accesibles, sino también a hacer nuestras webs más rápidas?
Joan León 🏞️⚡️ retweeted
Another WebGPU and WGSL exploration. The theme of this one is watercolor and how to make it an interactive experience for you in a computer. 🎨✨ Check it out at watercolor.bizar.ro.
Joan León 🏞️⚡️ retweeted
Estás tirando tokens a la basura con tus agentes y ni te estás enterando.
Hacer 20 llamadas seguidas a APIs para filtrar 3 datos satura el contexto, dispara la latencia y te infla la factura.
La alternativa es Code Mode: que el modelo escriba el script, lo ejecute en un sandbox y te devuelva solo lo que necesitas.
En datos es de locos:
- De 22 steps a 2.
- De 200 KB en contexto a 1 KB.
Dentro vídeo explicándolo en profundidad👇
Joan León 🏞️⚡️ retweeted
If you ever struggled with understanding if your CSS performance issues are coming from style calculation or from layout, LoAF's styleDuration and layoutDuration is shipping in Chromium 158 to help with that groups.google.com/a/chromium…
Joan León 🏞️⚡️ retweeted
⚡Featured posts this week:
✨ Todays PHP Security Release: @ThePHPF
✨ Shopify Checkout Hijack Attack: @romanzipp
✨ AI, make the website good: @zachleat
✨ Whats new in the W3C WDS: @studio24
🙏 Special thanks to the authors!
#webperf
Joan León 🏞️⚡️ retweeted
Experimental soft navigation data now available in CrUX!!
If your site is an SPA then see how your own Core Web Vitals data will change at: cruxvis.withgoogle.com/
And read this blog post for more details about how Core Web Vitals change in general:
web.dev/blog/crux-experiment…





















