As for processing times, experiment directly on the Kobo:
# echo 3 > /proc/sys/vm/drop_caches
# time sh -c 'find /mnt/ -name "*.epub" -exec unzip -p {} content.opf \; | grep dc:title'
This extracts content.opf from all EPUB (I only have EPUB, nothing else) and prints the book title. And it does so in an inefficient way (find and unzip is magnitude slower than what can be done in a C program).
For me this takes 16 seconds for ~400 books. Directly on the Kobo itself.
I then emptied my KoboReader.sqlite to make the Kobo reprocess the same books.
After 1 minute it was at 8% complete.
After 2 minutes, 13%.
After 3 minutes, 15%.
I stopped tracking the progress at that point. It's still not done while I'm typing this post (37% after several more minutes).
If I can grab the essential data required to display a list of books in 16 seconds on the Kobo shell using an inefficient method, it's hard to understand why the Kobo is so fricking slow about doing the same thing.
|