komikku-app / komikku

Free and open source manga reader for Android
Apache License 2.0
541 stars 15 forks source link

Optimize restore backup #2

Open xdeiimoss opened 6 months ago

xdeiimoss commented 6 months ago

Describe your suggested feature

Usually Komikku (as well as most of other forks) takes at least 50 minutes to restore a backup. J2K and their forks takes 10 minutes maximum. The reason for that is SAF (at least that is what someone from the mihon discord server told me)

What they explained is: "But basically, the idea is, because SAF is really slow, you want to make SAF calls as less as possible. Such as use one call to retrieve all metadata you need for files under a directory instead of doing them one by one."

Also, tyvm for opening the issues tab! I appreciate it.

Other details

No response

Acknowledgements

cuong-tran commented 6 months ago

Thanks for the info. Will definitely look into it.

kana-shii commented 5 months ago

Just to give a side by side comparison. Both of them contain the same amount of entries.

Screenshot_20240524_121719_Komikku

cuong-tran commented 4 months ago

Just to give a side by side comparison. Both of them contain the same amount of entries.

how is Mihon doing?

kana-shii commented 4 months ago

Just to give a side by side comparison. Both of them contain the same amount of entries.

how is Mihon doing?

testing rn I'll send a screenshot when its finished

kana-shii commented 4 months ago

Just to give a side by side comparison. Both of them contain the same amount of entries.

how is Mihon doing?

@cuong-tran Screenshot_20240615_165110_Komikku Did a Yokai restore as well because my library has changed a lot since the first image

kana-shii commented 4 months ago

image just including how much time it took to sync on pc