David Heffernan 2406 Posted October 13, 2020 On 10/13/2020 at 12:45 PM, Kas Ob. said: Work on your algorithms, the higher level approach's, that what really bring you performance, TStopWatch will work as long you always use it and don't concern your self much with 50% increase in small loops, as no matter what you do, because the compiler is not on your side, while better algorithm might gain you many folds speed, instead of just double the speed per very small loop, a loop that takes 1ms ( usually loops with thousands entries might be measured in microseconds so not even a millisecond), while a repaint of the main form might take 1-10ms . You missed step 1. Step 1: identify the bottleneck. It's a common mistake. 1 Share this post Link to post