Investigate making thumbnailing faster
@hadess
Submitted by Bastien Nocera Assigned to Desktop Maintainers
Link to original bug (#786902)
Description
The current code probably has some low-hanging fruit. The sandboxing costs will likely be hard to reduce, but there's likely some setup costs that could be reduced as sharing a GnomeDesktopThumbnailFactory has no effect on speed (meaning that it has a near zero setup cost).
Test thumbnailing MP3 files on Samba share:
- totem-video-thumbnailer directly: 1.7 seconds
- gnome-desktop without bwrap (with and without seccomp): 2.3 seconds
- gnome-desktop with bwrap: 3.3 seconds
- gnome-desktop with bwrap but with a shared GnomeDesktopThumbnailFactory: 3.3 seconds
Version: 3.25.x
Edited by Bastien Nocera