Speed up ThumbsWindow with multiprocessing

Bug #1481915 reported by Peter Levi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Variety
Confirmed
Medium
Peter Levi

Bug Description

We can use Python's multiprocessing module to offload thumb-building to separate processes.
This would make the ThumbsWindow appear smoother and faster. This may very well also fix the seldom crashes which happen while interacting with it while it is being built. Also, it may allow us to use a higher image count limit for it (100 seems low).

Peter Levi (peterlevi)
summary: - Speed up ThumbWindow with multiprocessing
+ Speed up ThumbsWindow with multiprocessing
description: updated
Revision history for this message
Peter Levi (peterlevi) wrote :

This does not seem super important now that we reduced ThumbWindow sleep calls - the thumbs are rendering quite fast. And with all of multiprocess-related communication overhead, need to encode and decode the images, it may turn out here is little performance benefit.

Still worth testing, but not too urgent.

Changed in variety:
importance: High → Medium
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.