What I check first when an agent writes slow code

# ai# productivity# testing
What I check first when an agent writes slow codeDaymondHyper

What I check first when an agent writes slow code When my AI agent produces code that...

What I check first when an agent writes slow code

When my AI agent produces code that crawls, I do not blame the model. I look for the same thing every time: work done more than once.

Loops inside loops, repeated queries, rebuilding the same object over and over. The agent optimizes nothing unless you tell it to.

One rule about not repeating work fixed more slow code than any tuning.