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

There’s more than just lift v duration because it can depend upon head flow and compression ratio. More lift will not necessarily help a head move more air if it already struggles with air flow but duration can. At the same time a duration usually doesn’t help lower compression ratio engines but lift will…