As a counter to this low-effort, flip comment, I semi-regularly take the Amtrak Capitol Corridor from San Jose to Sacramento. It is about 3 hours. It takes about 2 hours to drive with no traffic, but if you need to travel on a weekday during the morning or early evening, the train is much faster. And you can read/work/sleep/whatever.