[AC-901] iOS: SearchBar activating is dramatically slow for large ListView
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Cannot Reproduce |
Resolution Date | 2015-09-15T04:40:16.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | TCSupportTriage, listview, searchbar |
Reporter | Far |
Assignee | Shak Hossain |
Created | 2014-08-25T18:31:05.000+0000 |
Updated | 2016-03-08T07:37:12.000+0000 |
Description
Deactivating is also very slow. Look at time profiler screenshots for list with ~200 items. First is for activating, second is for deactivating.
Attachments
File | Date | Size |
---|---|---|
Screen Shot 2014-08-25 at 9.24.29 PM.png | 2014-08-25T18:31:05.000+0000 | 111968 |
Screen Shot 2014-08-25 at 9.25.03 PM.png | 2014-08-25T18:31:05.000+0000 | 88311 |
Hello, can you please provide a testcase in the form of app.js? Thanks! Best Regards, Mauro
We need custom slow ListView template. Look like all items in ListView reloaded if SearchBar activated.
Hello, We have tested this issue with the above testing code. We don't find any change in large ListView performance for the above code. *TESTING ENVIRONMENT:* Titanium SDK: 3.3.0.GA and 3.2.3.GA Titanium CLI: 3.3.0 OS X Version: 10.9.3 iOS Simulator: 7.1 Thanks.
Of cos on simulator performance will be fine. I meant *REAL* devices. In my app I have list view with 200 items and simple custom template (two labels). Activating search view takes 2500ms on iPod touch 5.
Hello, We have tested this issue with SDK 3.5.1 and highers in iOS 8.1.3 devices. It's working smoothly.
TESTING ENVIRONMENT
CLI version 3.4.1, Titanium SDK version 3.5.0.GA iOS 8.1.3, Device iPod 5GCODE SAMPLE
STEP TO REPRODUCE
1. Create a new project. 2. Copy the code above to project "app.js" file. 3. Run the project in a iOS device. 4. After the app opens, tap on searchbar to search.OBSERVED RESULT
Though It' takes time to actually open the app, after the app opens tapping on SearchBar to activate is working smoothly, approximately 1500ms~1600ms. it's can't be consider as "dramatically slow" considering the large listView. Also deactivating the SearchBar is much faster then activating. It's not a valid bug.