-
Notifications
You must be signed in to change notification settings - Fork 5
/
1.6.0-DEV-22b5d93b2b.log
175 lines (159 loc) · 4.03 KB
/
1.6.0-DEV-22b5d93b2b.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
Julia Version 1.6.0-DEV.1069
Commit 22b5d93b2b (2020-09-28 17:33 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-10.0.1 (ORCJIT, skylake-avx512)
Environment:
JULIA_DEPOT_PATH = ::/usr/local/share/julia
JULIA_NUM_THREADS = 2
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
Testing OptimizingIR
Status `/tmp/jl_2sx4am/Project.toml`
[cc8fcbce] OptimizingIR v0.2.2
[8dfed614] Test
Status `/tmp/jl_2sx4am/Manifest.toml`
[cc8fcbce] OptimizingIR v0.2.2
[2a0f44e3] Base64
[8ba89e20] Distributed
[b77e0a4c] InteractiveUtils
[56ddb016] Logging
[d6f4376e] Markdown
[9a3f8284] Random
[9e88b42a] Serialization
[6462fe0b] Sockets
[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
---------------
inspect4 | %8
inspect2 | %6
inspect3 | %8
inspect1 | %3
---------------
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.002706 seconds (342 allocations: 22.859 KiB)
Compile BasicBlockInterpreter
0.000011 seconds (7 allocations: 928 bytes)
Compilation Overhead: Native / BasicBlockInterpreter: 281.7x
F Call Native 1st
0.070380 seconds (45.13 k allocations: 2.751 MiB)
F Call Native 2nd
0.000009 seconds (4 allocations: 176 bytes)
F Call Interpreter 1st
0.119964 seconds (121.64 k allocations: 7.261 MiB)
F Call Interpreter 2nd
0.000095 seconds (37 allocations: 976 bytes)
F Call Julia 1st
0.026400 seconds (15.77 k allocations: 927.057 KiB)
F Call Julia 2nd
0.000009 seconds (4 allocations: 176 bytes)
F Call Overhead: BasicBlockInterpreter / julia = 14.5x
F Call Overhead: Native / julia = 1.1x
[ Info: Compilation + F Call
BasicBlockInterpreter: 109.9µs
Native: 2633.7µs
Native / BasicBlockInterpreter = 24.0x
Test Summary: | Pass Total
Benchmarks | 2 2
Testing OptimizingIR tests passed