Jump to content

dkjMusic

Members
  • Content Count

    9
  • Joined

  • Last visited

Posts posted by dkjMusic


  1. 22 hours ago, Pat Foley said:

    If the runtime chart has clickable points perhaps its binding them at runtime.  I run 6 Teecharts with 6 to 8 Lines 400 points or more plus legend updating with latency ~ 5ms. 

     

    What's interesting for a real time teechart when made visible, the memory size as the app increases to 1.5 megs 32bit and to 3 megs for 64 bit so 6 Teecharts if each is shown increase a 12 meg program to 40 ish. So there must be some lazy loading of UI parts going on.   On win11 the app reported size shrinks in twenty or so minutes.

    Pat, I have  FamilyCurve.ClickableLine := False;  for each line series.

     

    21 hours ago, Arnaud Bouchez said:

    To be fair, there is a 14,000 time addition on both sides, more often outside of the IDE.

     

    Something is interfering with your application, and wait for 14 seconds.

     

    Don't guess, use a profiler. You will see where the time is spent.

    For instance a good one is https://www.delphitools.info/samplingprofiler/

    I ran the SamplingProfiler and, lo and behold, I did not see the 14-second delay for any of the graphs.

    What could this mean?

    Arnaud, please disregard this. I just reran the SamplingProfiler again and saw the same delays.


  2. 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?


  3. I have developed a Win32 app using the Delphi 10.3 Community Edition and I would like to create a version for Android. Unfortunately, when I installed Delphi, I did not include the capability for Android development.

     

    Is there a way for me to modify my existing Delphi installation to include Android capability without a complete reinstall?


  4. I want to extend the editor, perhaps using the Open Tools API, to open a fly-out menu automatically when a word(s) is highlighted in the editor. The Opera browser does this as shown in the screenshot below. I posed this topic on the IDERA Community forum and have received no replies. Cut and Paste could be added to the fly-out context menu. Can anyone point me to an example or how to get started?

    2017830807_Contextmenu.thumb.png.242365b601f05c26b16783db4e8d8aa3.png

×