Data.Octree.Internal:octantDistance from Octree-0.5.4.2

Time bar (total: 1.0s)

analyze1.0ms (0.1%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
100%99.9%0%0.1%0%0%0%3
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample752.0ms (73.1%)

Results
741.0ms8256×body256valid
Bogosity

preprocess64.0ms (6.2%)

Algorithm
egg-herbie
Rules
90×fma-def
22×*-commutative
16×+-commutative
15×associate-*r*
13×cancel-sign-sub
Problems
135×No Errors
121×(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01935
14135
27835
317635
427335
531335
632135
Stop Event
saturated
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
(sqrt.f64 (+.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 y y)))
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 (neg.f64 y) (neg.f64 y))))
(sqrt.f64 (+.f64 (*.f64 y y) (*.f64 x x)))
Outputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
(hypot.f64 x y)
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
(hypot.f64 x y)
(sqrt.f64 (+.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 y y)))
(hypot.f64 x y)
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 (neg.f64 y) (neg.f64 y))))
(hypot.f64 x y)
(sqrt.f64 (+.f64 (*.f64 y y) (*.f64 x x)))
(hypot.f64 x y)
Symmetry

(abs x)

(abs y)

(sort x y)

Compiler

Compiled 36 to 13 computations (63.9% saved)

eval0.0ms (0%)

Compiler

Compiled 11 to 7 computations (36.4% saved)

prune2.0ms (0.1%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x y)
100.0%
(hypot.f64 x y)
Compiler

Compiled 10 to 6 computations (40% saved)

localize18.0ms (1.7%)

Compiler

Compiled 8 to 4 computations (50% saved)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune1.0ms (0.1%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Accuracy
100.0%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x y)
Compiler

Compiled 18 to 10 computations (44.4% saved)

regimes17.0ms (1.7%)

Accuracy

Total -28.1b remaining (-∞%)

Threshold costs -28.1b (-∞%)

Counts
2 → 1
Calls
Call 1
Inputs
(hypot.f64 x y)
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
Outputs
(hypot.f64 x y)
Calls

6 calls:

3.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
3.0ms
y
3.0ms
x
3.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
3.0ms
(*.f64 y y)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
100.0%1(+.f64 (*.f64 x x) (*.f64 y y))
100.0%1(*.f64 x x)
100.0%1(*.f64 y y)
Compiler

Compiled 48 to 28 computations (41.7% saved)

simplify6.0ms (0.6%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
Stop Event
done
saturated
Calls
Call 1
Inputs
(hypot.f64 x y)
Outputs
(hypot.f64 x y)
Compiler

Compiled 5 to 3 computations (40% saved)

soundness42.0ms (4.1%)

Rules
90×fma-def
22×*-commutative
16×+-commutative
15×associate-*r*
13×cancel-sign-sub
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01935
14135
27835
317635
427335
531335
632135
Stop Event
saturated
Compiler

Compiled 13 to 7 computations (46.2% saved)

end0.0ms (0%)

preprocess124.0ms (12.1%)

Remove

(sort x y)

(abs y)

(abs x)

Compiler

Compiled 102 to 62 computations (39.2% saved)

Profiling

Loading profile data...