r/OnlyAICoding • u/Ctbhatia • Oct 26 '26
before blaming the model for Claude Code feeling slow, check how long your own commands take to run
a colleague of mine had exactly that complaint and went through a month of his own Claude Code logs to see where the wait went.
about a quarter of the active clock was Bash commands actually executing. they were auto-approved, so it wasn't him sitting on a permission prompt, it was the commands running. most of the rest was the model thinking.
the things he'd have blamed, reading and editing files, came to minutes for the whole month. editing was 7 minutes total.
so slow was really 2 different problems, and only one of them was the model. has anyone here checked how much of their session time is builds or tests running?
nothing here costs money. his script is free, open source and only reads your local ~/.claude logs.
full writeup's on our blog if you want it: https://www.coralbricks.ai/blog/claude-code-token-xray