[jQuery] Re: Performance from 1.1.2 to 1.1.4

2007-08-29 Thread oscar esp

I will try Jeffry. I will keep you informed.

On 28 ago, 19:07, Jeffrey Kretz [EMAIL PROTECTED] wrote:
 Wow.  Well that's not too good.

 Is there any way you could upload a sample of this to a public location?
 This would really be needed for to track down what the issue is.

 JK



 -Original Message-
 From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On

 Behalf Ofoscaresp
 Sent: Tuesday, August 28, 2007 12:14 AM
 To: jQuery (English)
 Subject: [jQuery] Re: Performance from 1.1.2 to 1.1.4

 Hi Jeffry ,

 I am agree about VS.

 When I execute without VS I get better performance obiuslly however
 1.1.2/1.1.3  is faster thatn 1.1.4:

 -1.1.4 : 2 seconds (from select an item in client after the second
 combo is load in client)
 -1.1.2  1.1.3:  less thant 1 second (from select an item in client
 after the second combo is load in client) .

 On 27 ago, 19:46, Jeffrey Kretz [EMAIL PROTECTED] wrote:
  As a note, any tests I have done in Visual Studio in ANY javascript (not
  just jQuery) are significantly slower in debug mode with VS attached than
 if
  just running it normally.

  This is due to the work the debugger is doing while the code executes.

  I would suggest testing your app on your intranet, but not in debug mode,
  with the script itself calculating the time it takes to execute.

  This would be a more accurate way to see if 1.1.4 is actually slower than
  1.1.2 in your project.

  JK

  -Original Message-
  From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On

  Behalf Ofoscaresp
  Sent: Monday, August 27, 2007 9:35 AM
  To: jQuery (English)
  Subject: [jQuery] Re: Performance from 1.1.2 to 1.1.4

  I am in debug mode  (visual studio) in execution the diferences are:

  -1.1.4 : 2 seconds (from select an item in client after the second
  combo is load in client)
  -1.1.2  1.1.3:  less thant 1 second (from select an item in client
  after the second combo is load in client)

  Seems that 1.1.2  1.1.3 is faster than 1.1.4

  On 27 ago, 18:09, John Resig [EMAIL PROTECTED] wrote:
   Slow server?

   There's on reason for a 7 second delay of any sort in jQuery.

   Do you have a demo of  this online?

   --John

   On 8/27/07,oscaresp[EMAIL PROTECTED] wrote:

I am doing some test in order to migrate from 1.1.2 to 1.1.4... and I
got some strange result.

I have two combo, when you chose an item in the first I load the
related items in the second one using an ajax call.

With 1.1.2 I spend  1 second to load the second combo...

With 1.1.4 I spend 8 seconds

Any explanation?- Ocultar texto de la cita -

   - Mostrar texto de la cita -- Ocultar texto de la cita -

  - Mostrar texto de la cita -- Ocultar texto de la cita -

 - Mostrar texto de la cita -



[jQuery] Re: Performance from 1.1.2 to 1.1.4

2007-08-28 Thread oscar esp

Hi Jeffry ,

I am agree about VS.

When I execute without VS I get better performance obiuslly however
1.1.2/1.1.3  is faster thatn 1.1.4:

-1.1.4 : 2 seconds (from select an item in client after the second
combo is load in client)
-1.1.2  1.1.3:  less thant 1 second (from select an item in client
after the second combo is load in client) .








On 27 ago, 19:46, Jeffrey Kretz [EMAIL PROTECTED] wrote:
 As a note, any tests I have done in Visual Studio in ANY javascript (not
 just jQuery) are significantly slower in debug mode with VS attached than if
 just running it normally.

 This is due to the work the debugger is doing while the code executes.

 I would suggest testing your app on your intranet, but not in debug mode,
 with the script itself calculating the time it takes to execute.

 This would be a more accurate way to see if 1.1.4 is actually slower than
 1.1.2 in your project.

 JK



 -Original Message-
 From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On

 Behalf Of oscar esp
 Sent: Monday, August 27, 2007 9:35 AM
 To: jQuery (English)
 Subject: [jQuery] Re: Performance from 1.1.2 to 1.1.4

 I am in debug mode  (visual studio) in execution the diferences are:

 -1.1.4 : 2 seconds (from select an item in client after the second
 combo is load in client)
 -1.1.2  1.1.3:  less thant 1 second (from select an item in client
 after the second combo is load in client)

 Seems that 1.1.2  1.1.3 is faster than 1.1.4

 On 27 ago, 18:09, John Resig [EMAIL PROTECTED] wrote:
  Slow server?

  There's on reason for a 7 second delay of any sort in jQuery.

  Do you have a demo of  this online?

  --John

  On 8/27/07, oscar esp [EMAIL PROTECTED] wrote:

   I am doing some test in order to migrate from 1.1.2 to 1.1.4... and I
   got some strange result.

   I have two combo, when you chose an item in the first I load the
   related items in the second one using an ajax call.

   With 1.1.2 I spend  1 second to load the second combo...

   With 1.1.4 I spend 8 seconds

   Any explanation?- Ocultar texto de la cita -

  - Mostrar texto de la cita -- Ocultar texto de la cita -

 - Mostrar texto de la cita -



[jQuery] Re: Performance from 1.1.2 to 1.1.4

2007-08-28 Thread Renato Formato


oscar esp ha scritto:

Hi Jeffry ,

I am agree about VS.

When I execute without VS I get better performance obiuslly however
1.1.2/1.1.3  is faster thatn 1.1.4:

-1.1.4 : 2 seconds (from select an item in client after the second
combo is load in client)
-1.1.2  1.1.3:  less thant 1 second (from select an item in client
after the second combo is load in client) .



Are you calling the clone function inside your code?

in 1.1.4 clone is much slower.

Renato


[jQuery] Re: Performance from 1.1.2 to 1.1.4

2007-08-28 Thread oscar esp

No. I just call an ajax method with asycn=false
--
divTarget = component1
jQuery.ajax({
type: post,
url: url,
data: pars,
async: false,
dataType: html,
success: function(data){

jQuery(#divPoblacion_+divTarget).get()[0].innerHTML=data;
}
});
-

On 28 ago, 11:16, Renato Formato [EMAIL PROTECTED] wrote:
 oscar esp ha scritto:

  Hi Jeffry ,

  I am agree about VS.

  When I execute without VS I get better performance obiuslly however
  1.1.2/1.1.3  is faster thatn 1.1.4:

  -1.1.4 : 2 seconds (from select an item in client after the second
  combo is load in client)
  -1.1.2  1.1.3:  less thant 1 second (from select an item in client
  after the second combo is load in client) .

 Are you calling the clone function inside your code?

 in 1.1.4 clone is much slower.

 Renato



[jQuery] Re: Performance from 1.1.2 to 1.1.4

2007-08-27 Thread John Resig

Slow server?

There's on reason for a 7 second delay of any sort in jQuery.

Do you have a demo of  this online?

--John

On 8/27/07, oscar esp [EMAIL PROTECTED] wrote:


 I am doing some test in order to migrate from 1.1.2 to 1.1.4... and I
 got some strange result.

 I have two combo, when you chose an item in the first I load the
 related items in the second one using an ajax call.

 With 1.1.2 I spend  1 second to load the second combo...

 With 1.1.4 I spend 8 seconds

 Any explanation?




[jQuery] Re: Performance from 1.1.2 to 1.1.4

2007-08-27 Thread oscar esp

I am in debug mode  (visual studio) in execution the diferences are:

-1.1.4 : 2 seconds (from select an item in client after the second
combo is load in client)
-1.1.2  1.1.3:  less thant 1 second (from select an item in client
after the second combo is load in client)

Seems that 1.1.2  1.1.3 is faster than 1.1.4


On 27 ago, 18:09, John Resig [EMAIL PROTECTED] wrote:
 Slow server?

 There's on reason for a 7 second delay of any sort in jQuery.

 Do you have a demo of  this online?

 --John

 On 8/27/07, oscar esp [EMAIL PROTECTED] wrote:





  I am doing some test in order to migrate from 1.1.2 to 1.1.4... and I
  got some strange result.

  I have two combo, when you chose an item in the first I load the
  related items in the second one using an ajax call.

  With 1.1.2 I spend  1 second to load the second combo...

  With 1.1.4 I spend 8 seconds

  Any explanation?- Ocultar texto de la cita -

 - Mostrar texto de la cita -



[jQuery] Re: Performance from 1.1.2 to 1.1.4

2007-08-27 Thread John Resig

Do you have a demo of  this online?

I haven't been able to reproduce this at all.

--John

On 8/27/07, oscar esp [EMAIL PROTECTED] wrote:

 I am in debug mode  (visual studio) in execution the diferences are:

 -1.1.4 : 2 seconds (from select an item in client after the second
 combo is load in client)
 -1.1.2  1.1.3:  less thant 1 second (from select an item in client
 after the second combo is load in client)

 Seems that 1.1.2  1.1.3 is faster than 1.1.4


 On 27 ago, 18:09, John Resig [EMAIL PROTECTED] wrote:
  Slow server?
 
  There's on reason for a 7 second delay of any sort in jQuery.
 
  Do you have a demo of  this online?
 
  --John
 
  On 8/27/07, oscar esp [EMAIL PROTECTED] wrote:
 
 
 
 
 
   I am doing some test in order to migrate from 1.1.2 to 1.1.4... and I
   got some strange result.
 
   I have two combo, when you chose an item in the first I load the
   related items in the second one using an ajax call.
 
   With 1.1.2 I spend  1 second to load the second combo...
 
   With 1.1.4 I spend 8 seconds
 
   Any explanation?- Ocultar texto de la cita -
 
  - Mostrar texto de la cita -




[jQuery] Re: Performance from 1.1.2 to 1.1.4

2007-08-27 Thread oscar esp

I am executing into intranet...

Could Ido any test that could help you?

On 27 ago, 19:05, John Resig [EMAIL PROTECTED] wrote:
 Do you have a demo of  this online?

 I haven't been able to reproduce this at all.

 --John

 On 8/27/07, oscar esp [EMAIL PROTECTED] wrote:





  I am in debug mode  (visual studio) in execution the diferences are:

  -1.1.4 : 2 seconds (from select an item in client after the second
  combo is load in client)
  -1.1.2  1.1.3:  less thant 1 second (from select an item in client
  after the second combo is load in client)

  Seems that 1.1.2  1.1.3 is faster than 1.1.4

  On 27 ago, 18:09, John Resig [EMAIL PROTECTED] wrote:
   Slow server?

   There's on reason for a 7 second delay of any sort in jQuery.

   Do you have a demo of  this online?

   --John

   On 8/27/07, oscar esp [EMAIL PROTECTED] wrote:

I am doing some test in order to migrate from 1.1.2 to 1.1.4... and I
got some strange result.

I have two combo, when you chose an item in the first I load the
related items in the second one using an ajax call.

With 1.1.2 I spend  1 second to load the second combo...

With 1.1.4 I spend 8 seconds

Any explanation?- Ocultar texto de la cita -

   - Mostrar texto de la cita -- Ocultar texto de la cita -

 - Mostrar texto de la cita -



[jQuery] Re: Performance from 1.1.2 to 1.1.4

2007-08-27 Thread Jeffrey Kretz

As a note, any tests I have done in Visual Studio in ANY javascript (not
just jQuery) are significantly slower in debug mode with VS attached than if
just running it normally.

This is due to the work the debugger is doing while the code executes.

I would suggest testing your app on your intranet, but not in debug mode,
with the script itself calculating the time it takes to execute.

This would be a more accurate way to see if 1.1.4 is actually slower than
1.1.2 in your project.

JK

-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of oscar esp
Sent: Monday, August 27, 2007 9:35 AM
To: jQuery (English)
Subject: [jQuery] Re: Performance from 1.1.2 to 1.1.4


I am in debug mode  (visual studio) in execution the diferences are:

-1.1.4 : 2 seconds (from select an item in client after the second
combo is load in client)
-1.1.2  1.1.3:  less thant 1 second (from select an item in client
after the second combo is load in client)

Seems that 1.1.2  1.1.3 is faster than 1.1.4


On 27 ago, 18:09, John Resig [EMAIL PROTECTED] wrote:
 Slow server?

 There's on reason for a 7 second delay of any sort in jQuery.

 Do you have a demo of  this online?

 --John

 On 8/27/07, oscar esp [EMAIL PROTECTED] wrote:





  I am doing some test in order to migrate from 1.1.2 to 1.1.4... and I
  got some strange result.

  I have two combo, when you chose an item in the first I load the
  related items in the second one using an ajax call.

  With 1.1.2 I spend  1 second to load the second combo...

  With 1.1.4 I spend 8 seconds

  Any explanation?- Ocultar texto de la cita -

 - Mostrar texto de la cita -