Open backplane-import opened 13 years ago
I guess you mean 'select1'... :)
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
Imported from backplanejs Google Code issue 67.
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)