Jacob 'kurtextrem' Groß (@kurtextrem) header
Jacob 'kurtextrem' Groß (@kurtextrem) profile picture

Staff Performance Engineer @Framer · webperf/UX/AI and the Core Web Vital INP are my interests. ex. gamer

Munich, Germany
Joined June 2009
Photo by Jacob 'kurtextrem' Groß (@kurtextrem)Photo by Jacob 'kurtextrem' Groß (@kurtextrem)Photo by Jacob 'kurtextrem' Groß (@kurtextrem)Photo by Jacob 'kurtextrem' Groß (@kurtextrem)Photo by Jacob 'kurtextrem' Groß (@kurtextrem)Photo by Jacob 'kurtextrem' Groß (@kurtextrem)Photo by Jacob 'kurtextrem' Groß (@kurtextrem)Photo by Jacob 'kurtextrem' Groß (@kurtextrem)Photo by Jacob 'kurtextrem' Groß (@kurtextrem)Photo by Jacob 'kurtextrem' Groß (@kurtextrem)
New blog post: How to improve INP with Yield Patterns It contains: 🚀 In-depth guide on how to yield to the main thread & browser scheduling 💡 A comparison to @cramforce's await-interaction-response pattern 3⃣ How to deal with 3rd-party code like GTM Link in the next tweet👇
1
4
1
29
7,452
Ivan fixed lighthouse (for many SPAs)
I can’t help but weep: lighthouse (starting with v13.6) no longer punishes single-page apps for loading a lot of JS ahead of time. wild times! some Framer sites (previously incorrectly scored) get +20-30 perf points.
15
934
Not just a marketing stunt, there's some actual clever invention here by parsing AST to improve how fast scripts can execute (and stop!) when agents write code. Can recommend giving the technical blog post a read.
Replying to @framer
Before, an agent wrote the whole program first and only ran it once it was finished. Harness 2 runs each piece of code as soon as it arrives. Your canvas updates while the rest is still being written.
1
12
726
Jacob 'kurtextrem' Groß retweeted
Parcel v3 supports tree shaking for JS (ESM and CJS) and CSS modules (as in v2), but now also for SVG! <use href="sprite.svg#icon"> will only include the element with id="icon", and remove unused symbols in the SVG. Nice advantage of a language-agnostic core.
9
4
2
124
6,097
Bun's now leading the TypeScript checker race! As always, in @framer's monorepo: 🏆 bun check: 2.42s, 2.0 GB | v1.4.4 🥈 tsrs: 2.50s, 2.6 GB | v0.18 🥉 tsc-ts: 5.9s, 5.3 GB | v0.6 TS 7.1 beta: 13.9s, 8.1 GB
Bun v1.4.4 - Fixes 271 issues, addressing 544 👍 - `bun fmt` is a fast Prettier-compatible code formatter - `bun check` gets 1.4x - 7.8x faster - New in Bun.SQL & WebSocket - Security fixes, including for Brotli, TLS certs, HTTP/3, and more bun.com/blog/bun-v1.4.4
6
12
7
288
22,545
You can also use this to make VSCode/Cursor/Zed faster. In your VSCode/Cursor config: "𝚓𝚜/𝚝𝚜.𝚝𝚜𝚍𝚔.𝚙𝚊𝚝𝚑": "𝚗𝚘𝚍𝚎_𝚖𝚘𝚍𝚞𝚕𝚎𝚜/𝚝𝚜𝚛𝚜/𝚋𝚒𝚗/𝚝𝚜𝚛𝚜" (for Zed: lsp.typescript-ls.binary.path)
Introducing tsrs: a Rust port of the TypeScript compiler 🦀 We are not forking TypeScript! ◆ In close collaborating with the TypeScript team ◆ Up to 8x faster than TS 7.0 & ~70% less memory ◆ Runs in WASM, so it works in your browser & on Workers ◆ Soon part of the Oxc toolchain npx tsrs blog.cloudflare.com/typescri…
14
41
2
802
34,180
Tip for faster Oxlint on CI: Turn off "warn" rules. No one reads warnings on CI, so this is a no-brainer. ESLint v10 does this by default, oxlint currently doesn't. Effect on Framer's monorepo: 100s → 66s, 51% faster.
12
11
1
199
12,721
TS fork news: Vercel joined the race and tsrs seems to have moved to the @OxcProject org on GH, and got a great speed boost 👀 tsrs: 2.8s, 2.6 GB (v0.16) bun: 4.8s, 1.4 GB (v1.4.4) tsc-ts: 6.5s, 6.5 GB (v0.0.2) 🆕 Not bad @ctatedev.
15
21
8
311
22,214
Made eslint-react faster with this tiny change. It replaces the OpenSSL call (randomBytes) with a simple counter. Result: 2.6s faster linting in Framer's monorepo (with oxlint). Ty for merging so quickly @_krystallizer!
1
2
20
1,470
Latest benchmark runs on Framer's monorepo: 🏆 tsrs: 5.3s, 2.5 GB | v0.11 🥈 tsc-rs --fast: 7.9s, 5.8 GB | v0.6 🥉 bun check: 8.0s, 1.4 GB | v1.4.4 tsc-rs: 8.3s, 6.1 GB | v0.6 -- @can1357's TS7.1 patch: 11.3s, 8.7 GB TS 7.1-dev: 21.3s, 10.2 GB tsgo 7: 26.5s, 12.6 GB
ts-rust v0.6.0 is out! It's now 30% faster than before, and up to 70% faster with the new "--fast" mode (at the expense of RAM) This mostly closes the gap in performance against `bun check` while still maintaining 100% compatibility with upstream TypeScript (Bun does not)
3
3
1
46
6,437
Which Rust TypeScript fork is the fastest? I benchmarked 3 different ones in Framer's monorepo. The results: 🏆 tsrs: 5.5s, 2.6 GB RAM (v0.5.0) 🥈 bun check: 7.3s, 1.6 GB (v1.4.3-canary.1) 🥉 tsc-rs: 10.3s 8, 7.1 GB (v0.1.0) tsgo: 25s, 10 GB (v7.0)
17
13
6
245
46,203
Announcing skillzero: save tokens by keeping skill names + descriptions out of agent context for skills you only use as /-commands. Experts like @addyosmani & @mattpocockuk all have mentioned this in the past: Don't accumulate skills you never use. You pay for them, they pollute context and make agents less reliable in actually using the ones you want it to use. skillzero changes this, as it allows you to split skills into: - 👻 hidden skills (the /-cmds) - 📚 collections (bundled by topic) - regular skills (stay in context) Of course open-source.
1
1
1
13
965
This exists, because personally love collecting skills. Some of them I use daily (or expect my agent to), others only for specific flows (say writing, design, video generation, and so on). As example, some of the skills I have I want my agent to only invoke them when the task is about design. Otherwise it does not need to know I have skills related to design installed. Some authors have recognized this already and have correctly added 𝚍𝚒𝚜𝚊𝚋𝚕𝚎-𝚖𝚘𝚍𝚎𝚕-𝚒𝚗𝚟𝚘𝚌𝚊𝚝𝚒𝚘𝚗: 𝚝𝚛𝚞𝚎 & 𝚊𝚐𝚎𝚗𝚝𝚜/𝚘𝚙𝚎𝚗𝚊𝚒.𝚢𝚊𝚖𝚕 to hide the skills in Claude Code and Codex. But most don't (or have only added either of them, not both). With skillzero, I decide whether I want them to be manually invokable only, or if the agent can make use of a the collection of skills automatically for certain tasks.
1
1
301
Jacob 'kurtextrem' Groß retweeted
introducing 🤏 pico-cn an experimental 3.6kb (gzip) fork of shadcn-ui/cn (11kb) it trades off some coverage (still covers 99.996% of the main test suite though!), and performance, for a much smaller bundle size. based on a forgotten experiment i did in 2023
Very impressive approach, kudos to the authors, but the 26 kB (or 15 kB with custom build) bundle size is 😵 With all my love for Tailwind, the need for so much runtime just to make things function as intended is a sign of a fundamental problem.
8
7
1
177
17,193
Sometimes you can start weeks with a bang: 50% less JS shipped to our login site. On some others even -80%. This is your yearly reminder to get rid of barrel files. They're bad, make your tooling slower and more inefficient in tree-shaking.
7
2
78
6,656
Can recommend. I've made the switch at Framer: • Paint: 127ms → 0ms • RasterTask: 440ms → 0ms • Main-thread time: 276ms → 6ms • Compositor thread: 146ms → 351ms → work moves off main thread. this can improve INP too!
Text shimmer animations are usually very CPU intensive (~20% for one line of text). Animating background-position is not GPU accelerated, so the browser re-paints every frame. I found an alternative using a CSS mask which only animates a transform. Reduces CPU usage to < 2%. codepen.io/editor/devongovet…
5
8
1
292
48,789
Added to github.com/kurtextrem/awesom… - it's basically a free way to point your agents to clever performance improvements :)
1
26
1,390