The fun part is that when your employer _does_ care about software optimization, few people are actually good at it and your skills are more exclusive :-)
Suddenly they are very aware of the costs of inefficient software.
Even when that software is widely used so the few milliseconds add up to thousands of hours in collective time savings. 'We don't pay for user's time, only your's', is the attitude. Again 'irrational'.