View Single Post
Old 06-17-2015, 08:51 AM   #67
chrisridd
Guru
chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.
 
chrisridd's Avatar
 
Posts: 983
Karma: 2209358
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, PocketBook InkPad Color 3
I think you may need to do an lsof during "Processing" to see if you can find the other end of the pipe, if busybox supports that. Or can you look through /proc if you're really quick?

Using the widely available unzip library code, a caller can open a zip/epub file, and then step through the zip file's internal structure in order to access any given file. This could be more efficient if the OPF is at the end of the epub (zip files are walked from the end of file backwards!), but even if it is not it is a few seek()s and read()s away at most. You absolutely don't have to unpack the entire file.

So your testing with find and unzip really is worst case. Yet still faster than Kobo!!

Have you tried updating an sqlite database? I think you said earlier in this thread that sqlite perf was pretty bad on the Kobo.
chrisridd is offline   Reply With Quote