Debugging Performance With AI

This ad is not shown to multipass and full ticket holders
React Advanced
React Advanced 2026
October 23 - 26, 2026
London, UK & Online
Upcoming event
React Advanced 2026
React Advanced 2026
October 23 - 26, 2026. London, UK & Online
Bookmark
Rate this content
Sentry
Promoted
Code breaks, fix it faster

Crashes, slowdowns, regressions in prod. Seer by Sentry unifies traces, replays, errors, profiles to find root causes fast.

Get started

Profiling JavaScript is mostly easy. However, how do you profile gnarly performance issues? 

In this talk, you’ll learn a practical AI-assisted workflow for finding rendering bottlenecks fast. Using a real-world CSS performance bug, we’ll cover techniques like commit bisection, standalone reproductions, synthetic stress tests, and auto-generated lint rules to prevent regressions. We choose CSS because it is famously difficult to profile -- there are no stack traces, obvious breakpoints, or clear debugging workflows, which is why many rendering bugs go unfixed until users complain that the page feels slow. However, the same methodology can be used in dealing with other performance issues. You’ll also see how to use the Chrome DevTools MCP to give Claude direct access to a live browser session and accelerate investigation without replacing engineering judgment. 

The result is a repeatable process for going from “the page feels slow” to a pinpointed line of CSS in under an hour.

This talk has been presented at AI Coding Summit London, check out the latest edition of this Tech Conference.

Bernie Sumption
Bernie Sumption
30 min
06 Jul, 2026

Comments

Sign in or register to post your comment.
Video Summary and Transcription
Bernie emphasizes using AI to enhance rendering performance, with a focus on debugging and the evolution of computing speed standards. Rendering optimization challenges persist despite advancements in multi-threaded development. Debugging CSS and rendering performance complexities require tools like profilers for JavaScript efficiency analysis. AI automation can improve performance by understanding rendering engine intricacies. AI aids in identifying and resolving performance bugs, investigating rendering issues, and optimizing icon rendering. Tailwind's impact on performance and leveraging AI for CI checks showcase AI's role in troubleshooting and long-term learning in software development.
Available in Español: Depuración de Rendimiento con AI

1. Discussing AI and Rendering Performance

Short description:

Bernie talks about using AI to improve performance, focusing on debugging and rendering. Rendering performance's importance has increased over the years, with customers now emphasizing fast app rendering within specific timeframes. Bernie highlights the relative nature of performance standards over time, showcasing the evolution of computing speed.

Hi, my name's Bernie. I am an engineer with Agigrid. We make a very high-performance data grid, and I'm not going to talk about our product today. I'm going to talk about some things we've discovered while trying to use AI to help us increase the performance of it. I work on theming, so I write lots of CSS. So the thing I'm going to talk about today is going to be debugging and rendering performance. The techniques I'm going to show you are quite generalizable, to debugging anything hard. So I'm actually pretty excited to be talking about this because I went down a rabbit hole a few months ago, had this amazing experience of getting AI to automate some really difficult tasks for me, and I want to share what I learned, basically.

In this talk, I'm going to give my little pitch for why I think rendering performance matters now more than, say, it did five years ago, why it's so hard to debug, how AI can help you, and my theory that AI can and should make you a better engineer. Okay, so five years ago, I didn't think much about rendering performance. All of our customers for the data grid, they cared a lot about how stuff looked. They wanted to tweak the grid to look exactly how they wanted it. But in general, we would write whatever CSS we needed to write to make the thing look how we wanted it to look, and people would be happy. It would just work. And it's different now.

From the conversations that we are having with customers over support, a lot of them, they really, really care about how fast their app renders. They have rendering budgets. So, for example, if you want your app to look smooth and render at 60 frames per second, any time you change something on the screen, it needs to be done rendering within 16 milliseconds, and if you don't hit that target, it looks laggy. And lots of our customers care about this a lot, and I wanted to know what's changed in the last few years. So, my theory is that performance is relative. So, there is no magic number where if your app is faster than this figure, people are going to go, oh, wow, great, that's a really fast app. We compare what we use to the other things we've seen, and there's been a history of standards rising.

2. Challenges in Rendering Optimization

Short description:

Computers in the 1990s were single-threaded, causing lock-ups during operations. Multi-threaded development improved speed, making old apps seem clunky. Focus on data loading and scripting tools, but rendering optimization remains challenging. Rendering is the new bottleneck for ambitious teams seeking product differentiation.

And just to give you an extreme example, I started using computers back in the 1990s. So, think Windows 3.0, Windows 10, Windows 10, Windows 10. 1990s, so think Windows 3.0 era, and all computers were single-threaded. They could only do one thing at a time, which meant it was completely normal that if you had a button that you pressed to submit a form and it sent some data over the network, you'd press it and your whole computer would lock up for five seconds while that went. And no one complained. No one thought it was slow because instead of complaining, they were getting excited about this new thing that was called the paperless office, right? And it was the future, and your whole computer locking up for five seconds while you submitted data, it didn't feel slow because you were comparing it to the process of writing the thing down on a piece of paper, picking it up, and walking down the corridor and giving it to a guy called Dave who works in accounting. So, five seconds, that's super quick, right?

Then, of course, someone figured out multi-threaded application development, and now computers could do multiple things at the same time, and all of a sudden those old apps that lock up when you press the button, they start looking clunky and legacy. And there's been a history of this for the last 30 years. We think what we have is fast. Then we see something faster, and we're like, oh no, actually that wasn't fast. This new thing, that's fast. So, if you think about the three ways in which websites can be fast, there's data loading, scripting, and rendering. And as an industry, we have been all over numbers one and two for the last 20 years. We've got some amazing tools. So, for data loading, we've got edge computing and content distribution networks and WebSockets and progressive web applications, and all these things that basically give the illusion that just as soon as your app needs some data, it's just there immediately. Then, for scripting, again, we have incredible tools. So, JavaScript profiling tools are really good.

Rendering, we haven't really done much stuff with, because the tools to optimize rendering performance are a pain to use, and they're hard. And this also means that rendering is the new bottleneck. It is the low-hanging fruit, because we haven't done all the work to optimize rendering performance. And it's the new thing that ambitious teams are using to differentiate themselves and make products that look better than their competitors. My favorite example of this is Linear. So, Linear is an incredibly slick project management app. And they have a rendering budget of 8 milliseconds, because they want to, on the latest Mac or iPhones, if you change anything on the screen, they want to update it to 120 frames per second. And you can tell the difference. You can scroll through it, and everything feels incredibly smooth and fluid. And we know that's possible now, and we want that for our own applications. So, how do we get it? Right, well, it's simple. I'll show you the tools for how you debug performance issues, and you can see why rendering performance is so much harder to debug.

QnA

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

Building a Voice-Enabled AI Assistant With Javascript
JSNation 2023JSNation 2023
21 min
Building a Voice-Enabled AI Assistant With Javascript
Top Content
This Talk discusses building a voice-activated AI assistant using web APIs and JavaScript. It covers using the Web Speech API for speech recognition and the speech synthesis API for text to speech. The speaker demonstrates how to communicate with the Open AI API and handle the response. The Talk also explores enabling speech recognition and addressing the user. The speaker concludes by mentioning the possibility of creating a product out of the project and using Tauri for native desktop-like experiences.
The Ai-Assisted Developer Workflow: Build Faster and Smarter Today
JSNation US 2024JSNation US 2024
31 min
The Ai-Assisted Developer Workflow: Build Faster and Smarter Today
Top Content
AI is transforming software engineering by using agents to help with coding. Agents can autonomously complete tasks and make decisions based on data. Collaborative AI and automation are opening new possibilities in code generation. Bolt is a powerful tool for troubleshooting, bug fixing, and authentication. Code generation tools like Copilot and Cursor provide support for selecting models and codebase awareness. Cline is a useful extension for website inspection and testing. Guidelines for coding with agents include defining requirements, choosing the right model, and frequent testing. Clear and concise instructions are crucial in AI-generated code. Experienced engineers are still necessary in understanding architecture and problem-solving. Energy consumption insights and sustainability are discussed in the Talk.
The Rise of the AI Engineer
React Summit US 2023React Summit US 2023
30 min
The Rise of the AI Engineer
Top Content
The rise of AI engineers is driven by the demand for AI and the emergence of ML research and engineering organizations. Start-ups are leveraging AI through APIs, resulting in a time-to-market advantage. The future of AI engineering holds promising results, with a focus on AI UX and the role of AI agents. Equity in AI and the central problems of AI engineering require collective efforts to address. The day-to-day life of an AI engineer involves working on products or infrastructure and dealing with specialties and tools specific to the field.
The AI-Native Software Engineer
JSNation US 2025JSNation US 2025
35 min
The AI-Native Software Engineer
Top Content
Software engineering is evolving with AI and VIBE coding reshaping work, emphasizing collaboration and embracing AI. The future roadmap includes transitioning from augmented to AI-first and eventually AI-native developer experiences. AI integration in coding practices shapes a collaborative future, with tools evolving for startups and enterprises. AI tools aid in design, coding, and testing, offering varied assistance. Context relevance, spec-driven development, human review, and AI implementation challenges are key focus areas. AI boosts productivity but faces verification challenges, necessitating human oversight. The impact of AI on code reviews, talent development, and problem-solving evolution in coding practices is significant.
AI and Web Development: Hype or Reality
JSNation 2023JSNation 2023
24 min
AI and Web Development: Hype or Reality
Top Content
This talk explores the use of AI in web development, including tools like GitHub Copilot and Fig for CLI commands. AI can generate boilerplate code, provide context-aware solutions, and generate dummy data. It can also assist with CSS selectors and regexes, and be integrated into applications. AI is used to enhance the podcast experience by transcribing episodes and providing JSON data. The talk also discusses formatting AI output, crafting requests, and analyzing embeddings for similarity.
Web Apps of the Future With Web AI
JSNation 2024JSNation 2024
32 min
Web Apps of the Future With Web AI
Web AI in JavaScript allows for running machine learning models client-side in a web browser, offering advantages such as privacy, offline capabilities, low latency, and cost savings. Various AI models can be used for tasks like background blur, text toxicity detection, 3D data extraction, face mesh recognition, hand tracking, pose detection, and body segmentation. JavaScript libraries like MediaPipe LLM inference API and Visual Blocks facilitate the use of AI models. Web AI is in its early stages but has the potential to revolutionize web experiences and improve accessibility.

Workshops on related topic

AI on Demand: Serverless AI
DevOps.js Conf 2024DevOps.js Conf 2024
163 min
AI on Demand: Serverless AI
Top Content
Featured WorkshopFree
Nathan Disidore
Nathan Disidore
In this workshop, we discuss the merits of serverless architecture and how it can be applied to the AI space. We'll explore options around building serverless RAG applications for a more lambda-esque approach to AI. Next, we'll get hands on and build a sample CRUD app that allows you to store information and query it using an LLM with Workers AI, Vectorize, D1, and Cloudflare Workers.
AI for React Developers
React Advanced 2024React Advanced 2024
142 min
AI for React Developers
Top Content
Featured Workshop
Eve Porcello
Eve Porcello
Knowledge of AI tooling is critical for future-proofing the careers of React developers, and the Vercel suite of AI tools is an approachable on-ramp. In this course, we’ll take a closer look at the Vercel AI SDK and how this can help React developers build streaming interfaces with JavaScript and Next.js. We’ll also incorporate additional 3rd party APIs to build and deploy a music visualization app.
Topics:- Creating a React Project with Next.js- Choosing a LLM- Customizing Streaming Interfaces- Building Routes- Creating and Generating Components - Using Hooks (useChat, useCompletion, useActions, etc)
Building Full Stack Apps With Cursor
JSNation 2025JSNation 2025
46 min
Building Full Stack Apps With Cursor
Featured Workshop
Mike Mikula
Mike Mikula
In this workshop I’ll cover a repeatable process on how to spin up full stack apps in Cursor.  Expect to understand techniques such as using GPT to create product requirements, database schemas, roadmaps and using those in notes to generate checklists to guide app development.  We will dive further in on how to fix hallucinations/ errors that occur, useful prompts to make your app look and feel modern, approaches to get every layer wired up and more!  By the end expect to be able to run your own AI generated full stack app on your machine!
Please, find the FAQ here
Vibe coding with Cline
JSNation 2025JSNation 2025
64 min
Vibe coding with Cline
Featured Workshop
Nik Pash
Nik Pash
The way we write code is fundamentally changing. Instead of getting stuck in nested loops and implementation details, imagine focusing purely on architecture and creative problem-solving while your AI pair programmer handles the execution. In this hands-on workshop, I'll show you how to leverage Cline (an autonomous coding agent that recently hit 1M VS Code downloads) to dramatically accelerate your development workflow through a practice we call "vibe coding" - where humans focus on high-level thinking and AI handles the implementation.You'll discover:The fundamental principles of "vibe coding" and how it differs from traditional developmentHow to architect solutions at a high level and have AI implement them accuratelyLive demo: Building a production-grade caching system in Go that saved us $500/weekTechniques for using AI to understand complex codebases in minutes instead of hoursBest practices for prompting AI agents to get exactly the code you wantCommon pitfalls to avoid when working with AI coding assistantsStrategies for using AI to accelerate learning and reduce dependency on senior engineersHow to effectively combine human creativity with AI implementation capabilitiesWhether you're a junior developer looking to accelerate your learning or a senior engineer wanting to optimize your workflow, you'll leave this workshop with practical experience in AI-assisted development that you can immediately apply to your projects. Through live coding demos and hands-on exercises, you'll learn how to leverage Cline to write better code faster while focusing on what matters - solving real problems.
The React Developer's Guide to AI Engineering
React Summit US 2025React Summit US 2025
96 min
The React Developer's Guide to AI Engineering
Featured WorkshopFree
Niall Maher
Niall Maher
A comprehensive workshop designed specifically for React developers ready to become AI engineers. Learn how your existing React skills—component thinking, state management, effect handling, and performance optimization—directly translate to building sophisticated AI applications. We'll cover the full stack: AI API integration, streaming responses, error handling, state persistence with Supabase, and deployment with Vercel.Skills Translation:- Component lifecycle → AI conversation lifecycle- State management → AI context and memory management- Effect handling → AI response streaming and side effects- Performance optimization → AI caching and request optimization- Testing patterns → AI interaction testing strategiesWhat you'll build: A complete AI-powered project management tool showcasing enterprise-level AI integration patterns.
Build LLM agents in TypeScript with Mastra and Vercel AI SDK
React Advanced 2025React Advanced 2025
145 min
Build LLM agents in TypeScript with Mastra and Vercel AI SDK
Featured WorkshopFree
Eric Burel
Eric Burel
LLMs are not just fancy search engines: they lay the ground for building autonomous and intelligent pieces of software, aka agents.
Companies are investing massively in generative AI infrastructures. To get their money's worth, they need developers that can make the best out of an LLM, and that could be you.
Discover the TypeScript stack for LLM-based development in this 3 hours workshop. Connect to your favorite model with the Vercel AI SDK and turn lines of code into AI agents with Mastra.ai.