sidewinderlabs / backplanejs

Other
12 stars 3 forks source link

select1 with large number of items performs badly in IE #67

Open backplane-import opened 13 years ago

backplane-import commented 13 years ago

Imported from backplanejs Google Code issue 67.

Reporter alex.sansom@webbackplane.com
Date 17 Jun 2010 1:58:25 PM UTC

Examples of how the number of items in the list affect form performance (switching from 3 items in the list to around 220ish) can be seen in the test form (a single select1 control) I've created and attached.

Performance test form:

3 item list:

Loading time: 3-4s Show list options: <1s Select list item: <1s

220ish item list:

Loading time: 19s Show list options: 3-4s Select list item: 6-7s

Tested using IE7/XP and IE7/Vista.


Ticket status set to New

Type: Enhancement Priority: Medium


Attachments

nationality-select1.zip (10.6 KB)

backplane-import commented 13 years ago

Comment by markbirbeck on 23 Jun 2010 11:28:54 PM UTC

I guess you mean 'select1'... :)

backplane-import commented 13 years ago

Comment by markbirbeck on 25 Jun 2010 6:20:10 AM UTC

One possibility that will almost certainly improve performance would be to use an ordinary HTML drop-box for this, rather than the technique we currently use of simulating a drop-down.

The rationale for the simulating technique is that it gives us greater control over the formatting, and also it fits better with the dynamic nature of XForms (the data in the list can change at any time).

However, since performance is such an issue, we can live without this dynamic nature for now. (We can to reintroduce the flexibility later on, perhaps by using some kind of paging technique.)

So for now, we should do the following:

Obvious, I know!

But the key thing is that if doing this doesn't improve performance then there is no point in making the change, since we lose some functionality.


Updates

Owner set to creaven

Module: XForms Component: Ui Priority: Medium → High Added label: performance