Preheat your oven to 400°F (200°C) and line a large baking sheet with parchment paper.
In a small bowl, whisk together 1 teaspoon of olive oil, minced garlic, dried rosemary, dried thyme, sea salt, and black pepper to create a herb paste.
Pat the pork loin dry with a paper towel and rub the herb paste evenly over all sides of the meat.
Peel and cube the sweet potato into 1-inch pieces, then place them on the baking sheet along with the broccoli florets.
Drizzle the remaining 1 teaspoon of olive oil over the vegetables and toss to coat evenly.
Move the vegetables to the edges of the pan and place the herb-crusted pork loin in the center.
Roast for 20 to 25 minutes, or until the pork reaches an internal temperature of 145°F and the sweet potatoes are fork-tender.
Remove from the oven and let the pork rest for 5 minutes before slicing into medallions to serve.