Update of "benchmarks (2019 update)"
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: aa614b33e594fe6404bf3a72007776ad281a2a38
Page Name:benchmarks (2019 update)
Date: 2019-02-06 18:02:16
Original User: sandro
Parent: 9bb2561a09ff57702c43839516e187df9ce7ab63 (diff)
Next 3e9bc0d9c13c8a9a75e4ccca5dbce501ab8cb878
Content

Back to RasterLite2 doc index



RasterLite2 reference Benchmarks (2019 update)

Intended scopes

In recent years new and innovative lossless compression algorithms have been developed.
The current benchmark is intended to check and verify by practical testing how these new compression methods do practically perform under the most usual conditions.
More specifically, a comparison will be made between the relative performances of new and older lossless compression methods.

The contenders

The following general purpose lossless compression methods will be systematically compared:
Whenever possible and appropriate the following lossless compression methods specifically intended for images / rasters will be tested as well:

Testing generic datasets

We'll start first by testing several generic datasets, so to stress all compression methods under the most common conditions.
The same dataset will be compressed and then decompressed using each method, so to gather informations about:
Note: compressing is a much harder operation than decompressing, and will always require more time.
The speed differences between the various compression algorithms will be strong and well marked when compressing, but also the differences in decompression speeds (although less impressive) are worth to be carefully evaluated.

test #1 - compressing many CSV files

Uncompressed SizeAlgorithmCompressed Size Compression RatioCompression TimeDecompression Time
0.97 GB LZ4289 MB3.466.550 sec2.256 sec
DEFLATE155 MB6.4433.079 sec2.159 sec
ZSTD110 MB9.092.924 sec1.313 sec
LZMA47 MB21.421220.329 sec10.179 sec
Quick assessment:

test #2 - compressing a SQLite database file

Uncompressed SizeAlgorithmCompressed Size Compression RatioCompression TimeDecompression Time
1.13 GB LZ4508 MB2.2910.333 sec2.123 sec
DEFLATE323 MB3.6054.343 sec3.173 sec
ZSTD219 MB5.314.331 sec1.522 sec
LZMA82 MB14.26646.670 sec17.930 sec
Quick assessment:

test #3 - compressing many Shapefiles

Uncompressed SizeAlgorithmCompressed Size Compression RatioCompression TimeDecompression Time
1.19 GB LZ40.99 GB1.206.413 sec0.893 sec
DEFLATE870 MB1.4048.004 sec4.553 sec
ZSTD880 MB1.395.416 sec1.292 sec
LZMA682 MB1.79740.077 sec45.624 sec
Quick assessment:

test #4 - compressing a Landsat 8 scene (satellite imagery)

Uncompressed SizeAlgorithmCompressed Size Compression RatioCompression TimeDecompression Time
1.78 GB LZ41.07 GB1.655.104 sec1.285 sec
DEFLATE928 MB1.9756.643 sec7.176 sec
ZSTD929 MB1.967.261 sec2.329 sec
LZMA798 MB2.29957.182 sec95.288 sec
Quick assessment:

Final assessment (and lessons learned)



Back to RasterLite2 doc index