Please include "Time" in WinBuilder
#1
Posted 20 June 2011 - 08:36 AM
In WinBuilder, a control (to refresh) the current time, while it is compiling.
And also time in each log line, or at least the beginning of each script.
#2
Posted 20 June 2011 - 12:29 PM
Could it be included?
In WinBuilder, a control (to refresh) the current time, while it is compiling.
And also time in each log line, or at least the beginning of each script.
time in the log is no good idea as you can not compare such log easily...
i would like to see a easy way to time how long eauch script takes...so i could easily find where optimization might be good...
Somthing like
starttimer,timername[,%initialvalue%]
and stoptimer,timername,%timeresult%
could be helpful
#3
Posted 20 June 2011 - 12:44 PM
time in the log is no good idea as you can not compare such log easily...
i would like to see a easy way to time how long eauch script takes...so i could easily find where optimization might be good...
Somthing like
starttimer,timername[,%initialvalue%]
and stoptimer,timername,%timeresult%
could be helpful
I hope to remember next time ...
@sbaeder: In the back of my mind I have the suspicion, that you have a functionalty like that.
Could it be integrated into WinBuilder?
Peter
#4
Posted 20 June 2011 - 09:20 PM
time in the log is no good idea as you can not compare such log easily...i would like to see a easy way to time how long eauch script takes...so i could easily find where optimization might be good...Somthing like starttimer,timername[,%initialvalue%]and stoptimer,timername,%timeresult%could be helpful
@pecd.net: You're right. I agree, each script and have their time in the log. WinBuilder not.
So ... %StartTime% and %EndTime% in the log for the entire compilation.
In WinBuilder also be helpful, a label "clock", refreshed every second, showing the current time while compilation is running.
%RunTime% = %CurrentTime% - %StartTime%
Edited by u2o, 20 June 2011 - 09:20 PM.
#5
Posted 20 June 2011 - 11:20 PM
#6
Posted 21 June 2011 - 01:54 AM
What I did was use the log file information output at the top of the log.html file, (i.e. what paraglider already mentioned) where the time for each script was spit out...So, nothing special :-(
I hope to remember next time ...
@sbaeder: In the back of my mind I have the suspicion, that you have a functionalty like that.
Could it be integrated into WinBuilder?
Peter
The other "analysis" I did was also based on the log file - I just would "grep" to pick out API calls and then use tools like Excel to make pivot tables and other data manipulation to see what was called and how many times. So, while it might be nice to have more general access to a "timer", not sure it is really necessary. On the other hand, a "system" like call that put the current "time" (as a binary value) into a variable and another to format it as a human readable value could be used for many different things like this...
My "vote" is "good idea", but needs more thought on syntax and "priority" (i.e. other things like documentation and just cleaning up what we have in the "engine" might need to come first)...
Scott
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users