This method works for almost any vegetable, whether you're eating them in a sheet-pan dinner or on their own, but cooking times will vary depending on the produce. Root vegetables like beets, potatoes, and carrots may take up to 45 minutes, while thin veggies like asparagus and green beans only take 10 to 20 minutes.