PDA

View Full Version : Mongrel+ExtJS very slow!



ktfanpub
25 Apr 2009, 4:39 AM
hello!
I launched first ext.ajax.request and 497ms later got response data.
Second request and 902ms later got response data.
...
10th request and almost 4s later got response data.

Almost 10 times slower than in asp.net.

Can anyone help me?
Thanks.

tryanDLS
25 Apr 2009, 7:22 AM
None of us has a crystal ball, so you're going to have to provide more info before you starting blaming Ext code. There's no special processing going on in an Ext.Ajax request so you're going to have to start tracing where all the time is being spent. Use Fiddler and/or Firebug.

ktfanpub
25 Apr 2009, 10:51 AM
Thanks for your reply.

I am new on extJS.
I got fast response from mongrel_rails's integrated ajax without extjs.
I just saw the time eclpased in firebug.
Have you ever tested extJs with mongrel_rails?
Can you give me more suggestions?