2012-09-24, 23:00
I can confirm that the patch gets better perfs but there's still some things strange with albums and song without thumb.
Will try to have a full trace when I got time but my previous comment is still there.
It seems there's case where the art table does not fill itself on scan and will rescan every time. And since for songs that don't have thumbs it failback to try albums this mades 2 request / song + 1 file access on every request.
With the last PR this is still 4 file open/close less but it's still a lot and the code is hard for me to fix but I'm sure there's something to fix about this
Will try to have a full trace when I got time but my previous comment is still there.
It seems there's case where the art table does not fill itself on scan and will rescan every time. And since for songs that don't have thumbs it failback to try albums this mades 2 request / song + 1 file access on every request.
With the last PR this is still 4 file open/close less but it's still a lot and the code is hard for me to fix but I'm sure there's something to fix about this