News for hackers. Stuff that matters.

jlreyes

Identifying bottlenecks is pretty generalizable. There is a distinction the skill tries to draw between targeting median FPS and P95, but from there the AI is quite good at narrowing to the relevant data.

Where the AI trips up is getting distracted by aggregate signals instead of digging deep into root causing specific frame drops, but I see humans and existing tooling getting distracted by that too.

Root causes are often context-dependent, but they tend to cluster into a handful of common issues. If you're able to enable the new swiftui instrument (from WWDC 2025), the entire attribute graph is encoded, and it can get you to the precise issue quite well.

Show HN: Claude skill for Apple Instruments performance traces (iOS/Mac)

https://github.com/jlreyes/instruments-analyzer

I was running into scroll performance issues with a mac app I was building a few months back and I got frustrated with the manual instrument → trace → diagnose → fix loop, so I built a way for claude to do it automatically.Instruments Analyzer exports .trace files captured programmatically or via Instruments (file → save) into DuckDB with Parquet backing, giving your agents full SQL access to...

( Read More... | 3 comments | 4 points | on HN )
Hope it helps- every time I've tried low-bandwidth simulators to create realistic testing conditions it never "feels" like it actually does in the field. That was a part of my motivation to build this. Let me know if he has any issues with it!
Yeah, I've experienced this as well. It's frustrating. Wish I could offer a fix for that here. It is becoming more of a standard that airlines offer free wifi - e.g. United went from ~$8 low-quality service to free Starlink. So, hopefully you encounter this less often as time goes on.

Show HN: AirplaneMode – Simulate realistic airplane WiFi on macOS

https://github.com/freeze-rey/airplanemode-sim

I needed to test how my app performed on airplane WiFi and found that existing tools (Network Link Conditioner, comcast, Chrome DevTools, etc) weren't sufficient.AirplaneMode is a macOS CLI and menu bar app that uses a local MASQUE relay to provide:1. Jitter. All of the mac os network simulators I tried apply a fixed constant delay with no jitter model. Real airplane satellite WiFi follows a...

( Read More... | 4 comments | 5 points | on HN )

Show HN: See when your Mac drains battery while charging

https://github.com/jlreyes/PowerMonitor

I was on a long flight with only USB power and didn't know if my Mac was draining faster than it charged. So I built a menu bar app - single Swift file, event-driven via IOKit, near-zero CPU. Shows live wattage and warns when your charger can't keep up. (And yes, my charger wasn’t keeping up.) Don’t be surprised by a power deficit!

( Read More... | no comments | on HN )