Scrolling in test selection menu slow

Bug #1512670 reported by Jonathan Cave
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Next Generation Checkbox (CLI)
Fix Released
Low
Unassigned
TextLand
Invalid
Undecided
auto-me-1

Bug Description

Version:

$ ls parts/plainbox-provider-plano/ubuntu/download/ | grep checkbox
checkbox-ng_0.22+bzr4086+pkg33~ubuntu15.10.1_all.deb
python3-checkbox-ng_0.22+bzr4086+pkg33~ubuntu15.10.1_all.deb
python3-checkbox-support_0.22+bzr4086+pkg24~ubuntu15.10.1_all.deb

Steps to reproduce:
 - Run a test suite using the checkbox-ng front end from the above packages
 - Enter in to the menu that allows you to select the tests to run (there should be a reasonable number of tests in the lists e.g ~40
 - Use the up/down arrow keys to scroll through the list

Expected result:
 - the selected line moves up and down the list smoothly and the interface remains responsive

Actual result:
 - the interface quickly slows down and becomes quite unresponsive
 - running top on another console shows the python process consuming a lot (all) of the CPU

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

I strongly suspect this is just uber-naive code in textland. I'll try to reproduce this with a scrolling demo that is capped at 60fps to see what's the slow part.

Changed in checkbox-ng:
status: New → Triaged
Changed in checkbox-ng:
importance: Undecided → High
Changed in checkbox-ng:
milestone: none → 0.24
Changed in checkbox-ng:
milestone: 0.24 → 0.25
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

We did improve the lag in the textland menus, it can still be improved but it's less critical now.

Changed in checkbox-ng:
importance: High → Low
milestone: 0.25 → future
Changed in checkbox-ng:
status: Triaged → Fix Released
Changed in textland:
status: New → Invalid
Changed in checkbox-ng:
milestone: future → 1.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.