Okay... there is NO end all, be all.
I would NEVER compare a NEW diesel against a NEW gasser at this time. All this emissions stuff, is killing the efficiency and advantage.
THAT, and they are getting MORE complicated, killing another advantage, simplicity.
If you have a powerstroke, yeah, those HEUI injectors are painfully expensive.
My Cummins, has NO electrical on the engine, only for the alternator, gets around 20mpg unloaded.
BUT, at work, we still have a butt-load of old service trucks with 3-400k on them, THAT RUN.... no smoke, no issues. No engine replacements, or overhauls. But, they run on propane, not regular gasoline....and these are duallies, with service beds and are pretty well beat.... They were retired due to frame rot, and utility bed red.
One way or the other, its up to whomever is purchasing the truck, to determine which engine will best suit THEIR needs.
All the service managers in our company, have SRW propane fueled service trucks... but, us service techs, all our trucks are currently diesel....
Chase