Jacob 'kurtextrem' Groß

Sr. Performance Engineer @Framer · webperf/UX/security

Jacob 'kurtextrem' Großkurtextrem@webperf.social
2025-04-30

Chrome 136+ ships a new V8 version that supports a "compile hint", which makes V8 parse and compile all functions in that file eagerly.

Great for entry points – where you know all functions will very likely be used. Less so as 'one weird trick to make all your JS faster'.

In our experiment with popular web pages, 17 out of 20 showed improvements, and the average foreground parse and compile times reduction was 630 ms.

You can trigger eager compilation for the whole file by inserting the magic comment
```
//# allFunctionsCalledOnLoad
```
at the top of the file.

This feature should be used sparingly though - compiling too much will consume time and memory!
Jacob 'kurtextrem' Großkurtextrem@webperf.social
2025-04-21

@eeeps @matthiasott @kevinpowell @mdn @grigs Afaik, chromium might introduce a DPR cap, but I can't think of any reasonable change to how the source is selected that could break the mechanism.

Anyway, I certainly agree, if you can use picture, you should - I think I mention that somewhere in the post too. Less complexity, easier to handle.
In my scenario, we couldn't switch for various engineering related reasons so I came up with this 😄

Jacob 'kurtextrem' Großkurtextrem@webperf.social
2025-04-20

@matthiasott @kevinpowell @mdn @eeeps @grigs
You can get pretty clever with the img tag alone though as I demo here: kurtextrem.de/posts/modern-way. Using <picture> is much simpler, though.

Jacob 'kurtextrem' Groß boosted:
2024-09-03

🎉 Framer can now simulate DOM sizes and positions on the server, without the real DOM.

This lets us automatically do optimizations that rely on element sizes – like loading=lazy, image preloading*, and content-visibility*.

AFAIK no other site platform supports this today.

(* = soon)

Jacob 'kurtextrem' Groß boosted:
2024-05-31

Last week in Framer performance: we shipped AVIF support! Now, all images are served as AVIF, making them 20+% smaller.

AVIF takes ages to encode, tho, so we came up with a clever trick. 🧵

Jacob 'kurtextrem' Großkurtextrem@webperf.social
2024-01-03

@nolan Good point!

Jacob 'kurtextrem' Großkurtextrem@webperf.social
2024-01-03

@sarajw @Schepp @tunetheweb @developers I'd prefer English by default too (unless article has been translated to a specific language by a human)

Jacob 'kurtextrem' Großkurtextrem@webperf.social
2023-12-11

@eeeps Love the article. Just shared it on the WebPerf slack (are you on it btw?)

Jacob 'kurtextrem' Großkurtextrem@webperf.social
2023-12-02

@Yoav Congratulations!! Exciting to hear what you'll be working on. eCom is a big topic for WebPerf! Happy to hear that you'll stay involved in WebPerfWG.

Jacob 'kurtextrem' Großkurtextrem@webperf.social
2023-10-17

@stefan Done. I really wonder why.

Jacob 'kurtextrem' Großkurtextrem@webperf.social
2023-01-26

Responsive & performant images are complicated. My first #webperf article really goes in-depth on `<img srcset>` and provides a unique alternative to `<picture>` 📸
If you've learned something new, I'm happy about boost's & your feedback :)

kurtextrem.de/posts/modern-way

Jacob 'kurtextrem' Großkurtextrem@webperf.social
2022-11-18

@TheRealNooshu link doesn't work for me just fyi

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst