Be sure your post includes:
Version 3.0:SmartClient Version: 8.2/LGPL Development Only (built 2011-12-05)
and
Version 3.1d:SNAPSHOT_v8.3d_2012-07-18/LGPL Development Only (built 2012-07-18)
2. browser(s) and version(s) involved
FF 13.0.1, IE9
6. sample code if applicable
The result of the execution on:
FF 13.0.1:
3.1: 928
3.0: 18
IE 9:
3.1: 1178
3.0: 146
If we replace the for loop that get the Member
by:
The time of the execution will be:
FF 13.0.1:
3.1: 512
3.0: 3
IE 9:
3.1: 946
3.0: 2
From the results above we can be sure that there is a performance issue in getMember and getMembers methods.
Version 3.0:SmartClient Version: 8.2/LGPL Development Only (built 2011-12-05)
and
Version 3.1d:SNAPSHOT_v8.3d_2012-07-18/LGPL Development Only (built 2012-07-18)
2. browser(s) and version(s) involved
FF 13.0.1, IE9
6. sample code if applicable
Code:
HLayout hLayout= new HLayout(); for(int i=0; i<10; i++) { hLayout.addMember(new Canvas()); } long startTime = System.currentTimeMillis(); for(int i=0; i<10; i++) { hLayout.getMember(i); } long endTime = System.currentTimeMillis(); System.out.println(""+ (endTime-startTime));
FF 13.0.1:
3.1: 928
3.0: 18
IE 9:
3.1: 1178
3.0: 146
If we replace the for loop that get the Member
by:
Code:
hLayout.getMembers();
FF 13.0.1:
3.1: 512
3.0: 3
IE 9:
3.1: 946
3.0: 2
From the results above we can be sure that there is a performance issue in getMember and getMembers methods.
Comment