Autocomplete and IE7 - slowness, sluggishness as overall pagesize grows?
Posted
by wchrisjohnson
on Stack Overflow
See other posts from Stack Overflow
or by wchrisjohnson
Published on 2010-03-16T00:44:56Z
Indexed on
2010/03/16
0:49 UTC
Read the original article
Hit count: 391
Hi,
I have the autocomplete plugin (http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/, version 1.1 and 1.0.2) on a project to add pieces of "equipment" to a "project". On a fresh project the plugin works great; the data returned from the database comes back FAST, you can scroll the list fast, and can select an item and move on to the next one.
Once I have a project established with equipment on it, and I go to add equipment, the performance is pretty bad. It takes 4-5 seconds to get the list of data back from the server, scrolling the list is painful, and the cursor takes several seconds to settle on an item. Repainting the page after the list goes away is slow.
This is occurring in IE7, latest version. FF3 and Chrome are fine, very snappy.
The pagesize is about 40K overall.
I'm thinking this is an issue with the IE7 Javascript engine, or an edge case with this plugin and IE7; it works quickly enough in FF3+.
I would appreciate any ideas, solutions, known issues, or thoughts on how to more specifically pin this down.
I'd love to post sample code, but this is a corporate app, and I'm not how useful it would be given that the server side piece cannot be shown; ie: you can't pull it down and test it like a self contained piece of code..
Thanks in advance!
Chris
© Stack Overflow or respective owner