When one is on a road bike, or at least on a smooth road climb, what's the best way to tackle it? For the sake of argument, to get a KOM time (I'm not super-obsessed with strava but looking to improve my fitness and I'm interested in the physiology of riding bikes).
On a short steep hill, I usually stand up and mash the pedals. Seems to be the quickest way, if not the most efficient.
Whereas on longer climbs (say, 1.5k or more), I'm torn between standing (and going faster) vs sitting and staying more efficient. Would the quickest way just be to stay sitting, somewhere near the anaerobic threshold, then get out of the saddle and sprint the final 200m ish? Or intermittently stand up to get a bit of speed, then sit for a bit? Presumably people are different and maybe everyone needs to just do it slightly different?
I'm kinda interested in what the science/sports physiology answer is to this question, but I'll take anecdotes from people too!