@RickO posted:What is done to achieve accurate timing, and how does timing affect the locomotive performance?
I recommend you read the ICS course book Locomotive Valve Setting. This will explain everything in great detail.
As for performance, the book says that two to three tons of coal could be saved per trip using a heavy locomotive with correctly set valves.