Scrolling in test selection menu slow
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Next Generation Checkbox (CLI) |
Fix Released
|
Low
|
Unassigned | ||
TextLand |
Invalid
|
Undecided
|
Bug Description
Version:
$ ls parts/plainbox-
checkbox-
python3-
python3-
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
Changed in checkbox-ng: | |
importance: | Undecided → High |
Changed in checkbox-ng: | |
milestone: | none → 0.24 |
Changed in checkbox-ng: | |
milestone: | 0.24 → 0.25 |
Changed in checkbox-ng: | |
status: | Triaged → Fix Released |
Changed in textland: | |
status: | New → Invalid |
Changed in checkbox-ng: | |
milestone: | future → 1.0.0 |
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.