[jQuery] Re: 1.3.1 is over 10x slower than 1.2.6
I know you've already said you can't release the code of your actual project, but would it be possible for you to construct some test cases that demonstrate the speed penalty that you are suffering in 1.3 compared to 1.2? It would be interesting to see what circumstances are triggering this and whether or not 1.3 really is slower under some circumstances. I know the jQuery team prefer optimizing for the most common cases, it is possible that in doing so the library may become less optimized in terms of the less commonly used functionality. On Jan 23, 5:58 am, Loren lorenw...@gmail.com wrote: Thanks to John and the jQuery team, the problem was identified and found. It turns out I had a bad FireFox profile. For some reason, still unknown to everyone, if you see tremendous speed problems (in and out of firebug), try creating a new FireFox profile (firefox.exe -p), and use that one instead. You'll have to add back your bookmarks, options, and add-ons, but it's what fixed my 10x speed problem. v1.3 is still somewhat slower than v1.2, but they're both well within an acceptable margin. The 50 second load time for 1.3 is now down to 800ms, and the 4 second load time for 1.2 is now in the 500 ms range. Again, thanks to the jQuery team for helping with this, and I hope this can help others with a similar problem. -Loren On Jan 22, 2:14 pm, Loren lorenw...@gmail.com wrote: Thank you - it would good to know if I'm the only one experiencing this. My app is nearly all HTML injected, and it would be interesting to know if other highly DHTML apps are experiencing the same issue. -Loren On Jan 22, 12:54 pm, Alexsandro_xpt bagul...@gmail.com wrote: Interesting your test I will test my apps On 22 jan, 08:43, Loren lorenw...@gmail.com wrote: Hello, I have an application that does lots of HTML injection, animation, and manipulation, and I'm a long time user and fan of jQuery. Recently I downloaded 1.3.1, and my app became really sluggish. Normally it loads in under a second, but with 1.3.1 it takes over 3 seconds to load, and the animation is choppy. The problem *really* shows up when I use firebug. Normally my app loads in about 3-4 seconds in firebug, but the 1.3.1 library increases the firebug load time to about 50 seconds (you read that right). Here is a link to two screen shots of the firebug profiler. The first screen shot is using 1.2.6: http://public.hotwall.com/tmp/jQuery1.2.6.jpg The next link is the same profile (loading the app). The only difference is it's using 1.3.1: http://public.hotwall.com/tmp/jQuery1.3.1.jpg The profiler numbers show where the time is being spent. Is anyone else having speed problems with the new 1.3 jQuery? -Loren
[jQuery] Re: 1.3.1 is over 10x slower than 1.2.6
I had the same problem, I still do actually and the only workaround was to turn off firebug. I also noticed that it wasn't so much the injected html that was causing the issue, rather it was binded events and animations (most likely). John, if you want I'll try and test this and determine the causes On Jan 23, 7:58 am, Loren lorenw...@gmail.com wrote: Thanks to John and the jQuery team, the problem was identified and found. It turns out I had a bad FireFox profile. For some reason, still unknown to everyone, if you see tremendous speed problems (in and out of firebug), try creating a new FireFox profile (firefox.exe -p), and use that one instead. You'll have to add back your bookmarks, options, and add-ons, but it's what fixed my 10x speed problem. v1.3 is still somewhat slower than v1.2, but they're both well within an acceptable margin. The 50 second load time for 1.3 is now down to 800ms, and the 4 second load time for 1.2 is now in the 500 ms range. Again, thanks to the jQuery team for helping with this, and I hope this can help others with a similar problem. -Loren On Jan 22, 2:14 pm, Loren lorenw...@gmail.com wrote: Thank you - it would good to know if I'm the only one experiencing this. My app is nearly all HTML injected, and it would be interesting to know if other highly DHTML apps are experiencing the same issue. -Loren On Jan 22, 12:54 pm, Alexsandro_xpt bagul...@gmail.com wrote: Interesting your test I will test my apps On 22 jan, 08:43, Loren lorenw...@gmail.com wrote: Hello, I have an application that does lots of HTML injection, animation, and manipulation, and I'm a long time user and fan of jQuery. Recently I downloaded 1.3.1, and my app became really sluggish. Normally it loads in under a second, but with 1.3.1 it takes over 3 seconds to load, and the animation is choppy. The problem *really* shows up when I use firebug. Normally my app loads in about 3-4 seconds in firebug, but the 1.3.1 library increases the firebug load time to about 50 seconds (you read that right). Here is a link to two screen shots of the firebug profiler. The first screen shot is using 1.2.6: http://public.hotwall.com/tmp/jQuery1.2.6.jpg The next link is the same profile (loading the app). The only difference is it's using 1.3.1: http://public.hotwall.com/tmp/jQuery1.3.1.jpg The profiler numbers show where the time is being spent. Is anyone else having speed problems with the new 1.3 jQuery? -Loren
[jQuery] Re: 1.3.1 is over 10x slower than 1.2.6
jQuery is used in some very high profile places, by countless people/ websites all over the world ... and yet the jQuery team takes the time to provide this kind of support. The really great thing is that this is not abnormal. With regards to jQuery (and the team/community), there is nothing special about what just happened. The decision to adopt a framework/library/etc should never be based solely on a feature set (I've gotten into trouble making this kind of decision before). This thread is a great illustration of the other factors to take into consideration before making a decision. This is one of the reasons why it is so easy to choose jQuery when, in a project, the opportunity presents itself!! On Jan 23, 12:58 am, Loren lorenw...@gmail.com wrote: Thanks to John and the jQuery team, the problem was identified and found. It turns out I had a bad FireFox profile. For some reason, still unknown to everyone, if you see tremendous speed problems (in and out of firebug), try creating a new FireFox profile (firefox.exe -p), and use that one instead. You'll have to add back your bookmarks, options, and add-ons, but it's what fixed my 10x speed problem. v1.3 is still somewhat slower than v1.2, but they're both well within an acceptable margin. The 50 second load time for 1.3 is now down to 800ms, and the 4 second load time for 1.2 is now in the 500 ms range. Again, thanks to the jQuery team for helping with this, and I hope this can help others with a similar problem. -Loren On Jan 22, 2:14 pm, Loren lorenw...@gmail.com wrote: Thank you - it would good to know if I'm the only one experiencing this. My app is nearly all HTML injected, and it would be interesting to know if other highly DHTML apps are experiencing the same issue. -Loren On Jan 22, 12:54 pm, Alexsandro_xpt bagul...@gmail.com wrote: Interesting your test I will test my apps On 22 jan, 08:43, Loren lorenw...@gmail.com wrote: Hello, I have an application that does lots of HTML injection, animation, and manipulation, and I'm a long time user and fan of jQuery. Recently I downloaded 1.3.1, and my app became really sluggish. Normally it loads in under a second, but with 1.3.1 it takes over 3 seconds to load, and the animation is choppy. The problem *really* shows up when I use firebug. Normally my app loads in about 3-4 seconds in firebug, but the 1.3.1 library increases the firebug load time to about 50 seconds (you read that right). Here is a link to two screen shots of the firebug profiler. The first screen shot is using 1.2.6: http://public.hotwall.com/tmp/jQuery1.2.6.jpg The next link is the same profile (loading the app). The only difference is it's using 1.3.1: http://public.hotwall.com/tmp/jQuery1.3.1.jpg The profiler numbers show where the time is being spent. Is anyone else having speed problems with the new 1.3 jQuery? -Loren
[jQuery] Re: 1.3.1 is over 10x slower than 1.2.6
Yes, I expect the new event triggering logic to be the cause of the slowdown. In two other areas I had manually called trigger() during a mouseover event. Whenever my mouse passed over that element, my machine froze - cpu pegged at 100% for several seconds. This was also while I was running that old FF profile. After reading the upgrade docs, I added a stopPropagation() in my event handler, and that solved the problem. My guess is that this is a similar issue with my initialization. Over the weekend I will assemble a test case simulating the things our app does on startup. I'll try to determine the root cause and post to the list, along with the test case. -Loren
[jQuery] Re: 1.3.1 is over 10x slower than 1.2.6
I'm not seeing this, no. Do you have a link to the app? What version of Firebug are you using? --John On 1/22/09, Loren lorenw...@gmail.com wrote: Hello, I have an application that does lots of HTML injection, animation, and manipulation, and I'm a long time user and fan of jQuery. Recently I downloaded 1.3.1, and my app became really sluggish. Normally it loads in under a second, but with 1.3.1 it takes over 3 seconds to load, and the animation is choppy. The problem *really* shows up when I use firebug. Normally my app loads in about 3-4 seconds in firebug, but the 1.3.1 library increases the firebug load time to about 50 seconds (you read that right). Here is a link to two screen shots of the firebug profiler. The first screen shot is using 1.2.6: http://public.hotwall.com/tmp/jQuery1.2.6.jpg The next link is the same profile (loading the app). The only difference is it's using 1.3.1: http://public.hotwall.com/tmp/jQuery1.3.1.jpg The profiler numbers show where the time is being spent. Is anyone else having speed problems with the new 1.3 jQuery? -Loren -- --John
[jQuery] Re: 1.3.1 is over 10x slower than 1.2.6
Hi John, Thank you for the reply. Firebug is set up for auto updates - am running version 1.3.0 of firebug. We're a startup building a consumer app, and our product isn't publicly available. Our investor wouldn't want us to put our app on a public server at this time. I know you've put a lot of effort into 1.3, and don't like to see reports like this, so I will set up a temporary portal for you, and send a link to your personal email so you can see what's happening. I'm committed to keeping jQuery the best it can be. Our product is built on top of it, and if it fails, we fail. Thank you, -Loren On Thu, Jan 22, 2009 at 5:41 AM, John Resig jere...@gmail.com wrote: I'm not seeing this, no. Do you have a link to the app? What version of Firebug are you using? --John On 1/22/09, Loren lorenw...@gmail.com wrote: Hello, I have an application that does lots of HTML injection, animation, and manipulation, and I'm a long time user and fan of jQuery. Recently I downloaded 1.3.1, and my app became really sluggish. Normally it loads in under a second, but with 1.3.1 it takes over 3 seconds to load, and the animation is choppy. The problem *really* shows up when I use firebug. Normally my app loads in about 3-4 seconds in firebug, but the 1.3.1 library increases the firebug load time to about 50 seconds (you read that right). Here is a link to two screen shots of the firebug profiler. The first screen shot is using 1.2.6: http://public.hotwall.com/tmp/jQuery1.2.6.jpg The next link is the same profile (loading the app). The only difference is it's using 1.3.1: http://public.hotwall.com/tmp/jQuery1.3.1.jpg The profiler numbers show where the time is being spent. Is anyone else having speed problems with the new 1.3 jQuery? -Loren -- --John
[jQuery] Re: 1.3.1 is over 10x slower than 1.2.6
Thanks for helping Loren. We're equally committed to you, a member of the jQuery community. Please send John the link to the temp site ASAP and we'll figure out what's going on. Rey Loren West wrote: Hi John, Thank you for the reply. Firebug is set up for auto updates - am running version 1.3.0 of firebug. We're a startup building a consumer app, and our product isn't publicly available. Our investor wouldn't want us to put our app on a public server at this time. I know you've put a lot of effort into 1.3, and don't like to see reports like this, so I will set up a temporary portal for you, and send a link to your personal email so you can see what's happening. I'm committed to keeping jQuery the best it can be. Our product is built on top of it, and if it fails, we fail. Thank you, -Loren On Thu, Jan 22, 2009 at 5:41 AM, John Resig jere...@gmail.com mailto:jere...@gmail.com wrote: I'm not seeing this, no. Do you have a link to the app? What version of Firebug are you using? --John On 1/22/09, Loren lorenw...@gmail.com mailto:lorenw...@gmail.com wrote: Hello, I have an application that does lots of HTML injection, animation, and manipulation, and I'm a long time user and fan of jQuery. Recently I downloaded 1.3.1, and my app became really sluggish. Normally it loads in under a second, but with 1.3.1 it takes over 3 seconds to load, and the animation is choppy. The problem *really* shows up when I use firebug. Normally my app loads in about 3-4 seconds in firebug, but the 1.3.1 library increases the firebug load time to about 50 seconds (you read that right). Here is a link to two screen shots of the firebug profiler. The first screen shot is using 1.2.6: http://public.hotwall.com/tmp/jQuery1.2.6.jpg The next link is the same profile (loading the app). The only difference is it's using 1.3.1: http://public.hotwall.com/tmp/jQuery1.3.1.jpg The profiler numbers show where the time is being spent. Is anyone else having speed problems with the new 1.3 jQuery? -Loren -- --John
[jQuery] Re: 1.3.1 is over 10x slower than 1.2.6
Interesting your test I will test my apps On 22 jan, 08:43, Loren lorenw...@gmail.com wrote: Hello, I have an application that does lots of HTML injection, animation, and manipulation, and I'm a long time user and fan of jQuery. Recently I downloaded 1.3.1, and my app became really sluggish. Normally it loads in under a second, but with 1.3.1 it takes over 3 seconds to load, and the animation is choppy. The problem *really* shows up when I use firebug. Normally my app loads in about 3-4 seconds in firebug, but the 1.3.1 library increases the firebug load time to about 50 seconds (you read that right). Here is a link to two screen shots of the firebug profiler. The first screen shot is using 1.2.6: http://public.hotwall.com/tmp/jQuery1.2.6.jpg The next link is the same profile (loading the app). The only difference is it's using 1.3.1: http://public.hotwall.com/tmp/jQuery1.3.1.jpg The profiler numbers show where the time is being spent. Is anyone else having speed problems with the new 1.3 jQuery? -Loren
[jQuery] Re: 1.3.1 is over 10x slower than 1.2.6
Thank you - it would good to know if I'm the only one experiencing this. My app is nearly all HTML injected, and it would be interesting to know if other highly DHTML apps are experiencing the same issue. -Loren On Jan 22, 12:54 pm, Alexsandro_xpt bagul...@gmail.com wrote: Interesting your test I will test my apps On 22 jan, 08:43, Loren lorenw...@gmail.com wrote: Hello, I have an application that does lots of HTML injection, animation, and manipulation, and I'm a long time user and fan of jQuery. Recently I downloaded 1.3.1, and my app became really sluggish. Normally it loads in under a second, but with 1.3.1 it takes over 3 seconds to load, and the animation is choppy. The problem *really* shows up when I use firebug. Normally my app loads in about 3-4 seconds in firebug, but the 1.3.1 library increases the firebug load time to about 50 seconds (you read that right). Here is a link to two screen shots of the firebug profiler. The first screen shot is using 1.2.6: http://public.hotwall.com/tmp/jQuery1.2.6.jpg The next link is the same profile (loading the app). The only difference is it's using 1.3.1: http://public.hotwall.com/tmp/jQuery1.3.1.jpg The profiler numbers show where the time is being spent. Is anyone else having speed problems with the new 1.3 jQuery? -Loren
[jQuery] Re: 1.3.1 is over 10x slower than 1.2.6
Thanks to John and the jQuery team, the problem was identified and found. It turns out I had a bad FireFox profile. For some reason, still unknown to everyone, if you see tremendous speed problems (in and out of firebug), try creating a new FireFox profile (firefox.exe -p), and use that one instead. You'll have to add back your bookmarks, options, and add-ons, but it's what fixed my 10x speed problem. v1.3 is still somewhat slower than v1.2, but they're both well within an acceptable margin. The 50 second load time for 1.3 is now down to 800ms, and the 4 second load time for 1.2 is now in the 500 ms range. Again, thanks to the jQuery team for helping with this, and I hope this can help others with a similar problem. -Loren On Jan 22, 2:14 pm, Loren lorenw...@gmail.com wrote: Thank you - it would good to know if I'm the only one experiencing this. My app is nearly all HTML injected, and it would be interesting to know if other highly DHTML apps are experiencing the same issue. -Loren On Jan 22, 12:54 pm, Alexsandro_xpt bagul...@gmail.com wrote: Interesting your test I will test my apps On 22 jan, 08:43, Loren lorenw...@gmail.com wrote: Hello, I have an application that does lots of HTML injection, animation, and manipulation, and I'm a long time user and fan of jQuery. Recently I downloaded 1.3.1, and my app became really sluggish. Normally it loads in under a second, but with 1.3.1 it takes over 3 seconds to load, and the animation is choppy. The problem *really* shows up when I use firebug. Normally my app loads in about 3-4 seconds in firebug, but the 1.3.1 library increases the firebug load time to about 50 seconds (you read that right). Here is a link to two screen shots of the firebug profiler. The first screen shot is using 1.2.6: http://public.hotwall.com/tmp/jQuery1.2.6.jpg The next link is the same profile (loading the app). The only difference is it's using 1.3.1: http://public.hotwall.com/tmp/jQuery1.3.1.jpg The profiler numbers show where the time is being spent. Is anyone else having speed problems with the new 1.3 jQuery? -Loren