But!
I'm not complaining. It's an almost 6 year old device. That means, for every year of usage, I payed roughly 200€, or 16€ per month. That's not too shabby, tbh.
Though I agree that battery health hasn't been super important to performance. But resetting the phone can do wonders
An aged battery will show big voltage drops under load. What was looking like a fine and dandy voltage (voltage is used to infer state of charge) can suddenly plummet. It can get so bad that your phone might even shut down because it starts to undervolt.
So, choosing between the lesser of two evils, iOS throttles down max. power draw, and thus max. processing speed, when the battery ages. The alternative would be random shutdowns, or your battery jumping from 80 to 8% suddenly.
In settings -> battery -> health & charging you can check in which regime you are.
On most phones you realize that when an old phone goes from 15%, you do something CPU intensive and the phone dies seconds later.
So it's reasonable to lower the peak power use on older batteries to lengthen battery life and make it more stable. Generally battery life increases when you are gentle. Charge slowly (which results in lower temps), avoid charging over 90% or discharging below 10%, and decrease the peak loads.
It even turned into a huge scandal of "Apple deliberately slowing down old iPhones" which was portrayed as if Apple is doing it to make you buy a new iPhone.
My XS is currently at 74% of initial capacity (it tells you this too, which is really nice), and I don't even have the option to enable throttling yet, so it must not kick in until things get really dire