For a bike it takes about 1 minute or more to stop, detach/unlock your lock from the frame and lock your bike to a bike stand, then take off your helmet. You reverse this when you get back on the bike. The variance is also not that high on this number.
For a car, the mean time varies greatly from location to location and the variance is much higher. You might get stuck several minutes searching or waiting for a parking spot or you might get a spot immediately and be walking to the shop in under 15 seconds.
These differences have some effect on how much people want to bike/drive. I think one way of encouraging biking more would be to work on lock designs and bike stand design so it takes less time to park your bike.
I like bicycles, but actually going to a store with a bike is an annoying experience. One that I wish could be improved.
Like you have to understand that a city designed from scratch for cars and one designed for walking/biking look very very different. Biking in one is hard and driving in the other is just as hard.
Yes bicycle parking is important, but it's relatively cheap, mostly because it does not need that much infrastructure.