[Gambas-user] Profiling
Jussi Lahtinen
jussi.lahtinen at gmail.com
Sun Mar 31 22:27:05 CEST 2019
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 *and* needs to be improved.
So, you use System.Profile = True just berofe this code is executed.
Jussi
On Sun, Mar 31, 2019 at 2:46 PM Hans Lehmann <hans at gambas-buch.de> wrote:
> Hello,
>
> 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.
>
> - But what is the point of using the boolean property System.Profile
> with `System.Profile = True` or `System.Profile = False`?
> - Can anyone give me an example where the two statements are used
> sensibly?
>
> Yours sincerely
>
> Hans
>
>
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190331/7194c7bf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Gambas-Buch-Logo 85x98.png
Type: image/png
Size: 3306 bytes
Desc: not available
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190331/7194c7bf/attachment.png>
More information about the User
mailing list