It may also depend on what you are putting the pump on. I have a little 450 Bobcat skid steer I replaced the already existing electric pump on it. This was put on by the Rental company I bought it from. Being there was a decal on the roll cage, about turning the ignition on for a few seconds, before starting the machine, I assumed it was factory. Worked fine for a few weeks, then, when after about a 1/2 hour, it would quit running. Let it cool off, it would start & run fine for 20 minutes or so again. Thinking it was a bad/subpar pump, I got another. Same results.
Being I had to mount the pump in the engine compartment, the pump was getting so hot, the little oscillating piston was seizing up, and stop pumping fuel. After looking real close, and looking online abut that particular Kohler engine, I saw where it had a mechanical pump. I bit the bullet, bought a new mechanical pump, and it has been running fine for 5 years now.
Just saying if you are going with an electric pump, mount it, if you can, away from the heat of the engine.