ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
2
Legend:
Accepted Optimization
Rejected
3
4
CreationBaseline (us)SeqLLVM
5
constant 256x256893760
6
constant 512x512251130160
7
fromFunction 256x2565161000515
8
fromFunction 512x512210043002082
9
fromVector Unboxed0.1640.1590.152
10
fromVector Boxed9110152
11
12
IOBaseline (ms)INLINEWith MutationSeqLLVM
13
fromRGBA1710.31010.99.2
14
fromRGBA (Word8 -> Double)845550.550.952.4
15
fromGray Multiband150124.1118.253.6
16
fromGray Singleband2.42.42.22.2
17
18
ColouringBaseline (ms)SeqLLVM
19
classify4.173.1
20
grayscale10.260.111
21
22
Local OperationsBaseline (ms)
Better fromRGBA
INLINESeqClever NonEmpty HandlingLLVM
23
fmap (+17)10.270.12
24
zipWith (+)17.41.10.411.1
25
zipWith (/)2.21.82
26
(+)17.121.81.9
27
(/)3.342.9
28
lmax5.71.30.421.2
29
lmin5.41.10.51.1
30
lmean (Word8)47.222.415.42413.813.2
31
lmean (Double)3.93.6
32
lvariety43.41817.53115.6
33
lmajority522622.24021.720.9
34
lminority522622.2392220.7
35
lvariance (Word8)84.457.54596.147.6
36
lvariance (Double)9.48.8
37
38
Focal OperationsBaseline (ms)INLINESeq`Fractional` onlyAvoid ListsLLVM
39
fsum (512)35.71.21.71.20.37
40
fsum (46500)2414
41
fmean (Word8)47.312.420.210.8
42
fmean (Double)1.20.68
43
fmax50.824.656.34.44.2
44
fmin51.125.251.74.74.3
45
fmajority125.483.619956.362.1
46
fminority12681.319953.860
47
fvariety75.457.413243.644
48
fpercentage42.515.227.23.22.8
49
fpercentile47.616.5344.24.1
50
flinkage97.570.288.13.41.8
51
flength222.4181.6319.84.63.5
52
fpartition82.361.45939.7
53
fshape114.191.891.259.9
54
ffrontage . fshape166.7122156.514.816.9
55
farea171.3120.1150.714.815.2
56
fvolume (Word8)248.896.4183.797.5
57
fvolume (Word8 -> Double)13.311.4
58
fvolume (Double)3.12.21.8
59
fgradient (Word8)436.1398.7792.6213.1179183.7
60
fgradient (Double)452.8172.8164.8172.4
61
faspect - unsafe (Word8)477.3442.4895.3219234228.6
62
faspect - unsafe (Double)442.6206.9202222.7
63
faspect - safe (Word8)573554.1999344.3314321.9
64
faspect - safe (Double)512.1296285307.8
65
fdownstream (Word8)293249.3563.765.22013.8
66
fdownstream (Double)249.955.29.26.5
67
fupstream (Word8)293253571.674.820.514.9
68
fupstream (Double)259.264.313.27.9
69
70
Composite OperationsBaseline (ms)
Better fromRGBA
SeqLLVM
71
NDVI162.22.32.5
72
EVI484.53.94.4
73
EVI + Colour5.95.4
74
EVI + Colour + PNG (D)12.812.7
75
EVI + Colour + PNG (S)11.111
76
77
EVI on biggers RastersHaskell - 1 CPUHaskell - 2 CPUHaskell - 4 CPU
GeoTrellis (Scala)
Rasterio (Python)
78
512x5127.64.23.710.71.6
79
1024x102431.316.61444.87.7
80
2048x2048124.861.253.8185.261.5
81
4096x4096481.5275.4218856.3243.2
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100