What affects power more in a camshaft....high lift or longer duration?

Any of our old engines with hydraulic lifters also have variable lift and duration. Not by much, but they do. That's why I don't like hydraulics.
I’ve only use mechanical cams for the last forty years, far more reliable…