Skip to main content

Bug Tracker

Side navigation

#6445 closed enhancement (invalid)

Opened April 16, 2010 07:54AM UTC

Closed April 18, 2010 02:49AM UTC

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.

Attachments (0)
Change History (2)

Changed April 16, 2010 07:55AM UTC by guerda comment:1

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

Changed April 18, 2010 02:49AM UTC by dmethvin comment:2

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.