bug329 (missed optimization)

Time bar (total: 1.0s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage

analyze20.0ms (2%)

Memory
-24.4MiB live, 17.9MiB allocated; 20ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%50%50%0%0%0%0
0%0%50%50%0%0%0%1
50%25%25%50%0%0%0%2
50%25%25%50%0%0%0%3
75%37.5%12.5%50%0%0%0%4
75%37.5%12.5%50%0%0%0%5
87.5%43.7%6.2%50%0%0%0%6
87.5%43.7%6.2%50%0%0%0%7
93.8%46.8%3.1%50%0%0%0%8
93.8%46.8%3.1%50%0%0%0%9
96.9%48.4%1.6%50%0%0%0%10
96.9%48.4%1.6%50%0%0%0%11
98.4%49.2%0.8%50%0%0%0%12
Compiler

Compiled 8 to 7 computations (12.5% saved)

sample798.0ms (79.2%)

Memory
-48.4MiB live, 900.3MiB allocated; 261ms collecting garbage
Samples
550.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 320.0ms
ival-div: 170.0ms (53.1% of total)
ival-atan: 73.0ms (22.8% of total)
ival->=: 63.0ms (19.7% of total)
exact: 7.0ms (2.2% of total)
ival-assert: 4.0ms (1.3% of total)
adjust: 2.0ms (0.6% of total)
Bogosity

explain43.0ms (4.3%)

Memory
27.9MiB live, 72.0MiB allocated; 10ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(/.f64 y x)
00-0-y
00-0-(atan.f64 (/.f64 y x))
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
19.0ms512×0valid
Compiler

Compiled 26 to 16 computations (38.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-div: 4.0ms (50.4% of total)
ival-atan: 3.0ms (37.8% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess62.0ms (6.2%)

Memory
-23.4MiB live, 21.5MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01226
11426
044
064
064
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(atan.f64 (/.f64 y x))
Outputs
(atan.f64 (/.f64 y x))
Compiler

Compiled 4 to 4 computations (0% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune1.0ms (0.1%)

Memory
1.8MiB live, 1.8MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(atan.f64 (/.f64 y x))
Compiler

Compiled 4 to 4 computations (0% saved)

series4.0ms (0.4%)

Memory
11.5MiB live, 11.5MiB allocated; 0ms collecting garbage
Counts
4 → 4
Calls
Call 1
Inputs
(atan.f64 (/.f64 y x))
(/.f64 y x)
y
x
Outputs
(atan (/ y x))
(/ y x)
x
y
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((atan (/ y x)) (/ y x) y x)
1.0ms
x
@-inf
((atan (/ y x)) (/ y x) y x)
1.0ms
y
@inf
((atan (/ y x)) (/ y x) y x)
1.0ms
y
@-inf
((atan (/ y x)) (/ y x) y x)
1.0ms
y
@0
((atan (/ y x)) (/ y x) y x)

simplify3.0ms (0.3%)

Memory
7.9MiB live, 7.9MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
049
049
Stop Event
iter limit
saturated
Counts
4 → 2
Calls
Call 1
Inputs
(atan (/ y x))
(/ y x)
x
y
Outputs
(atan (/ y x))
(atan.f64 (/.f64 y x))
(/ y x)
(/.f64 y x)
x
y

rewrite42.0ms (4.2%)

Memory
-18.2MiB live, 26.3MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
049
069
199
2169
3299
4309
0309
Stop Event
iter limit
saturated
iter limit
Counts
4 → 7
Calls
Call 1
Inputs
(atan.f64 (/.f64 y x))
(/.f64 y x)
y
x
Outputs
(neg.f64 (atan.f64 (/.f64 (neg.f64 y) x)))
(atan.f64 (/.f64 y x))
(/.f64 (neg.f64 y) (neg.f64 x))
(/.f64 y x)
(neg.f64 (/.f64 (neg.f64 y) x))
y
x

eval1.0ms (0.1%)

Memory
2.3MiB live, 2.3MiB allocated; 0ms collecting garbage
Compiler

Compiled 51 to 18 computations (64.7% saved)

prune1.0ms (0.1%)

Memory
2.0MiB live, 2.0MiB allocated; 0ms collecting garbage
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New909
Fresh000
Picked011
Done000
Total9110
Accuracy
100.0%
Counts
10 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(atan.f64 (/.f64 y x))
Compiler

Compiled 8 to 8 computations (0% saved)

simplify8.0ms (0.8%)

Memory
15.0MiB live, 15.0MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
044
Stop Event
saturated
Calls
Call 1
Inputs
(atan.f64 (/.f64 y x))
Outputs
(atan.f64 (/.f64 y x))

derivations0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 4 to 4 computations (0% saved)

preprocess24.0ms (2.4%)

Memory
-24.8MiB live, 28.5MiB allocated; 15ms collecting garbage
Compiler

Compiled 22 to 22 computations (0% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...