I am deveoping an app in Delphi 10.3 Community Edition. At one point the program retrieves equation parameters from a MS Access datbase and calculates x's and y's for a set of plots. It does this to produce 15 TCharts with 9 line series each.
I have found that these operations often take much longer to execute when I run the standalone app as compared to running the app in the IDE. Below is a table of execution times (using GetTickCOunt). The columns are TChart graph #, milliseconds in the IDE, and milliseconds for standalone.
# IDE SA
-- --- -----
1 703 14890
2 875 500
3 844 14828
4 829 14844
5 875 468
6 812 500
7 906 14859
8 1281 14813
9 938 14860
10 829 14875
11 15562 14844
12 937 14859
13 927 14860
14 812 531
15 828 14868
What could explain the differences in execution times and what can I do to decrease the times for the standalone execution?