-
Notifications
You must be signed in to change notification settings - Fork 5
/
1.5.0-DEV-7206b56e94.log
174 lines (158 loc) · 3.99 KB
/
1.5.0-DEV-7206b56e94.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
Julia Version 1.5.0-DEV.485
Commit 7206b56e94 (2020-03-18 17:25 UTC)
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-9.0.1 (ORCJIT, skylake)
Environment:
JULIA_DEPOT_PATH = ::/usr/local/share/julia
JULIA_NUM_THREADS = 2
Resolving package versions...
Installed OptimizingIR ─ v0.2.1
Updating `~/.julia/environments/v1.5/Project.toml`
cc8fcbce + OptimizingIR v0.2.1
Updating `~/.julia/environments/v1.5/Manifest.toml`
cc8fcbce + OptimizingIR v0.2.1
Testing OptimizingIR
Status `/tmp/jl_tlRmxe/Project.toml`
cc8fcbce OptimizingIR v0.2.1
8dfed614 Test
Status `/tmp/jl_tlRmxe/Manifest.toml`
cc8fcbce OptimizingIR v0.2.1
2a0f44e3 Base64
8ba89e20 Distributed
b77e0a4c InteractiveUtils
56ddb016 Logging
d6f4376e Markdown
9a3f8284 Random
9e88b42a Serialization
6462fe0b Sockets
8dfed614 Test
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
---------------
inspect2 | %6
inspect3 | %8
inspect1 | %3
inspect4 | %8
---------------
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.002955 seconds (335 allocations: 22.890 KiB)
Compile BasicBlockInterpreter
0.000015 seconds (7 allocations: 928 bytes)
Compilation Overhead: Native / BasicBlockInterpreter: 354.2x
F Call Native 1st
0.072719 seconds (45.80 k allocations: 2.520 MiB)
F Call Native 2nd
0.000007 seconds (4 allocations: 176 bytes)
F Call Interpreter 1st
0.118831 seconds (68.52 k allocations: 3.837 MiB)
F Call Interpreter 2nd
0.000086 seconds (37 allocations: 976 bytes)
F Call Julia 1st
0.025242 seconds (16.78 k allocations: 891.616 KiB)
F Call Julia 2nd
0.000007 seconds (4 allocations: 176 bytes)
F Call Overhead: BasicBlockInterpreter / julia = 16.6x
F Call Overhead: Native / julia = 1.1x
[ Info: Compilation + F Call
BasicBlockInterpreter: 93.1µs
Native: 3002.3µs
Native / BasicBlockInterpreter = 32.2x
Test Summary: | Pass Total
Benchmarks | 2 2
Testing OptimizingIR tests passed