Mar 30, 2015, 2:24 PM
[CLOSED] Performance comparison between direct and static/shared direct methods
Hi,
We are not getting better performance with static/shared direct methods when compared with direct methods.
We developed a POC to compare direct methods and static direct methods performance. As a part of testing we did below functionality.
1. There are five comboboxes.
2. We are loading last four comboboxes on item change of first combobox.
We have developed two separate .aspx pages one with direct methods and second page with static direct methods. When we use direct methods, we are assigning datasource to store and binding data. In static/shared direct methods case we are returning json data to client and binding stores by using
Can you explain why this is happening? Are we missing any attributes to avail full benefits of static direct methods?
Since code written is huge for this POC we can't attach all code here.
Thank you.
We are not getting better performance with static/shared direct methods when compared with direct methods.
We developed a POC to compare direct methods and static direct methods performance. As a part of testing we did below functionality.
1. There are five comboboxes.
2. We are loading last four comboboxes on item change of first combobox.
We have developed two separate .aspx pages one with direct methods and second page with static direct methods. When we use direct methods, we are assigning datasource to store and binding data. In static/shared direct methods case we are returning json data to client and binding stores by using
var jdata = JSON.parse(result); store.loadData(jdata);
When we compare functionality both pages are doing exact same but, when we compare time (by using developer tool or firebug or chrome developer plugin) we can see direct methods are performing better. This is not what we expected. Can you explain why this is happening? Are we missing any attributes to avail full benefits of static direct methods?
Since code written is huge for this POC we can't attach all code here.
Thank you.
Last edited by Daniil; Apr 07, 2015 at 12:27 PM.
Reason: Please use [CODE] tags, [CLOSED]