Just a quick thought I had the other week while driving to work.
I was driving to work and thinking about a unit test I had been in process of writing the previous night and what assertions I had to add to it. And just from that realized I had written my service that was being tested with multiple database calls that could be reduced to one, and then some local filtering in the service.
So just the THINKING of my unit tests, led me to some reduction in the service to database calls.
That’s all just a quick random development thought I wanted to pass on.