View Full Version : Anyone else experiencing pausing when using extjs?
jay@moduscreate.com
6 Apr 2007, 10:04 AM
simple:
<script language="JavaScript" src="/js/extjs/yui-utilities.js"></script>
<script language="JavaScript" src="/js/extjs/ext-yui-adapter.js"></script>
<script language="JavaScript" src="/js/extjs/ext-all.js"></script>
pauses my browser for a second or two.
same happens in IE6 and FF 2.0.3 w/ FB disabled. :s
This happens on my Lenovo T60 (core duo 1.83gz, 2GB RAM).
also happens when visiting extjs sites.
jack.slocum
6 Apr 2007, 10:10 AM
With firebug enabled I generally have the pause on page load. Otherwise no problems.
I think it's odd you are getting it on extjs.com since it doesn't include ext (yet).
AlexJG
6 Apr 2007, 10:14 AM
The only time I get any delay is when Firebug is enabled
Regards
Alex
jay@moduscreate.com
6 Apr 2007, 10:19 AM
With firebug enabled I generally have the pause on page load. Otherwise no problems.
I think it's odd you are getting it on extjs.com since it doesn't include ext (yet).
i agree dude. :-\
let me rephrase: i *was* getting it back around the alpha3 days. It's been commented out since then. ;)
<!--<script type="text/javascript" src="http://yui-ext.com/deploy/ext-1.0-alpha3/yui-utilities.js"></script>
<script type="text/javascript" src="http://yui-ext.com/deploy/ext-1.0-alpha3/ext-yui-adapter.js"></script>
<script type="text/javascript" src="http://yui-ext.com/deploy/ext-1.0-alpha3/ext-all.js"></script>-->
Very strange.
Thanks anywho. just wanted to see if anyone else is getting the same pause.
jay@moduscreate.com
6 Apr 2007, 10:26 AM
OK, i'm going to put down the crack pipe. =P~
cdomigan
6 Apr 2007, 10:25 PM
Yes I get a pause like this even with firebug disabled.
Chris
Could you run a performance monitoring program on your system and see if your CPU utilization goes way up? I seem to see pauses that directly coinside with CPU utilization. On a faster machine with the same network, the delay is slower. Telling me the delay is not network related.
A good example, load up two content panels with grids (with 200 in each), then change between the tabs and check CPU utilization .
The amount of processing going on "in there" can be intense.
Just curious if you see the same thing. Note: I see this in IE and FF (with firebug) - but more in IE
Btw, I used "crack pipe" to find this thread I remembered reading. Thanks for the great "bread crumb"
Regards
jay@moduscreate.com
9 Apr 2007, 6:33 AM
I didn't use perfmon, but task manager showed 50% CPU across both cores for that ~second timeframe.
The cpu utilization spikes shortly after a page is rendered. it *only happens with EXTJS + Firebug. Not with regular YUI or any other JS Framework, hence posting here. It started to happen after yui-ext .33 :(
Large grid/table sorting operations are a bear in javascript. I noticed the yui-ext grid was very CPU intensive when i went > 500 rows x 8 columns. YUI's grid component does better, but doesn't look nearly as clean. I still have CPU issues. I wrote a "closed even lookup" for my company and used Yahoo's grid component to allow our Tier one folks the ability to sort, filter, etc on a live lookup.
I've just accepted the fact that JavaScript is crippled because of the browsers that interprets it.
JeffHowden
9 Apr 2007, 9:54 AM
[...]it *only happens with EXTJS + Firebug[...]
Firebug is a known resource hog. You'll only ever get a realistic idea of the impact Ext has when firebug is completely disabled (not just minimized).
jay@moduscreate.com
9 Apr 2007, 10:22 AM
Agreed. I just think it's strange that it only happens to me with extjs. that's all.
JeffHowden
9 Apr 2007, 11:19 AM
Agreed, but that's a usecase that's hardly worth troubleshooting. I suspect it has alot to do with parsing a large script file, but there's no good way to know what it is specifically as it's internal to Firebug.
jay@moduscreate.com
9 Apr 2007, 11:21 AM
Yeah, i'm not suggesting that you guys even invest an ounce of cycles. Folks who use that firebug tool are developers, which is like .0001% of the internet userbase ;)
none the less, i wanted to see if anyone else experienced this since my first post about this. Also, wanted to see if there were knowns about this.
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.