Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 16980 by leolite1: Slow loading of scripts .. maybe proxy related
http://code.google.com/p/chromium/issues/detail?id=16980

Chrome Version       : 3.0.190.1 (Official Build 19007)
URLs (if applicable) : localhost
Other browsers tested:
   Add OK or FAIL after other browsers where you have tested this issue:
      Safari 4:
   Firefox 3.x:
          IE 7:
          IE 8:

There is a considerable slowness in the loading of script files, the twist
here is that if Fiddler is active then the delay is reduced by a big
margin. Since Fiddler acts as the proxy so I played with all the possible
IE proxy settings but nothing helped.

My test page is as following (with references to 16 copies of jQuery ..all
are same except for their names).

<html><head>
     <script type="text/javascript">
         var startTS = (new Date()).getTime();
     </script>
     <script src="jquery.js" type="text/javascript"></script>
     <script src="jquery (2).js" type="text/javascript"></script>
     <script src="jquery (3).js" type="text/javascript"></script>
  ...
     <script src="jquery (16).js" type="text/javascript"></script>
     <script type="text/javascript">
         alert((new Date()).getTime() - startTS);
     </script>
</head><body></body></html>


IE8 reports a time of ~300ms in the alert, the timings for Chrome were much
larger. I captured the resource load in the developer tools and it was
around 2 sec with Fiddler enabled and around 6 sec otherwise. Granted, the
developer tool adds some delay of its own but still there is a considerable
time taken to process the scripts. In addition, the graph is staggered by 4
loads .. is that some kind of parsing/locking limitation.



Attachments:
        LoadWithFiddler.jpg  65.2 KB
        LoadWithoutFiddler.jpg  65.6 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to