Changes between Version 2 and Version 3 of Ticket #3891, comment 9
- Timestamp:
- Nov 3, 2020, 3:25:40 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3891, comment 9
v2 v3 1 1 Notice that while the command-line gzip compression took 5.4 seconds, the gzip session compression in ChimeraX took 14 seconds (= 22.51 - 8.36). Not clear why the Python gzip is slower. Possibly gzip uses multiple threads when compressing a file but only a single thread when compressing a stream. Or maybe compression level or number of thread defaults are different between the command-line gzip and ChimeraX use of Python GzipFile(). At any rate, the command-line timings don't necessarily reflect speed of ChimeraX doing the compression so I will need to test the compression methods in ChimeraX on the stream. 2 3 Likewise opening the gzip compressed file took 9.2 seconds versus 5.2 uncompressed, 4 additional seconds, while the command-line gunzip only took 0.55 seconds to decompress the file. 4 5 Formerly ChimeraX used gzip compression on sessions by default and in this example the write time is 2.7 times longer and read time is 1.8 times longer than an uncompressed file.