From ae2cfb366b1a4e39975be78660b8f94f088c1cf4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Vojt=C4=9Bch=20Moravec?= <theazgra@gmail.com>
Date: Sat, 2 Mar 2019 10:33:14 +0100
Subject: [PATCH] Added plot data.

---
 README.md                                     |   4 +-
 .../benchmark_results/benchmark_data.sqlite   | Bin 1798144 -> 1798144 bytes
 document/data/plot_notes.txt                  | 103 ++++++++++++++++++
 3 files changed, 106 insertions(+), 1 deletion(-)
 create mode 100644 document/data/plot_notes.txt

diff --git a/README.md b/README.md
index 2aab4bf..d7ef40e 100644
--- a/README.md
+++ b/README.md
@@ -14,8 +14,10 @@
   - [x] Add *level* CLI option to specify compression level for above algorithms
   - [x] Add CSV writer, which will write test results to file and test function taking folder with test files to parse.
 - **DEADLINE 04.03.2019**
+- [ ] Describe what is compression ratio, how are we calculating it.
 - [ ] Write about Z-Curve order, plot Z-Curve comparsion with normal order.
 - [ ] Plot/into tables, BPP (Bits Per Pixel), Compression throughput (MB/s).
+- [ ] Plot how are different frames compressed, x axis -> frame, y axis -> compression ratio
 - [ ] Benchmark B^3D cuda library
 - [ ] Look at *Image difference*
   - Negative values can be mapped to odd/even numbers. But the difference must be saved in more than one byte.
@@ -54,4 +56,4 @@ This is list of things, which have to be done first:
 ## Image difference
 - Find difference between included images.
 - Plot those differences and find out if certain images aren't same, just positioned little bit differently 
-- *Pattern matching* - Find if there are some patterns in image sets.
\ No newline at end of file
+- *Pattern matching* - Find if there are some patterns in image sets.
diff --git a/czi-format/benchmark_results/benchmark_data.sqlite b/czi-format/benchmark_results/benchmark_data.sqlite
index adbf19c2e1ff9d857e2d4027a6d0e6e6f0650869..9cbc6aaad0dcaf822554fb6cb58fded6b50626c2 100644
GIT binary patch
delta 837
zcmZp8klXMecY?GaCj$fHb_NCp8wLi3%?u2TYbWX$OL8*kF-GxnzGh(K<YVA#<oVBC
z!uf@hk8|U8!vyIS?2{EZ-qknCHwv<gtEw_KF_t7I<)k`gmJ|o176oK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uFov{+GcYiQwy82OFov}jGcYiQw>mN~Fh;cU
zGcYhlw!|_pFh<$5XfrS{MmJY5Ffhh6yD=~@#x{eT64wNBN_-Q@DG7}rrzAFloRZWi
z#lXNQmCnGxkZ-c>02`w~JL3nocE%6v?TjBd+8IA^wljX<YG?ew-Ol)dr=9TwZ#&}$
zzIMhB{Oyb%Kxzfs89xZMGky?mXZ#@2&iFyJo$-TMJL3oOcE%49?TjBJw=;f_`d<$K
D%#>|O

diff --git a/document/data/plot_notes.txt b/document/data/plot_notes.txt
new file mode 100644
index 0000000..bc6adb0
--- /dev/null
+++ b/document/data/plot_notes.txt
@@ -0,0 +1,103 @@
+-----------------------------------------------
+Level_6;NormalOrder;AverageCompressionRation
+    GZIP
+        Artemia         2.67797
+        Artemia Flash   1.84856    
+        LLC Emerald     1.40943
+        16 Bit Z Stack  1.47818    
+    LZMA
+        Artemia         3.46118
+        Artemia Flash   2.35310
+        LLC Emerald     1.64554
+        16 Bit Z Stack  1.80586
+    BZIP2
+        Artemia         3.62971
+        Artemia Flash   2.47042
+        LLC Emerald     1.72000
+        16 Bit Z Stack  1.90709
+-----------------------------------------------
+Level_6;ZOrder;AverageCompressionRation
+    GZIP
+        Artemia         2.83741
+        Artemia Flash   2.02035    
+        LLC Emerald     1.43012
+        16 Bit Z Stack  1.49529    
+    LZMA
+        Artemia         3.58193
+        Artemia Flash   2.47051
+        LLC Emerald     1.68226
+        16 Bit Z Stack  1.84066
+    BZIP2
+        Artemia         3.62405
+        Artemia Flash   2.48956
+        LLC Emerald     1.71823
+        16 Bit Z Stack  1.88627
+-----------------------------------------------
+Level_6;NormalOrder;BitsPerPixel
+    GZIP
+        Artemia         5.99774
+        Artemia Flash   8.65652
+        LLC Emerald     11.41657
+        16 Bit Z Stack  10.85294
+    LZMA
+        Artemia         4.63423
+        Artemia Flash   6.80204
+        LLC Emerald     9.81384
+        16 Bit Z Stack  8.88441
+    BZIP2
+        Artemia         4.41225
+        Artemia Flash   6.47722
+        LLC Emerald     9.38335
+        16 Bit Z Stack  8.40146
+-----------------------------------------------
+Level_6;ZOrder;BitsPerPixel
+    GZIP
+        Artemia         5.65838
+        Artemia Flash   7.92033
+        LLC Emerald     11.24460
+        16 Bit Z Stack  10.72177   
+    LZMA
+        Artemia         4.47633
+        Artemia Flash   6.47744
+        LLC Emerald     9.58222
+        16 Bit Z Stack  8.71700
+    BZIP2
+        Artemia         4.41979
+        Artemia Flash   6.4275
+        LLC Emerald     9.39343
+        16 Bit Z Stack  8.49808
+-----------------------------------------------
+Level_6;NormalOrder;ThroughPut
+    GZIP
+        Artemia         8.06436
+        Artemia Flash   8.63026
+        LLC Emerald     7.08497
+        16 Bit Z Stack  14.16995
+    LZMA
+        Artemia         1.68341
+        Artemia Flash   0.70439
+        LLC Emerald     1.84608
+        16 Bit Z Stack  2.14872
+    BZIP2
+        Artemia         13.49084
+        Artemia Flash   7.78887
+        LLC Emerald     12.78751
+        16 Bit Z Stack  13.1072
+-----------------------------------------------
+Level_6;ZOrder;ThroughPut
+    GZIP
+        Artemia         9.72067
+        Artemia Flash   7.15752
+        LLC Emerald     6.39376
+        16 Bit Z Stack  13.79705
+    LZMA
+        Artemia         1.81918
+        Artemia Flash   0.72036
+        LLC Emerald     2.53279
+        16 Bit Z Stack  2.33017
+    BZIP2
+        Artemia         13.94705
+        Artemia Flash   7.73144
+        LLC Emerald     14.16995
+        16 Bit Z Stack  13.79705
+-----------------------------------------------
-- 
GitLab