←
Daniel Lockyer11,646 posts
Daniel Lockyer avatar

Daniel Lockyer

@DanielLockyer

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

◷ Joined December 2010▧ 1,513 Photos and videos
Daniel Lockyer avatar
Daniel Lockyer@DanielLockyer·17 Aug 2025

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

Post attachment
Daniel Lockyer avatar
Daniel Lockyer@DanielLockyer·1h

AI prompt to help (I'm using OpenCode Browse because GitHub CLI doesn't have oauth endpoints): > Audit all my authorized apps in GitHub and list the permissions/scopes each one has Just found 3 old apps with full private repo access I could clean up for security!

GitHub security advice of the day: audit all your SSH keys: github.com/settings/keys audit all your PATs and fine-access tokens: github.com/settings/tokens audit all installed OAuth apps: github.com/settings/installa…

Daniel Lockyer avatar
Daniel Lockyer@DanielLockyer·4h

PR #1 merged! Span creation when used via CommonJS is up to 85% faster, by switching to named imports, which avoids overhead from the compiled getters

Post attachment

Got AI to grind on performance for the OTel Node SDK, and it did a great job Now to PR upstream!

Post attachment
Daniel Lockyer avatar
Daniel Lockyer@DanielLockyer·5h

Got AI to grind on performance for the OTel Node SDK, and it did a great job Now to PR upstream!

Post attachment
Daniel Lockyer avatar
⟳ Daniel Lockyer retweeted
Daniel Lockyer@DanielLockyer·22h

CI prompt of the day: > Check our runner's CPU core count and make sure tests and builds use all of it. Show me the job times before and after

Daniel Lockyer avatar
Daniel Lockyer@DanielLockyer·22h

I have to admit, I am yet to see huge value from using some of the extreme multi-agent development workflows and skills like I see posted on here No wonder so many of you are burning through multiple AI subscriptions 😅

Daniel Lockyer avatar
Daniel Lockyer@DanielLockyer·22h

`ubuntu-latest` runners for public GitHub Actions repos are 4 core machines Imagine only using 1 core 😭

Daniel Lockyer avatar
Daniel Lockyer@DanielLockyer·22h

meanwhile, also under my name: (not me)

Post attachment

have you ever randomly met someone with the same name as you? on my first flight ever to Asia, I stood in the queue at London Heathrow and the guy in front of me was also called Daniel Lockyer turns out he was an Australian traveling home small world