To throw my $0.02 in...
It depends on too many things for there to be a truly clear answer. But holding all else equal: both are DOHC (for example), square bore/stroke, similar head designs, similar tuning, etc the V8 can probably produce more power.
However, the V8 will weigh more, lose proportionally more power through the valve train and engine accessories. The associated systems like intake, exhaust, radiator, etc will all also weigh more. I don't know that the added weight is made up for by the added power in terms of straight-line acceleration, but for handling I'd prefer the lighter engine. Everything is a compromise...
Quite often the primary configuration (v8, v6, I6, I4, etc) of the engine is mostly irrelevant, what matters is its execution (bore, stroke, valve size & lift, head design, compression ratio, fuel/spark/exhaust/intake tuning, etc).