Thumbnail settings - some speed notes (1 Viewer)

rtv

Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    Hi!

    I've just changed MP's thumbnail creation. Now it's possible to use a .NET function which will not resize but only strech/shrink the source image to fit.

    After lots of careful testing I've found out that this still delivers acceptable quality for the small thumbnails (Which are shown e.g. in all listviews). After tweaking the code a little I could manage to achive performance boosts > 30 % :D

    Using the default setting of the quality slider the large thumbs (e.g. for filmstrips, etc) will still be created using the "true" resizing with interpolation, smoothing, etc.


    Although this settings will affect every part of MP here are some of my results from scanning a little, non-structured music share:
    1. step: reading tags, creating album and folder thumbs completed
    2. step: creating artist preview covers completed
    3. step: creating genre preview covers completed, scan done

    Code:
    SVN @ lowest quality
    --------------------------
    2007-11-17 00:52:55.843750 [Info.][Config Main]: Musicdatabasereorg: Now check for new / updated files.
    [B]43 s[/B]
    2007-11-17 00:53:38.875000 [Info.][Config Main]: Musicdatabasereorg: Checked 2603 files.
    [B]25 s[/B]
    2007-11-17 00:54:03.875000 [Info.][Config Main]: MusicDatabase: Added artist thumb for Young Jacques
    [B]8 s[/B]
    2007-11-17 00:54:12.125000 [Info.][Config Main]: Musicdatabasereorg: Music database reorganization done.  Processed 2603 tracks in: 00:01:17 (0,02959326 seconds per track)
    
    
    SVN @ highest quality
    --------------------------
    2007-11-17 00:47:48.109375 [Info.][Config Main]: Musicdatabasereorg: Now check for new / updated files.
    [B]56 s[/B]
    2007-11-17 00:48:44.218750 [Info.][Config Main]: Musicdatabasereorg: Checked 2603 files.
    [B]34 s[/B]
    2007-11-17 00:49:20.171875 [Info.][Config Main]: MusicDatabase: Added artist thumb for Young Jacques
    [B]11 s[/B]
    2007-11-17 00:49:31.343750 [Info.][Config Main]: Musicdatabasereorg: Music database reorganization done.  Processed 2603 tracks in: 00:01:43 (0,0399479 seconds per track)
    
    
    SVN @ defaults
    --------------------------
    2007-11-17 00:29:27.734375 [Info.][Config Main]: Musicdatabasereorg: Now check for new / updated files.
    [B]44,5 s[/B]
    2007-11-17 00:30:11.187500 [Info.][Config Main]: Musicdatabasereorg: Checked 2603 files.
    [B]26 s[/B]
    2007-11-17 00:30:37.031250 [Info.][Config Main]: MusicDatabase: Added artist thumb for Young Jacques
    [B]8,5 s[/B]
    2007-11-17 00:30:45.593750 [Info.][Config Main]: Musicdatabasereorg: Music database reorganization done.  Processed 2603 tracks in: 00:01:18 (0,03019353 seconds per track)
    
    
    0.2.3.0 @ defaults
    --------------------------
    2007-11-16 22:50:24.031250 [Info.][Config Main]: Musicdatabasereorg: Now check for new / updated files.
    [B]75,5 s[/B]
    2007-11-16 22:51:39.625000 [Info.][Config Main]: Musicdatabasereorg: Checked 2603 files.
    [B]37 s[/B]
    2007-11-16 22:52:16.875000 [Info.][Config Main]: MusicDatabase: Added artist thumb for Young Jacques
    [B]12 s[/B]
    2007-11-16 22:52:28.765625 [Info.][Config Main]: Musicdatabasereorg: Music database reorganization done.  Processed 2603 tracks in: 00:02:10 (0,05008044 seconds per track)


    Please keep in mind that e.g. MyPictures builds all thumbs in background threads which have wait cycles by intention as even low priority threads could make MP feel sluggish if they produce heavy I/O activity.
     

    Users who are viewing this thread

    Top Bottom