Pat the pork tenderloin dry. Line a baking sheet with foil, and place the tenderloin on the prepared baking sheet.
Combine the olive oil, garlic powder, onion powder, chili powder, rosemary, thyme, salt, and black pepper in a small bowl. Spread evenly over the tenderloin.
Roast for 10 minutes, then reduce temperature to 375 F, and roast for another 15 minutes, or until the internal temperature reaches 140 F.