I have a suggestion for improving performance.
I have seen that finding widgets by label collects all widgets it can find and
then it returns the widget by index. Often the index is 0. So SWTBot could stop
searching as soon as it finds the first widget matching the criteria. Or if its
the second widget which needs to be found by label, it could stop searching as
soon as it finds the second.
--- On Sun, 10/26/08, Ketan Padegaonkar <[EMAIL PROTECTED]> wrote:
From: Ketan Padegaonkar <[EMAIL PROTECTED]>
Subject: Re: [SWTBot-users] Performance optimization for SWTBot
To: swtbot-users@lists.sourceforge.net
Date: Sunday, October 26, 2008, 10:15 AM
Hi,
I've uploaded the latest 2.0 with some performance optimizations,
there were a few tests that locked up and froze the UI but that has
been fixed.
I'm not sure if this was the only freezing issue. If anyone is using
2.0, I'd like to hear of any issues with the latest available at
http://swtbot.sourceforge.net/artifacts/2.0-dev/
.
-- Ketan
On 26-Oct-08, at 12:05 AM, Ketan Padegaonkar wrote:
> Hi,
>
> I'm working on improving the performance of SWTBot, and am looking
> for ideas or areas where SWTBot could be made faster. Not that it is
> very slow, but hey turning a few knobs to get a little extra does
> not hurt!
>
> If you have something that'll help optimize the performance for the
> better, then I'm all ears. It may even be a single statement that
> you think will slow down SWTBot, or things that make you say: "why
> is this thing so very complicated?"
>
> I have a few ideas like removing unnecessary log statements etc. My
> mind is clearly out of ideas, since I know most of the code base
> inside out. So a fresh pair of eyes would help.
>
> -- Ketan
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
SWTBot-users mailing list
SWTBot-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
SWTBot-users mailing list
SWTBot-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse