Modify

Opened 14 years ago

Last modified 5 years ago

#7605 new defect

Plugin is significantly slower than KeywordSuggestPlugin

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Component: AutocompleteUsersPlugin
Severity: normal Keywords:
Cc: Steffen Hoffmann Trac Release: 0.11

Description

Using KeywordSuggestPlugin as a metric, it seems like we should be able to make this plugin more responsive.

-----Original Message-----
From: Steffen Hoffmann
Sent: Tuesday, August 31, 2010 11:00
To: Ryan Ollos
Subject: Re: Trac developer discussion - was: Re: Re2: regarding
WikiTicketCalendarMacro display width control

> KeywordSuggest is very fast to bring up the list of suggestions from
> a list of several hundred tags. AutocompleteUsers on the other hand
> is not very responsive, and takes 1-3 seconds to make suggestions
> from a list of 15 users. If you are seeing this same behavior, I'll
> start looking at the code and see if we can optimize it somehow. If
> not, perhaps it has something more to do with my Trac installation.

Right, see this as well. Even worse, the AutocompleteUsers sometimes
stopped work at all. Not done too much research on the matter, but I
remember having seen all currently available keywords packed into a list
plus a JS function in the header of HTML pages. While the lookup is done
in the local browser instance, AutocompleteUsers will certainly do
different, so bound to be slower and seemingly more complicated.

Attachments (0)

Change History (2)

comment:1 Changed 14 years ago by Ryan J Ollos

Changing ticket owner to be new maintainer.

comment:2 Changed 13 years ago by Grzegorz Sobański

KeywordSuggestPlugin works in different way, so it so more responsive.

KeywordSuggestPlugin embedes into the ticket page a list of suggestions, this plugin makes ajax requests to get the matching users. So it won't ever have the same responsivenes.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Ryan J Ollos.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.