Cooking on a roasting rack allows the hot air of your oven to circulate over the whole tenderloin, so it will cook more evenly throughout.