Hi Isomorphic ,
if I run my app with the nightly 20180604 it runs in 2 secs. If I run the exact same code with the nightly 20180615 it takes 16 seconds. So something happened between those two versions.
I started to investigate what, and I have narrowed the code to a method. This method took as I said 2 seconds with the old nightly, with the new one 16 seconds.
Here my output before and after the method:
12:59:02.309:XRP4:WARN:Log:Zeitmessung: 1
12:59:02.309:XRP4:WARN:Log:Number of records: 334
12:59:18.730:XRP4:WARN:Log:Zeitmessung: 2
This method has the following characteristics:
- It is a client method
- It does not call the server in any way, so it is client-only.
- It receives an array of Records (in this with case 334 records) and for each record it creates a FormItem. The characteristics of the specific FormItem are included in the Record as simple attributes. E.g. if it is a TextItem, ComboBoxItem, etc.
- For each FormItem created, a DynamicForm is created and the FormItem (and only one FormItem) is included. The DynamicForm has an absolute formLayoutType.
I tested deleting some kinds of FormItem creations, and it gets "faster and faster". For example, if I delete the creation of TextItems, instead of 16 secs the method needs 13 secs.
So I think something changed between these two nighlies regarded to the creation of FormItems. Could you please check the changes between these two nightlies for any hints ?
Thanks,
edulid
(using smartgwt 6.1p power)
if I run my app with the nightly 20180604 it runs in 2 secs. If I run the exact same code with the nightly 20180615 it takes 16 seconds. So something happened between those two versions.
I started to investigate what, and I have narrowed the code to a method. This method took as I said 2 seconds with the old nightly, with the new one 16 seconds.
Here my output before and after the method:
12:59:02.309:XRP4:WARN:Log:Zeitmessung: 1
12:59:02.309:XRP4:WARN:Log:Number of records: 334
12:59:18.730:XRP4:WARN:Log:Zeitmessung: 2
This method has the following characteristics:
- It is a client method
- It does not call the server in any way, so it is client-only.
- It receives an array of Records (in this with case 334 records) and for each record it creates a FormItem. The characteristics of the specific FormItem are included in the Record as simple attributes. E.g. if it is a TextItem, ComboBoxItem, etc.
- For each FormItem created, a DynamicForm is created and the FormItem (and only one FormItem) is included. The DynamicForm has an absolute formLayoutType.
I tested deleting some kinds of FormItem creations, and it gets "faster and faster". For example, if I delete the creation of TextItems, instead of 16 secs the method needs 13 secs.
So I think something changed between these two nighlies regarded to the creation of FormItems. Could you please check the changes between these two nightlies for any hints ?
Thanks,
edulid
(using smartgwt 6.1p power)
Comment