gadgets.io.makeRequest throughput is unacceptably poor in Internet Explorer
Closed this issue · 1 comments
Original author: cu...@slide.com (February 27, 2008 13:56:58)
Description of the bug/feature
==================================
The throughput of gadgets.io.makeRequest in Internet Explorer appears to
decrease as the quantity of data fetched increases. This leads to
unacceptable load times and application performance when fetching
relatively small quantities of data. In tests I found that fetching a 64kb
file typically took over 10 seconds (throughput of 4 to 6 kb/s), and
fetching a 128kb file took over 70 seconds (throughput of less than 2kb/s).
In contrast, throughput of gadgets.io.makeRequest in Firefox seems
reasonable. Fetching either the 64kb or 128kb file took place in under 1
second.
I've written a gadget that times how long it takes to fetch files of
varying sizes, and calculates the throughput to demonstrate this issue. A
word of warning: running the tester gadget may cause IE to hang or crash.
PLEASE FILL OUT THE FOLLOWING FOR A BUG REPORT ONLY (delete everything
below this line for a feature request):
What steps will reproduce the problem?
======================================
- Install the throughput-tester gadget:
http://ghosthacked.net/slide/throughput-tester/throughput-tester.xml - Click the 'gadgets.io.ma..' link in the Apps section of the navigation
links on the lefthand side of the page. - Wait. The test run may take over five minutes in Internet Explorer. IE
may display the hourglass icon during this time.
What is the expected output?
============================
gadgets.io.makeRequest should not perform an order of magnitude slower on
Internet Explorer than it does on Firefox; fetching 128kb of data should
not take more than a few seconds on a modern internet connection.
What is the actual output?
==========================
Here's a sample run of the throughput tester on IE:
Fetching http://ghosthacked.net/slide/throughput-tester/test-files/8k.txt
8 kb fetched in 0.231s 35.463 kb/s
Fetching http://ghosthacked.net/slide/throughput-tester/test-files/16k.txt
16 kb fetched in 0.841s 19.482 kb/s
Fetching http://ghosthacked.net/slide/throughput-tester/test-files/32k.txt
32 kb fetched in 3.445s 9.512 kb/s
Fetching http://ghosthacked.net/slide/throughput-tester/test-files/64k.txt
64 kb fetched in 16.958s 3.865 kb/s
Fetching http://ghosthacked.net/slide/throughput-tester/test-files/72k.txt
72 kb fetched in 21.982s 3.354 kb/s
Fetching http://ghosthacked.net/slide/throughput-tester/test-files/80k.txt
80 kb fetched in 29.813s 2.748 kb/s
Fetching http://ghosthacked.net/slide/throughput-tester/test-files/88k.txt
88 kb fetched in 40.852s 2.206 kb/s
Fetching http://ghosthacked.net/slide/throughput-tester/test-files/96k.txt
96 kb fetched in 56.936s 1.727 kb/s
Fetching http://ghosthacked.net/slide/throughput-tester/test-files/104k.txt
104 kb fetched in 63.354s 1.681 kb/s
Fetching http://ghosthacked.net/slide/throughput-tester/test-files/112k.txt
112 kb fetched in 73.400s 1.563 kb/s
Fetching http://ghosthacked.net/slide/throughput-tester/test-files/120k.txt
120 kb fetched in 92.710s 1.325 kb/s
Fetching http://ghosthacked.net/slide/throughput-tester/test-files/128k.txt
128 kb fetched in 108.965s 1.203 kb/s
Total time: 509.527s
For comparison, here's the output of a sample run on Firefox:
Fetching http://ghosthacked.net/slide/throughput-tester/test-files/8k.txt
8 kb fetched in 0.189s 43.344 kb/s
Fetching http://ghosthacked.net/slide/throughput-tester/test-files/16k.txt
16 kb fetched in 0.201s 81.512 kb/s
Fetching http://ghosthacked.net/slide/throughput-tester/test-files/32k.txt
32 kb fetched in 0.207s 158.300 kb/s
Fetching http://ghosthacked.net/slide/throughput-tester/test-files/64k.txt
64 kb fetched in 0.258s 254.016 kb/s
Fetching http://ghosthacked.net/slide/throughput-tester/test-files/72k.txt
72 kb fetched in 1.207s 61.084 kb/s
Fetching http://ghosthacked.net/slide/throughput-tester/test-files/80k.txt
80 kb fetched in 1.439s 56.928 kb/s
Fetching http://ghosthacked.net/slide/throughput-tester/test-files/88k.txt
88 kb fetched in 1.345s 66.998 kb/s
Fetching http://ghosthacked.net/slide/throughput-tester/test-files/96k.txt
96 kb fetched in 1.467s 67.010 kb/s
Fetching http://ghosthacked.net/slide/throughput-tester/test-files/104k.txt
104 kb fetched in 1.557s 68.398 kb/s
Fetching http://ghosthacked.net/slide/throughput-tester/test-files/112k.txt
112 kb fetched in 1.771s 64.759 kb/s
Fetching http://ghosthacked.net/slide/throughput-tester/test-files/120k.txt
120 kb fetched in 1.810s 67.890 kb/s
Fetching http://ghosthacked.net/slide/throughput-tester/test-files/128k.txt
128 kb fetched in 2.569s 51.021 kb/s
Total time: 14.135s
Which container are you using?
==============================
Orkut
Which browsers have you experienced this on?
============================================
Microsoft Internet Explorer version 6.0.2900.2180.xpsp_sp2_gdr.070227-2254
Which operating systems have you experienced this on?
=====================================================
Windows XP
Please provide any additional information below.
Original issue: http://code.google.com/p/opensocial-resources/issues/detail?id=91
From btwel...@gmail.com on February 28, 2008 04:23:39
Wow, this is a HUGE issue for me. Please fix it quickly!