-
Notifications
You must be signed in to change notification settings - Fork 5
/
1.6.0-DEV-7d3dac44dc.log
173 lines (157 loc) · 4.08 KB
/
1.6.0-DEV-7d3dac44dc.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
Julia Version 1.6.0-DEV.1148
Commit 7d3dac44dc (2020-10-06 21:26 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: AMD EPYC 7502 32-Core Processor
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-10.0.1 (ORCJIT, znver2)
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_scMrWY/Project.toml`
[cc8fcbce] OptimizingIR v0.2.2
[8dfed614] Test
Status `/tmp/jl_scMrWY/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
---------------
inspect2 | %6
inspect4 | %8
inspect1 | %3
inspect3 | %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.001437 seconds (342 allocations: 22.859 KiB, 0.03% compilation time)
Compile BasicBlockInterpreter
0.000016 seconds (7 allocations: 928 bytes)
Compilation Overhead: Native / BasicBlockInterpreter: 105.2x
F Call Native 1st
0.077641 seconds (45.13 k allocations: 2.753 MiB, 19.58% gc time, 145.47% compilation time)
F Call Native 2nd
0.000014 seconds (4 allocations: 176 bytes)
F Call Interpreter 1st
0.085520 seconds (37.09 k allocations: 2.325 MiB, 99.42% compilation time)
F Call Interpreter 2nd
0.000118 seconds (37 allocations: 976 bytes)
F Call Julia 1st
0.020498 seconds (15.77 k allocations: 927.057 KiB, 99.86% compilation time)
F Call Julia 2nd
0.000010 seconds (4 allocations: 176 bytes)
F Call Overhead: BasicBlockInterpreter / julia = 17.7x
F Call Overhead: Native / julia = 1.1x
[ Info: Compilation + F Call
BasicBlockInterpreter: 132.8µs
Native: 1534.3µs
Native / BasicBlockInterpreter = 11.6x
Test Summary: | Pass Total
Benchmarks | 2 2
Testing OptimizingIR tests passed