hard vegetables such as sweet potatoes and carrots can take 10-15 minutes to cook. medium-firm vegetables like onions and celery can take 6-8 minutes to cook. soft vegetables such as snow peas, zucchini, and squash can take 3-5 minutes to cook.