I'm out of work atm but in my last job, my commute by bike was about 12 miles each way. I don't drive and so my alternative was public transport.
The cycle-commute was a mixed bag of single track country lanes and busy commuter routes, mostly single carriageway but some dual carriageway, with a couple of very fast large road islands (with a lot of traffic coming off nearby motorways still travelling at very high speeds) and some town-centre riding. It took me about 1¼ hours each way but I needed time at the other end to park the bike, pack/unpack and wash and change.
The public transport commute was very unreliable. For a few years, it was a private-hire contracted works coach (after an office relocation) which for me meant a 2½ mile walk to the pick-up point but the bus company used their worst buses and gave it their lowest priority, it seems, with buses often turning up very late, not turning up at all or breaking down en-route. When the works bus was discontinued, it meant either a two bus journey or one bus and a 2½ mile walk. The problem was that the bus company operating the main part of the journey was the same one contracted for the works bus and reliability wasn't much better. This journey would be about an hour on a really good day, 1½ - 2 hours on a normal day and up to 3 hours on a really bad day.
My biggest problem with the bike commute is that I had an early start and I'm very much a night owl not an early bird. My body clock never adjusted properly and I found it really difficult to get on the bike when all I wanted to do was get back into bed. On the bus, I used to sleep a lot - often getting about a third to half of my total daily sleep on the bus.
My two jobs previous to the last one were both approximations of a 2PM-10PM shift but were a lot closer to home and I had no problem with cycling to get to either of them and usually did all weather, all times of the year.