Preheat your oven to 400°F and line a large baking sheet with parchment paper.
Mince the garlic cloves and finely chop the fresh rosemary and thyme.
In a small bowl, whisk together 0.5 tablespoons of olive oil with the minced garlic, rosemary, thyme, salt, and pepper.
Pat the pork tenderloin dry and rub the herb mixture thoroughly over all sides of the meat.
Peel the sweet potato and cut into small 1/2-inch cubes, then toss them with 0.25 tablespoons of olive oil and a pinch of salt.
Place the pork tenderloin and the sweet potato cubes on the prepared baking sheet and roast for 15 minutes.
While the pork is roasting, toss the broccoli florets with the remaining 0.25 tablespoons of olive oil.
Add the broccoli to the baking sheet and continue roasting for another 10 to 12 minutes until the pork reaches an internal temperature of 145°F.
Remove the pan from the oven and transfer the pork to a cutting board.
Let the meat rest for 5 minutes to lock in the juices before slicing into medallions and serving with the roasted vegetables.