> Always profile before you optimize
Not necessarily. Often, treatment and testing can be done in parallel.
In many cases, the treatment is also a test. Every time you apply topical antibiotics to a cut, you’re testing for antibiotic resistance.
> you’re testing for antibiotic resistance
...and also develop one.
I had read their comment as "accurately diagnose before treating"
It's not "House" where you guess something, provide a treatment, watch as things get worse, then change diagnosis in the real world is it?