Bug Tracker

Opened 13 years ago

Closed 13 years ago

#6445 closed enhancement (invalid)

Highlight function kills performance

Reported by: guerda Owned by:
Priority: Milestone: 1.4.3
Component: unfiled Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:


We found out a performance bottle neck in the Autocomplete Plugin.

The function to highlight the entered term in the item list is performed via a regular expression. This regular expression is very time consuming in JavaScript and decreases performance.

We tested the plugin with about 2.500 items and with highlight on, it took about 4 seconds (Fx 3.5, IE6) to display search result. We disabled highlight and it was under half a second (both browsers).

Please rewrite this function or disable it per default.

Change History (2)

comment:1 Changed 13 years ago by guerda

Please remove my e-mail address from the CC field. Thanks!

comment:2 Changed 13 years ago by dmethvin

Cc: [email protected] removed
Resolution: invalid
Status: newclosed

This bug tracker is for jQuery core issues only. Please report plugin issues on the forum, or wherever the plugin author prefers.


Note: See TracTickets for help on using tickets.