MobileChromeApps / cordova-plugin-zip

Zip plugin for Cordova apps
Other
168 stars 207 forks source link

Performance #39

Open ghost opened 10 years ago

ghost commented 10 years ago

Does anyone else has performance issues? Unzipping a 100MB file on my S5 took about 10 minutes.

mithlesh-kumar commented 10 years ago

Unzipping a 60MB file took 80 seconds in Moto G 2Gen and some older device heat up while processing.

chrisrickard commented 9 years ago

do y'all know what iPad (any generation) unzippin' performance is like?

chrisrickard commented 9 years ago

Just to followup on my own message, I can unzip a 4.5MB zip (with ~40 files inside) in around 2 to 3 seconds on an iPad. Tested on old iPad 2, and the latest iPad Air (2014)

ghost commented 9 years ago

The performance issue I encountered is probably due to the number of files (130.000 very small JPG - map tiles) in the zip archive.

Another method I tried was putting the map tiles into a Sqlite DB and downloading it from AWS after the app was installed on the device. This works quite well, however, rendering the tiles on the map turned out to be very slow.

rknell commented 8 years ago

+1 260mb file with map tiles takes 40 mins on Android and iOS. Did anyone find a solution?

Toterbiber commented 6 years ago

+1 We have the same problem also with map tiles. The plugin is not usable on iOS like that. It's getting slower and slower. In the beginning it's very fast and then it slows down over the time.

6000 files get decompressed in a few seconds, 250.000 files of the same size took me 6 houres!

This problem does NOT occure on Android!

Toterbiber commented 6 years ago

I tested it with the latest version of ZipArchive https://github.com/ZipArchive/ZipArchive and it worked fine. It would be great if someone could update this!