|
From: Dr J R Stockton on 4 May 2008 10:57 In comp.lang.javascript message <481CD41D.5050207(a)PointedEars.de>, Sat, 3 May 2008 23:07:41, Thomas 'PointedEars' Lahn <PointedEars(a)web.de> posted: > >This *was* a friendly reminder If you expect your approach to communication to be seen as friendly be normal readers, then you are both naive and a slow learner. -- (c) John Stockton, nr London, UK. ?@merlyn.demon.co.uk Turnpike v6.05 MIME. Web <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links. Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036) Do not Mail News to me. Before a reply, quote with ">" or "> " (SonOfRFC1036)
From: Thomas 'PointedEars' Lahn on 6 May 2008 14:37 Jorge wrote: > On May 2, 7:37 pm, enrique <enrique.pin...(a)gmail.com> wrote: >> Does anyone know what the upper limit is to the number of rows you can >> dynamically add to an HTML table, using Javascript? I tried to make a >> table consisting of over 74,000 rows and Firefox stops rendering the >> page. I didn't notice any exceptions being thrown or any other >> external indicator that something is wrong, other than the page not >> being rendered all the way. >> >> If you happen to know if there is a number to this I should be aware >> of, please respond :) >> [...] > > Safari on a Mac : more than 200k rows : it rocks. > FF2 on a Mac : sluggish @ ~70k rows. > Opera on a Mac : sluggish ~from the start. > Safari windows : ok up to 100k rows then stops responding. > IE8b Windozes : sluggish @ ~6k rows : it sucks. > FF2 Windows : sluggish @ ~70k rows. Unsurprisingly, your results could not be less representative, for what you observed heavily depends on the hardware and software used, platform and operating system very much aside. Hence my first reply. PointedEars -- var bugRiddenCrashPronePieceOfJunk = ( navigator.userAgent.indexOf('MSIE 5') != -1 && navigator.userAgent.indexOf('Mac') != -1 ) // Plone, register_function.js:16
From: Laurent vilday on 5 May 2008 06:58 Thomas 'PointedEars' Lahn a écrit : > enrique wrote: >> [...] Thomas 'PointedEars' Lahn [...] wrote: >>> If you don't recognize by yourself that a table with more than, say, >>> 2000 rows is unusable, you are really beyond help. >> Guys, PLEASE let's keep the discussion friendly. > > This *was* a friendly reminder Of course it was *NOT* -- laurent
From: Jorge on 5 May 2008 08:41 On May 2, 7:37 pm, enrique <enrique.pin...(a)gmail.com> wrote: > Does anyone know what the upper limit is to the number of rows you can > dynamically add to an HTML table, using Javascript? I tried to make a > table consisting of over 74,000 rows and Firefox stops rendering the > page. I didn't notice any exceptions being thrown or any other > external indicator that something is wrong, other than the page not > being rendered all the way. > > If you happen to know if there is a number to this I should be aware > of, please respond :) > > Thanks. Safari on a Mac : more than 200k rows : it rocks. FF2 on a Mac : sluggish @ ~70k rows. Opera on a Mac : sluggish ~from the start. Safari windows : ok up to 100k rows then stops responding. IE8b Windozes : sluggish @ ~6k rows : it sucks. FF2 Windows : sluggish @ ~70k rows. click into the window to stop / continue adding rows : HTH, --Jorge. <html> <head> <meta name="author" content="jorge"> <!-- Date: 2008-05-05 --> <!--567890123456789012345678901234567890123456789012345678901234567890 --> <script> window.go = true; window.onclick = function () { window.go = !window.go; }; window.onload = function () { var table = document.createElement("table"); document.body.appendChild(table); table.next=1; (function () { var row, cell, i, me = arguments.callee; if (window.go) { for (i=0; i<100; i++) { cell = document.createElement("td"); (cell).innerHTML = "row # "+ (table.next++); (row = document.createElement("tr")).appendChild(cell); table.insertBefore(row, table.firstChild); } } setTimeout(me, 5); })(); }; </script> </head> <body> </body> </html>
From: Jorge on 6 May 2008 16:51
On May 6, 8:37 pm, Thomas 'PointedEars' Lahn <PointedE...(a)web.de> wrote: > Unsurprisingly, your results could not be less representative, for what you > observed heavily depends on the hardware and software used, platform and > operating system very much aside. Hence my first reply. > Well, that's so for any test of any program... e.g. M$ Excel ? --Jorge. (bottom-posting :-) |