They both do at the same amount
A banana because it`s flesh is softer.
A banana rotten faster when peeled
-bananas rot faster. On the counter or in the fridge it don't matter.