smartfile / python-libarchive

Libarchive wrapper for Python.
BSD 3-Clause "New" or "Revised" License
23 stars 10 forks source link

Speed up wrapper. Some patches #8

Closed frazenshtein closed 2 years ago

frazenshtein commented 7 years ago

was: archiving Command being timed: "libarchive/libarchive a test" User time (seconds): 0.02 System time (seconds): 6.47 Percent of CPU this job got: 46% Elapsed (wall clock) time (h:mm:ss or m:ss): 0:13.99 Average shared text size (kbytes): 0 Average unshared data size (kbytes): 0 Average stack size (kbytes): 0 Average total size (kbytes): 0 Maximum resident set size (kbytes): 1045848 Average resident set size (kbytes): 0 Major (requiring I/O) page faults: 0 Minor (reclaiming a frame) page faults: 4608 Voluntary context switches: 148943 Involuntary context switches: 9 Swaps: 0 File system inputs: 0 File system outputs: 10240008 Socket messages sent: 0 Socket messages received: 0 Signals delivered: 0 Page size (bytes): 4096 Exit status: 0

become: archiving Command being timed: "libarchive/libarchive a test" User time (seconds): 0.65 System time (seconds): 4.13 Percent of CPU this job got: 99% Elapsed (wall clock) time (h:mm:ss or m:ss): 0:04.79 Average shared text size (kbytes): 0 Average unshared data size (kbytes): 0 Average stack size (kbytes): 0 Average total size (kbytes): 0 Maximum resident set size (kbytes): 19812 Average resident set size (kbytes): 0 Major (requiring I/O) page faults: 0 Minor (reclaiming a frame) page faults: 2060 Voluntary context switches: 1 Involuntary context switches: 19 Swaps: 0 File system inputs: 0 File system outputs: 10240008 Socket messages sent: 0 Socket messages received: 0 Signals delivered: 0 Page size (bytes): 4096 Exit status: 0

tested on 5 files with content of 1048576000 bytes

cabarnes commented 2 years ago

Going to close this as a stale issue. If you would like it included, it will need to be brought up to date and re-tested