Performance regression in trunk when selecting many objects
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Mc |
Bug Description
Selecting many objects (with Ctrl+A or drag-select) in current trunk takes too long compared to current stable 0.92.x, and tends - depending on the number of objects - to hang inkscape (while memory usage keeps growing). The reported regression can be reproduced in regular GUI sessions as well as on the command line with verbs.
Test cases (attached):
- 625 rectangles (fill, no stroke)
- 1250 rectangles (fill, no stroke)
- 2500 rectangles (fill, no stroke)
Timed results with lp:inkscape/0.92.x r15371 and lp:inkscape r15470:
$ time ink092x --verb=
real 0m2.700s
user 0m2.241s
sys 0m0.149s
$ time inktrunk --verb=
real 0m8.863s
user 0m8.290s
sys 0m0.206s
$ time ink092x --verb=
real 0m2.828s
user 0m2.504s
sys 0m0.114s
$ time inktrunk --verb=
real 0m27.607s
user 0m26.494s
sys 0m0.390s
$ time ink092x --verb=
real 0m3.910s
user 0m3.497s
sys 0m0.180s
$ time inktrunk --verb=
real 2m38.426s
user 2m32.760s
sys 0m1.141s
$
All tests done with local builds on Ubuntu 14.04.5 LTS.
Related branches
Changed in inkscape: | |
assignee: | nobody → Mc (mc...) |
importance: | Undecided → High |
milestone: | none → 0.93 |
status: | New → In Progress |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Test files.