sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #21256
[Bug 1229100] Re: [request] want time profiling support
--- version 1.1 will have:
Debug t1 = Debug.startTimer(message)
// more code
long t1Time = t1.end()
//t1Time is elapsed time in milliseconds
--- and will produce log messages:
[profile] TStart: message-text
... more
[profile] TEnd (x.nnn secs): message text
(optionally with time stamp in the profile tag)
This allows to have as many timers in parallel as you need/want.
** Changed in: sikuli
Status: New => Fix Committed
** Changed in: sikuli
Importance: Undecided => High
** Changed in: sikuli
Assignee: (unassigned) => RaiMan (raimund-hocke)
** Changed in: sikuli
Milestone: None => 1.1.0
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1229100
Title:
[request] want time profiling support
Status in Sikuli:
Fix Committed
Bug description:
Hi,
We would like to add a transaction to our automation scripts that
record the time taken from the start to the end of the script. We want
to use this for basic performance testing.
eg
StartTransaction();
<<<run automated script>>>
EndTransaction();
Output("Time Taken was " +transactiontime())
Thanks in advance!
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1229100/+subscriptions
References