How to make the automation to run faster?

Kindly share a screenshot of the code snippet. Also explain bit more on the exact requirement