De: Jorge Godoy <jgo...@gmail.com>
Data: Wed, 19 Jul 2006 11:02:42 -0300
Local: Qua 19 jul 2006 11:02
Assunto: Is there any problem with having many "connect"s on a page?
Hi! I'm generating some tables for data input and I'd like to perform one If I have something like 1000 rows on this table, would having 1000 "connect"s This will be running mainly on Firefox (Linux and Windows) and Internet Thanks for any comments on that. -- É necessário Acessar antes de postar mensagens.
Para postar uma mensagem você precisa primeiro participar deste grupo.
Atualize seu apelido na página de configurações da inscrição antes de postar.
Você não tem a permissão necessária para postar.
| ||||||||||||||
De: Beau Hartshorne <hartsho...@gmail.com>
Data: Wed, 19 Jul 2006 10:35:00 -0700
Assunto: Re: [mochikit] Is there any problem with having many "connect"s on a page?
On 19-Jul-06, at 7:02 AM, Jorge Godoy wrote:
You should probably be fine. That said, test it with say 5,000 rows and see what happens, especially in IE. Firefox is not immune though, you should test it thoroughly too. If this breaks somehow, please open a new Trac ticket and attach your test case. É necessário Acessar antes de postar mensagens.
Para postar uma mensagem você precisa primeiro participar deste grupo.
Atualize seu apelido na página de configurações da inscrição antes de postar.
Você não tem a permissão necessária para postar.
| ||||||||||||||
De: Jorge Godoy <jgo...@gmail.com>
Data: Wed, 19 Jul 2006 15:45:37 -0300
Local: Qua 19 jul 2006 15:45
Assunto: Re: [mochikit] Is there any problem with having many "connect"s on a page?
Beau Hartshorne <hartsho...@gmail.com> writes: I've just spoken to the client and we have found our "worst case scenario" > You should probably be fine. That said, test it with say 5,000 rows and see > what happens, especially in IE. Firefox is not immune though, you should test > it thoroughly too. If this breaks somehow, please open a new Trac ticket and > attach your test case. here, on an old machine running Win98 + IE 6 (the slower we have here). I'll write a test table and see how it performs there. Thanks for your answer. -- É necessário Acessar antes de postar mensagens.
Para postar uma mensagem você precisa primeiro participar deste grupo.
Atualize seu apelido na página de configurações da inscrição antes de postar.
Você não tem a permissão necessária para postar.
| ||||||||||||||
De: "Peter Mularien" <pmular...@gmail.com>
Data: Thu, 20 Jul 2006 04:48:31 -0700
Local: Qui 20 jul 2006 08:48
Assunto: Re: Is there any problem with having many "connect"s on a page?
It will probably be too slow. I've found that once the number of
"connect"s on a page exceeds about 500, you get the dreaded "a script on this page is running slowly" error before the browser finishes evaluating all the connect's. Just my experience, I'd be interested in yours. Another option would be to set a function on a timer that would automatically recalculate by pulling the values of the fields you're interested in on a periodic basis. This wouldn't have _quite_ the same behavior, but would be pretty close, and would likely be a lot faster to render the page. É necessário Acessar antes de postar mensagens.
Para postar uma mensagem você precisa primeiro participar deste grupo.
Atualize seu apelido na página de configurações da inscrição antes de postar.
Você não tem a permissão necessária para postar.
| ||||||||||||||
De: Jorge Godoy <jgo...@gmail.com>
Data: Thu, 20 Jul 2006 10:44:24 -0300
Local: Qui 20 jul 2006 10:44
Assunto: Re: [mochikit] Re: Is there any problem with having many "connect"s on a page?
"Peter Mularien" <pmular...@gmail.com> writes: Hmmm... But it might cause some unexpected surprises such as values appearing > It will probably be too slow. I've found that once the number of > "connect"s on a page exceeds about 500, you get the dreaded "a script > on this page is running slowly" error before the browser finishes > evaluating all the connect's. Just my experience, I'd be interested in > yours. Another option would be to set a function on a timer that would > automatically recalculate by pulling the values of the fields you're > interested in on a periodic basis. This wouldn't have _quite_ the same > behavior, but would be pretty close, and would likely be a lot faster > to render the page. when the user is doing something else or putting too much load on the browser. On the other hand, it would make one thing easier to implement in the future (but I'm not worried with that now and I don't even know if I'll implement this new feature). Since I'm also generating the table dinamically, I'm doing the process in two - creating the tables & using swapDOM to put them on screen (loops through - looping again and connecting signals to the calculation function (I This was my first approach, just to see if it would work for the client -- and I'll be doing the tests next Wednesday (I might be asking for the client to For too many fields where filling them is a slow process it would be great to I would really prefer having something that is dinamically connected to each -- É necessário Acessar antes de postar mensagens.
Para postar uma mensagem você precisa primeiro participar deste grupo.
Atualize seu apelido na página de configurações da inscrição antes de postar.
Você não tem a permissão necessária para postar.
| ||||||||||||||
De: Jorge Godoy <jgo...@gmail.com>
Data: Tue, 25 Jul 2006 20:11:14 -0300
Local: Ter 25 jul 2006 20:11
Assunto: Re: [mochikit] Re: Is there any problem with having many "connect"s on a page?
"Peter Mularien" <pmular...@gmail.com> writes: Hi! > It will probably be too slow. I've found that once the number of > "connect"s on a page exceeds about 500, you get the dreaded "a script > on this page is running slowly" error before the browser finishes > evaluating all the connect's. Just my experience, I'd be interested in > yours. Another option would be to set a function on a timer that would > automatically recalculate by pulling the values of the fields you're > interested in on a periodic basis. This wouldn't have _quite_ the same > behavior, but would be pretty close, and would likely be a lot faster > to render the page. I finally got back to this project and you're correct. I get a window asking Thanks, É necessário Acessar antes de postar mensagens.
Para postar uma mensagem você precisa primeiro participar deste grupo.
Atualize seu apelido na página de configurações da inscrição antes de postar.
Você não tem a permissão necessária para postar.
| ||||||||||||||
De: Jorge Godoy <jgo...@gmail.com>
Data: Tue, 25 Jul 2006 20:20:10 -0300
Local: Ter 25 jul 2006 20:20
Assunto: Re: [mochikit] Is there any problem with having many "connect"s on a page?
Beau Hartshorne <hartsho...@gmail.com> writes: There was no bug, but it wasn't fast enough to be completed without Firefox > You should probably be fine. That said, test it with say 5,000 rows and see > what happens, especially in IE. Firefox is not immune though, you should test > it thoroughly too. If this breaks somehow, please open a new Trac ticket and > attach your test case. complaining about how long the script was taking to finish. The main code for my test is: for (var index; index < 400; index++) { and later, in another function (after swapDOM...): for (var index; index < 400; index++) { Any hints on how to make it better would be appreciated. -- É necessário Acessar antes de postar mensagens.
Para postar uma mensagem você precisa primeiro participar deste grupo.
Atualize seu apelido na página de configurações da inscrição antes de postar.
Você não tem a permissão necessária para postar.
| ||||||||||||||
De: Bob Ippolito <b...@redivi.com>
Data: Tue, 25 Jul 2006 16:28:25 -0700
Local: Ter 25 jul 2006 20:28
Assunto: Re: [mochikit] Re: Is there any problem with having many "connect"s on a page?
On Jul 25, 2006, at 4:20 PM, Jorge Godoy wrote: case the array you created is new anyway.. why? Also, index isn't initialized to 0.. so the first run through is > and later, in another function (after swapDOM...): A full example that people could play with would help. > for (var index; index < 400; index++) { > Any hints on how to make it better would be appreciated. -bob É necessário Acessar antes de postar mensagens.
Para postar uma mensagem você precisa primeiro participar deste grupo.
Atualize seu apelido na página de configurações da inscrição antes de postar.
Você não tem a permissão necessária para postar.
| ||||||||||||||
De: Jorge Godoy <jgo...@gmail.com>
Data: Tue, 25 Jul 2006 21:03:20 -0300
Local: Ter 25 jul 2006 21:03
Assunto: Re: [mochikit] Re: Is there any problem with having many "connect"s on a page?
Bob Ippolito <b...@redivi.com> writes: I dunno. I've seen lots of codes using "new Array" and this is why I used > You should really never, ever, call "new Array". It's silly. In this case the > array you created is new anyway.. why? it. ;-) > Also, index isn't initialized to 0.. so the first run through is going to be It was the test code. Real code comes with a value from the database. > undefined... that can't be correct as written here. > A full example that people could play with would help. I'll write one and post on the ML again. -- É necessário Acessar antes de postar mensagens.
Para postar uma mensagem você precisa primeiro participar deste grupo.
Atualize seu apelido na página de configurações da inscrição antes de postar.
Você não tem a permissão necessária para postar.
| ||||||||||||||
De: Jorge Godoy <jgo...@gmail.com>
Data: Tue, 25 Jul 2006 21:30:12 -0300
Local: Ter 25 jul 2006 21:30
Assunto: Re: [mochikit] Re: Is there any problem with having many "connect"s on a page?
I've just made a few simplifications from my real case (where my for loop Thanks for your attention,
[
É necessário Acessar antes de postar mensagens.
Para postar uma mensagem você precisa primeiro participar deste grupo.
Atualize seu apelido na página de configurações da inscrição antes de postar.
Você não tem a permissão necessária para postar.
| ||||||||||||||
| Criar um grupo - Grupos do Google - Página inicial do Google - Termos de Uso - Política de Privacidade |
| ©2009 Google |