<div dir="ltr">You don't want profile things, which are dependent on user (example GUI code waiting user input). Only things, which depends solely on execution speed <b>and</b> needs to be improved.<br><div>So, you use System.Profile = True just berofe this code is executed.<br></div><div><br></div><div><br></div><div>Jussi<br></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 31, 2019 at 2:46 PM Hans Lehmann <<a href="mailto:hans@gambas-buch.de">hans@gambas-buch.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF">
    <font face="DejaVu Sans Mono">Hello,<br>
      <br>
      I have two questions about profiling. The profile mode can be
      switched on and off in the IDE in the menu `Debugging> Activate
      Profiling`. After the end of the program you can have a look at
      the detailed information. With `Print System.profiles` you can
      obviously query whether the profile mode is set or not.<br>
    </font>
    <ul>
      <li><font face="DejaVu Sans Mono">But what is the point of using
          the boolean property System.Profile with `System.Profile =
          True` or `System.Profile = False`? </font></li>
      <li><font face="DejaVu Sans Mono">Can anyone give me an example
          where the two statements are used sensibly?</font></li>
    </ul>
    <font face="DejaVu Sans Mono">Yours sincerely<br>
      <br>
      Hans<br>
      <br>
      <img src="cid:169d56b360bed97cea91" alt="" width="85" height="98"><br>
    </font>
  </div>

<br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
</blockquote></div>