Thomas Steiner (@tomayac)

Now at

The below is an off-site archive of all tweets posted by @tomayac ever

April 20th, 2017

RT @kdzwinel: @tomayac AFAIK there is a fastpath in querySel for “#id” and “.bla”, but it looks like it’s still 60% slower than getElById…

via Echofon

My approach usually is to query as specifically as possible to avoid selector parsing; I still use getElementById and getElementByTagName.🐶

via Echofon

estellevw I get free sushi if 1,000 people take the SpeedPerception challenge It’s a cause. Pls RT

via Twitter Web Client (retweeted on 10:36 PM, Apr 20th, 2017 via Echofon)

kdzwinel There is a colored dot next to each “Product” in the Network panel. I’m even more intrigued now.

via Twitter Web Client (retweeted on 10:30 PM, Apr 20th, 2017 via Echofon)

@kdzwinel @JonGarbee You generally should get a high score, but 100/100 can still mean slow—PSI score isn’t correlated to latency & is no direct ranking signal).

via Twitter Web Client in reply to kdzwinel

RT @kdzwinel: We have a winner 🏆 @tomayac showed me a gem that already has a perfect 0.

My personal best is 39. I can’t do anything wrong…

via Echofon

@kdzwinel @JonGarbee 🤔The secret is ruleImpact (, an open-ended score of the relative impact of violating the rule.

via Echofon

@kdzwinel First, slow down your server and make it respond only after 3s or so. Second, deliver an empty page and load all content via XHR.

via Echofon in reply to kdzwinel

@kdzwinel At least GTM makes it impossible to add render-blocking scripts… I see Optimizely on many customer pages—and it’s a perf killer :(

via Echofon in reply to kdzwinel

@kdzwinel May I suggest you add a synchronously loaded A/B test?

via Echofon