bug329 (missed optimization)

Time bar (total: 823.0ms)

start0.0ms (0%)

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

analyze11.0ms (1.4%)

Memory
-33.2MiB live, 8.9MiB allocated; 9ms 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)

sample696.0ms (84.5%)

Memory
50.6MiB live, 510.8MiB allocated; 665ms collecting garbage
Samples
528.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 102.0ms
ival-div!: 52.0ms (51.2% of total)
ival-atan: 48.0ms (47.3% of total)
adjust: 2.0ms (2% of total)
Bogosity

preprocess79.0ms (9.6%)

Memory
-29.0MiB live, 21.6MiB allocated; 21ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01426
12526
24426
34926
45026
Stop Event
saturated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(atan.f64 (/.f64 y x))
Symmetry

(negabs x)

(negabs y)

Compiler

Compiled 8 to 8 computations (0% saved)

series4.0ms (0.5%)

Memory
4.0MiB live, 4.0MiB allocated; 0ms collecting garbage
Counts
4 → 4
Calls
Call 1
Inputs
(atan.f64 (/.f64 y x))
(/.f64 y x)
y
x
Outputs
#s(approx (atan (/ y x)) #s(hole binary64 (atan (/ y x))))
#s(approx (/ y x) #s(hole binary64 (/ y x)))
#s(approx x #s(hole binary64 x))
#s(approx y #s(hole binary64 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)

rewrite13.0ms (1.6%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01031
01131
11431
22131
33431
43531
03531
Stop Event
iter-limit
saturated
iter-limit
Counts
8 → 11
Calls
Call 1
Inputs
(atan.f64 (/.f64 y x))
(/.f64 y x)
y
x
#s(approx (atan (/ y x)) #s(hole binary64 (atan (/ y x))))
#s(approx (/ y x) #s(hole binary64 (/ y x)))
#s(approx x #s(hole binary64 x))
#s(approx y #s(hole binary64 y))
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
#s(approx (atan (/ y x)) (atan.f64 (/.f64 y x)))
#s(approx (/ y x) (/.f64 y x))
#s(approx x x)
#s(approx y y)

eval1.0ms (0.1%)

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

Compiled 29 to 24 computations (17.2% saved)

prune1.0ms (0.1%)

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

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New707
Fresh000
Picked011
Done000
Total718
Accuracy
100.0%
Counts
8 → 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)

derivations0.0ms (0%)

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

Compiled 4 to 4 computations (0% saved)

preprocess18.0ms (2.2%)

Memory
-24.0MiB live, 21.6MiB allocated; 6ms collecting garbage
Remove

(negabs y)

(negabs x)

Compiler

Compiled 24 to 24 computations (0% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...