ANTHROPIC-MADE COURSE GUIDE

How Anthropic Made Claude 3x Faster with AI

A chapter-by-chapter readback of the free course by Theo - t3․gg on Theo - t3․gg.

Length1:10:29
Chapters24
Modules5
Plain Markdown with clickable timestamps — drops into Obsidian, Notion or GitHub as-is.

Theo dissects Anthropic's blog post on making Claude.ai 3x faster in two weeks, showing how a measurement-first, agent-driven workflow (with deliberate 'slop' test suites) outperformed direct 'optimize this' prompting.

Who it's for
Read this guide if
  • Engineers wanting to use AI agents for performance work
  • Anyone curious how Anthropic ships with Claude writing most of its own code
  • Frontend devs interested in benchmarks, ratchets, and layout-shift guardrails
Skip ahead if
  • Viewers wanting a Claude model comparison or pricing review
  • People with no interest in web performance or tooling
  • Those seeking a step-by-step tutorial rather than commentary
In brief
  • ~70 minutes (4229 seconds) of commentary across 7 transcript chunks.
  • 18 chapters grouped into 5 chronological modules.
  • Tools discussed: Claude (Tag/Slack bot), Claude Code, TanStack, Convex, Valgrind, Datadog MCP, GitHub Actions, headless Chromium.
  • Level: intermediate-to-advanced web engineering; assumes familiarity with React and performance concepts.
  • Based on Anthropic's blog post on making Claude.ai and the desktop app 3x faster.

The walkthrough

Each chapter below is our original written explanation of what happens at that moment in the video — a paraphrase, not a transcript. Click any timestamp to jump the player.

Context, Sponsor, and the Sprint's Headline Numbers

0:00

Introduction

Theo introduces Anthropic's article on making Claude.ai 3x faster in a two-week sprint largely using Claude itself, noting his past criticism of Anthropic's engineering quality and desktop app RAM usage.

1:41

Sponsor: WorkOS AuthMD

WorkOS sponsors the video, and Theo covers AuthMD — a standard built with Firecrawl and Cloudflare letting AI agents sign up for apps, adopted by OpenAI, Cursor, and others.

3:20

The 3x Speedup and Four Key Journeys

The sprint targeted four journeys covering 95% of user activity: page loads dropped from 3.1s to 0.55s, new Claude Code sessions from 0.8s to 0.3s, with tens of thousands of user-hours saved daily.

5:48

Demonstrating Persistence Bugs

Theo shows real bugs in the shipped product: submitted prompts creating threads that aren't persisted on navigation, and an overly aggressive sidebar cache in IndexedDB that keeps showing threads deleted in another browser.

How the Sprint Actually Ran

11:27

Claude Tag and Internal Models

Anthropic ran the entire effort through Claude Tag (a Slack bot) rather than Claude Code, using an internal research model roughly comparable to Opus 5.5 — which Theo views skeptically.

15:26

Choosing and Measuring Journeys

Claude used Datadog telemetry to pick the four highest-impact journeys, broke them into 13 measurements, and added instrumentation from user interaction to rendered result. Theo stresses that most teams measure performance wrong.

16:42

Fast Results and the Sprint Loop

Claude hit 12 of 13 targets by day three of a two-week sprint, merging 3000+ changes with a single customer-facing incident. The loop ran in one Slack thread: trace, benchmark, PR, deploy, ratchet.

18:58

Launch Optimizations and Hover Prefetch

Concrete wins included a static composer baked into HTML so users can type during React initialization, precompiled V8 code cache, keeping the composer mounted, prefetching sessions on hover, and 90% fewer sidebar re-renders.

Benchmarks, Ratchets, and Honest Measurement

20:09

Wacky Ideas and the Lakebed Anecdote

Theo highlights the prompt line 'I'm open to wacky ideas' as surprisingly valuable, recounting how a similar prompt on his Lakebed project produced a forked Rusty V8 runtime with 2-4x improvements.

24:13

Deterministic Lab Metrics

To validate prototypes asynchronously, Claude measured literal JS instruction counts via Valgrind and, for browser paths, deterministic proxies like React commits, V8 call counts, style recalcs, and DOM mutations — five parallel threads each owning one metric.

26:26

When Proxies Lie

Blindly optimizing proxy metrics can break functionality — cutting sidebar fetches reduced call counts but broke syncing. Theo argues engineers must still manually test feel, and each benchmark doubled as a CI ratchet that could only improve.

29:01

T3 Code's Own Regression Guard

Theo describes adding a GitHub Action that tests real request formats against stored data baselines to catch load-size regressions, alerting both coding and review agents so fixes happen before users are affected.

Slop Tests, Hot Paths, and Real Bugs Found

30:14

Instruction Counts Beat Wall Clock

Wall clock is noisy for CI gates, so Anthropic proved instruction counts track it: profiling two hot paths found megamorphic lookups resolving the same message ID three times, and cuts of 48%/31% instructions yielded 78%/44% wall-clock wins.

32:25

Measurement Is Now Step One

The central lesson: with Claude, measuring something makes it tractable — once the model has a number to beat, it optimizes; the highest leverage is finding more things to measure. Theo vents about misleading code coverage metrics with a Twitch anecdote.

34:29

Low-Friction Testing and Layout Shifts

Theo added a GitHub label producing downloadable macOS builds to remove testing friction. Claude found 31% of page loads moved something after becoming usable, then fixed offenders in batches — layout shift metrics like CLS missed the pop-in entirely.

40:16

Reading Behavior, Not Code

Theo argues AI-coding intuition comes from reading Claude's responses and behavior, not source code — his data-layer overhaul shipped ~1000 lines of slop tests per 10 lines of real code with no regressions. Once one loop works, scaling horizontally to ~40 auto-merged PRs is trivial.

42:42

The Model as Numbers Demon

Claude kept opening its own threads as nightly jobs, finding ~6,900 hooks re-rendering per keystroke, a CSS :has selector costing 24ms per DOM change, 500,000 hidden daily reloads, and idle tabs cloning cache snapshots twice a minute.

Guardrails, Taste, and Final Takeaways

44:47

Engineering Culture Theories

Theo theorizes Anthropic's engineering-vs-research culture clash explains both its slop-heavy codebase and its push to replace engineers with AI, advising to hire for what you love — it's hard to automate what you don't respect.

47:18

UTF-16 Highlighting and Main-Thread Blocking

A CPU-hitch sweep found non-Latin-1 characters pushed syntax-highlighting regex onto V8's slower 2-byte path, freezing pages ~1s; fixed with a 20-line change. Theo moved T3 Code's highlighting to WASM in a worker so the main thread never blocks.

50:21

Safety Mechanisms and 200 Feature Flags

Every PR had automated review plus human approval, tests before optimizations, and short-lived feature flags — ~200 introduced, over half cleaned up. The brittle Static Composer got guardrails comparing static vs React renders across 14 viewports.

52:27

The Em-Dash Height Bug

A layout shift where opening a new tab dropped the composer by an em-dash traced back to Chrome's 56px new-tab footer and speculative pre-rendering at the wrong page height — part of why Theo suspects Anthropic hired Addy Osmani from the Chrome team.

55:00

Steering, Boldness, and Word Maps

The loop wasn't autonomous: lines like 'assume you have my permission to keep going' made Claude far bolder, since models default to safe happy paths and words like 'ambitious' pull them toward less-traveled paths.

58:25

Taste: Humans Rule the Visual Details

Every thread had a named human owner, and user-perceptible changes were ruled on with screenshots. Theo gives his opinions: render tables only when complete, tune skeletons with real metrics, and never do word-by-word fades.

1:03:09

Streaming, Frames, and Wrap-Up

Theo endorses streaming whole paragraphs rather than tokens, notes a single thread landed ~60 PRs cutting main-thread blocking from 750ms to 200ms at 120 FPS, and concludes: give the model the ability to measure first, then ask it to improve — working around slop is the new engineering meta.

Moment by moment

TimeWhy it matters
3:20The headline: Claude.ai 3x faster in two weeks, 12 of 13 targets hit by day three
33:14Core thesis: measuring something makes it tractable for Claude — measurement is now step one
42:02T3 Code's GitHub Action catching performance regressions before users see them
47:18UTF-16 syntax highlighting freezing pages for a second — a subtle, deeply technical bug
1:08:32Final takeaway: give the model the ability to measure things first, then improve

Do this next

  1. Add one deterministic performance benchmark (e.g., instruction count or React commits per interaction) as a CI ratchet that can only improve.
  2. Write a deliberately 'sloppy' regression test suite around your app's data layer and watch for load-size regressions via a GitHub Action.
  3. Try a measure-then-fix agent workflow: have Claude build a benchmark first, then ask it to optimize against that number.

Common questions

How much faster did Claude.ai get?

About 3x in a two-week sprint: 75th percentile page load went from 3.1s to 0.55s, desktop app launch from over 6s to just over 3s, and Claude Code session start from 0.8s to 0.3s.

Did Anthropic use Claude Code for the optimizations?

No — the entire effort ran through Claude Tag, an internal Slack bot, with human approval on every PR and user-visible changes behind short-lived feature flags.

What is the 'measurement first' lesson?

Once Claude has a deterministic number to beat, it can optimize effectively. Asking it directly to 'improve performance' yields worse results than building benchmarks and ratchets first.

What does Theo mean by 'slop'?

Auto-generated, unpolished code — especially test suites and guardrails — that never ships to users but prevents regressions and lets agents operate safely. He argues working with and around slop is becoming a new type of engineering.

Spot a mistake?

Every summary on this page is hand-checked against the video, but mistakes can slip through. If you spot an error in a timestamp, summary, or fact, please email us and we'll fix it.

More course guides