Tag: optimizing code
-
Measure script execution time in stages
Measure script execution time in stages We can use milestones in a script to track how certain sections of code are performing. The best way to achieve this is a simple function with some static variable inside. However, needs can quickly get complicated, so I built a simple static class to handle everything. Include this…