feat: graph and measurement code for CPU lossless algorithms

This commit is contained in:
RobinMeersman 2025-12-16 18:54:29 +01:00
parent 9cd37f156a
commit 3bf3667849
7 changed files with 205 additions and 0 deletions

View file

@ -0,0 +1,25 @@
filename,original_size,compressor,compressed_size,compression_ratio,compression_time,decompression_time
genome.fna,4699745,gzip,1424004,3.30,.681197994,.015465955
genome.fna,4699745,lz4,2655438,1.76,.012701161,.009190410
genome_large.fna,23498433,gzip,7118154,3.30,3.384480370,.067414798
genome_large.fna,23498433,lz4,13275544,1.77,.020719873,.025022334
genome_small.fna,1367,gzip,589,2.32,.001937446,.001983156
genome_small.fna,1367,lz4,1041,1.31,.001883076,.002144425
genome_xlarge.fna,46996793,gzip,14235842,3.30,6.775190783,.131633333
genome_xlarge.fna,46996793,lz4,26551229,1.77,.031734579,.043495412
genome_xsmall.fna,1043,gzip,475,2.19,.002007016,.002012775
genome_xsmall.fna,1043,lz4,814,1.28,.001954316,.002085566
genome_xxsmall.fna,800,gzip,393,2.03,.002071485,.001958195
genome_xxsmall.fna,800,lz4,641,1.24,.001893416,.001943666
text_large.txt,12977332,gzip,4770044,2.72,.613155078,.043915520
text_large.txt,12977332,lz4,7879136,1.64,.017927300,.015065196
text_small.txt,1022,gzip,590,1.73,.002070305,.001903226
text_small.txt,1022,lz4,857,1.19,.001967146,.002040285
text.txt,6488666,gzip,2385264,2.72,.308393934,.023656716
text.txt,6488666,lz4,3939378,1.64,.014891266,.009709618
text_xlarge.txt,25954664,gzip,9539638,2.72,1.229028819,.085925486
text_xlarge.txt,25954664,lz4,15758785,1.64,.023613977,.023486747
text_xsmall.txt,825,gzip,473,1.74,.002110205,.001980535
text_xsmall.txt,825,lz4,678,1.21,.001757717,.002191075
text_xxsmall.txt,492,gzip,325,1.51,.001867306,.002114055
text_xxsmall.txt,492,lz4,438,1.12,.001869646,.002134206
1 filename original_size compressor compressed_size compression_ratio compression_time decompression_time
2 genome.fna 4699745 gzip 1424004 3.30 .681197994 .015465955
3 genome.fna 4699745 lz4 2655438 1.76 .012701161 .009190410
4 genome_large.fna 23498433 gzip 7118154 3.30 3.384480370 .067414798
5 genome_large.fna 23498433 lz4 13275544 1.77 .020719873 .025022334
6 genome_small.fna 1367 gzip 589 2.32 .001937446 .001983156
7 genome_small.fna 1367 lz4 1041 1.31 .001883076 .002144425
8 genome_xlarge.fna 46996793 gzip 14235842 3.30 6.775190783 .131633333
9 genome_xlarge.fna 46996793 lz4 26551229 1.77 .031734579 .043495412
10 genome_xsmall.fna 1043 gzip 475 2.19 .002007016 .002012775
11 genome_xsmall.fna 1043 lz4 814 1.28 .001954316 .002085566
12 genome_xxsmall.fna 800 gzip 393 2.03 .002071485 .001958195
13 genome_xxsmall.fna 800 lz4 641 1.24 .001893416 .001943666
14 text_large.txt 12977332 gzip 4770044 2.72 .613155078 .043915520
15 text_large.txt 12977332 lz4 7879136 1.64 .017927300 .015065196
16 text_small.txt 1022 gzip 590 1.73 .002070305 .001903226
17 text_small.txt 1022 lz4 857 1.19 .001967146 .002040285
18 text.txt 6488666 gzip 2385264 2.72 .308393934 .023656716
19 text.txt 6488666 lz4 3939378 1.64 .014891266 .009709618
20 text_xlarge.txt 25954664 gzip 9539638 2.72 1.229028819 .085925486
21 text_xlarge.txt 25954664 lz4 15758785 1.64 .023613977 .023486747
22 text_xsmall.txt 825 gzip 473 1.74 .002110205 .001980535
23 text_xsmall.txt 825 lz4 678 1.21 .001757717 .002191075
24 text_xxsmall.txt 492 gzip 325 1.51 .001867306 .002114055
25 text_xxsmall.txt 492 lz4 438 1.12 .001869646 .002134206