Lecrapouille/zipper

Benchmark: optimize unzip

Lecrapouille opened this issue · 0 comments

Unzip should be optimized.

Benchmark from sebastiandev/zipper#120

Zipper lib:
Zip "The Expanse S4":    206947.200 ms => 3 Minutes 26 Seconds (=-) / 1.2
Unzip "The Expanse S4":  116280.597 ms => 1 Minutes 56 Seconds (--) / 3.4
Zip hy_yj_zg_sc:          16780.517 ms => 16 Seconds           (==) * 1.1
Unzip hy_yj_zg_sc:        94578.933 ms => 1 Minutes 34 Seconds (--) / 8.2

Linux zip tool:
Zip "The Expanse S4":    171211.721 ms => 2 Minutes 51 Seconds (=+)
Unzip "The Expanse S4":   33556.513 ms => 33 Seconds           (++)
Zip hy_yj_zg_sc:          18668.122 ms => 18 Seconds           (==)
Unzip hy_yj_zg_sc:        11414.059 ms => 11 Seconds           (++)