Combine the olive oil, rosemary, thyme and crushed red pepper, if using, in a heavy small skillet over medium-low heat. Cook until the mixture is fragrant, about 5 minutes. Remove from the heat. Place the pecans in a small baking pan and roast until toasted, about 7 minutes. Set aside.