Daniel Lockyer (@DanielLockyer) header
Daniel Lockyer (@DanielLockyer) profile picture

• I make sites faster and cloud/LLM bills lower 🚀 • 2:43 marathoner (🔜 2:39) • Performance is my thing

Amsterdam
Joined December 2010
Photo by Daniel Lockyer (@DanielLockyer)Photo by Daniel Lockyer (@DanielLockyer)Photo by Daniel Lockyer (@DanielLockyer)Photo by Daniel Lockyer (@DanielLockyer)Photo by Daniel Lockyer (@DanielLockyer)Photo by Daniel Lockyer (@DanielLockyer)Photo by Daniel Lockyer (@DanielLockyer)Photo by Daniel Lockyer (@DanielLockyer)Photo by Daniel Lockyer (@DanielLockyer)Photo by Daniel Lockyer (@DanielLockyer)
I've found (and locally fixed) an annoying performance bug on @X web! TLDR: go to a post with a lot of replies, and scroll up and down - notice it's laggy? There's a component that calculates the scroll parent, and then removes the scroll listener when unmounting. But it seems we don't even have a scroll listener most of the time, so we can avoid the heavy _getScrollParent function by wrapping it in a conditional This removes seconds of forced reflow and lag for me Would love to get it fixed! 🙏🏻 @X @engineering @elonmusk @nikitabier
115
87
32
3,150
811,399
nothing new but moving all my dev work to a remote VPS/sandboxes has been a huge upgrade to my workflow in recent months my prompts are always running and I can use Termius to SSH in from my phone definitely increased my productivity
14
1
43
3,203
amazing! I reported longer than expected queue times, and now it's been optimized love companies which listen to users 😍
every github actions job on @luxorcloud runners waited ~10s from queued to running. i traced the whole path to see where the time went. most of it wasn't compute, it was timers: - scheduler polled for new jobs every 3s. now it wakes the moment a job is queued - we checked if a new runner was ready every 2s. now we notice in ~50ms - scheduler traces and VM placement traces weren't connected. now one trace follows a job from queued to picked up, so the next slow step has nowhere to hide ~3s off every runner start, before your workflow runs a single step. fast bare metal is table stakes. the rest of the stack has to be just as fast.
1
1
9
1,996
Daniel Lockyer retweeted
how your email finds me
Sleep score of 47 last night 5 hours total sleep, very broken up Couldn't care less ❤️☺️
6
1
1
183
6,299
security recommendation of the day: go to your Google Account and audit the linked OAuth apps remove any that you do not actively use/recognize myaccount.google.com/linkeda…
12
20
2
334
25,700
Big man is back!!
BREAKING: Nvidia, $NVDA, reinstates Jensen Huang as CEO, President, and Board Member, effective immediately.
3
50
3,509
how your email finds me
Sleep score of 47 last night 5 hours total sleep, very broken up Couldn't care less ❤️☺️
6
1
1
183
6,299
Everyone should be interested in performance 🤠
Thinking of going down deep into perf rabbithole. Thanks @DanielLockyer for igniting my interest in this. perfdynamics.com/papers.pdf
1
20
3,329
Graph goes down 📉
> lower our server's latency, make no mistakes
5
2,273
Daniel Lockyer retweeted
Managed to get a pending PR merged to PHPCSStandards/composer-installer whilst feeding my newborn daughter 31% faster phpunit integration tests by reusing the composer cache The shipping never seems to stop 😀
8
1
36
5,077
Sleep score of 47 last night 5 hours total sleep, very broken up Couldn't care less ❤️☺️
Nothing compares to the experience of seeing your first child being born Hello Olivia Lockyer ❤️
35
1
225
14,903
Day 1 over
Nothing compares to the experience of seeing your first child being born Hello Olivia Lockyer ❤️
12
280
5,618
guys this is freaking awesome can recommend wholeheartedly
Nothing compares to the experience of seeing your first child being born Hello Olivia Lockyer ❤️
14
279
9,549
investing this for my daughter's future ❤️
1
118
5,249
public service announcement: performance work is on HOLD until further notice
Nothing compares to the experience of seeing your first child being born Hello Olivia Lockyer ❤️
27
229
7,212
Nothing compares to the experience of seeing your first child being born Hello Olivia Lockyer ❤️
195
6
2
1,977
61,493
As a blanket CI/test recommendation: Ban all uses of setTimeout. Use fake timers, or wait on the actual event Faster and way less flaky
22
3
2
260
14,200
well well well some of my GitHub Actions workflows are running in AWS (us-west-2) looks like GitHub are diversifying away from Azure-only for compute
20
5
3
296
19,422