
The more massive, the less time. Low-mass stars will spend almost literally infinity (longer than the known age of the universe) on the main sequence, while the big/hot/blue O and B type stars might spend as little as 10 million years on the main sequence.