-
Notifications
You must be signed in to change notification settings - Fork 5
/
1.6.0-DEV-444aa87348.log
177 lines (161 loc) · 4.28 KB
/
1.6.0-DEV-444aa87348.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
Julia Version 1.6.0-DEV.1274
Commit 444aa87348 (2020-10-17 22:11 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: AMD EPYC 7502 32-Core Processor
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.0.0 (ORCJIT, znver2)
Environment:
JULIA_DEPOT_PATH = ::/usr/local/share/julia
JULIA_NUM_THREADS = 2
JULIA_MAX_NUM_PRECOMPILE_FILES = 9223372036854775807
Resolving package versions...
Installed OptimizingIR ─ v0.2.2
Updating `~/.julia/environments/v1.6/Project.toml`
[cc8fcbce] + OptimizingIR v0.2.2
Updating `~/.julia/environments/v1.6/Manifest.toml`
[cc8fcbce] + OptimizingIR v0.2.2
Precompiling project... (tip: to disable auto-precompilation set ENV["JULIA_PKG_PRECOMPILE_AUTO"]=0)
[32m ✓ [39mOptimizingIR
1 dependency successfully precompiled
Testing OptimizingIR
Status `/tmp/jl_Kn1mq4/Project.toml`
[cc8fcbce] OptimizingIR v0.2.2
[8dfed614] Test
Status `/tmp/jl_Kn1mq4/Manifest.toml`
[cc8fcbce] OptimizingIR v0.2.2
[2a0f44e3] Base64
[b77e0a4c] InteractiveUtils
[56ddb016] Logging
[d6f4376e] Markdown
[9a3f8284] Random
[9e88b42a] Serialization
[8dfed614] Test
Testing Running tests...
DirectedGraph{VX}
Vertices
[1] VX(1)
[2] VX(2)
Edges
Bool[0 1; 0 1]
Test Summary: | Pass Total
Graph | 52 52
Test Summary: | Pass Total
LookupTable | 25 25
Test Summary: | Pass Total
OptimizationRule | 11 11
Test Summary: | Pass Total
AbstractValue | 11 11
BasicBlock
---------------
Instructions
---------------
1 | Pure | call(foreign_fun, (x, 10.0::Float64, 2.0::Float64))
2 | Pure | call(+, %1, %1)
3 | Impure | output = %2
---------------
Inputs
---------------
1 | x
---------------
Variables - Local Mutables
---------------
---------------
Variables - Local Immutables
---------------
output | %2
---------------
Outputs
---------------
1 | output
---------------
Test Summary: | Pass Total
call | 4 4
Test Summary: | Pass Total
OP_GETINDEX | 3 3
BasicBlock
---------------
Instructions
---------------
1 | Impure | call(zeros, Float64::DataType, x)
2 | Impure | vec = %1
3 | Impure | call(getindex, vec, 1::Int64)
4 | Impure | inspect1 = %3
5 | Impure | call(setindex!, (vec, 10::Int64, 1::Int64))
6 | Impure | call(getindex, vec, 1::Int64)
7 | Impure | inspect2 = %6
8 | Pure | call(*, 2.0::Float64, %6)
9 | Impure | inspect3 = %8
10 | Impure | inspect4 = %8
---------------
Inputs
---------------
1 | x
---------------
Variables - Local Mutables
---------------
vec
---------------
Variables - Local Immutables
---------------
inspect1 | %3
inspect3 | %8
inspect4 | %8
inspect2 | %6
---------------
Outputs
---------------
1 | vec
2 | inspect1
3 | inspect2
4 | inspect3
5 | inspect4
---------------
Test Summary: | Pass Total
OP_SETINDEX | 13 13
Test Summary: | Pass Total
Basic Block | 9 9
Test Summary: | Pass Total
Inputs | 9 9
Test Summary: | Pass Total
Passes | 3 3
Test Summary: | Pass Total
Variables | 7 7
Test Summary: | Pass Total
has_symbol | 10 10
Test Summary: | Pass Total
gensym | 1 1
Test Summary: | Pass Total
Native | 2 2
Test Summary: | Pass Total
World Age Problem | 1 1
Test Summary: | Pass Total
can't mutate input | 2 2
[ Info: Benchmarks
Compile Native:
0.001014 seconds (338 allocations: 22.781 KiB, 0.01% compilation time)
Compile BasicBlockInterpreter
0.000006 seconds (7 allocations: 928 bytes)
Compilation Overhead: Native / BasicBlockInterpreter: 168.2x
F Call Native 1st
0.032988 seconds (46.60 k allocations: 2.855 MiB, 99.95% compilation time)
F Call Native 2nd
0.000008 seconds (4 allocations: 176 bytes)
F Call Interpreter 1st
0.049228 seconds (38.39 k allocations: 2.415 MiB, 99.56% compilation time)
F Call Interpreter 2nd
0.000043 seconds (37 allocations: 976 bytes)
F Call Julia 1st
0.011556 seconds (16.15 k allocations: 957.291 KiB, 99.89% compilation time)
F Call Julia 2nd
0.000010 seconds (4 allocations: 176 bytes)
F Call Overhead: BasicBlockInterpreter / julia = 39.5x
F Call Overhead: Native / julia = 1.4x
[ Info: Compilation + F Call
BasicBlockInterpreter: 86.0µs
Native: 915.8µs
Native / BasicBlockInterpreter = 10.7x
Test Summary: | Pass Total
Benchmarks | 2 2
Testing OptimizingIR tests passed