OK was a little fundamental issue in the code...
Two versions attached. One will create the missing artist / album lists, the standard one will not. I would be interested if the standard one is still really slow for you.
Hopefully this should actually address some of the missing artists / albums.
Logs attached.
Total albums = 680
total artist = 183