Graphics.Rasterific.Linear:$cquadrance from Rasterific-0.6.1

Time bar (total: 1.5s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample684.0ms (44.3%)

Memory
-38.7MiB live, 603.7MiB allocated; 285ms collecting garbage
Samples
398.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 142.0ms
ival-mult!: 95.0ms (66.7% of total)
ival-add!: 45.0ms (31.6% of total)
adjust: 2.0ms (1.4% of total)
Bogosity

preprocess148.0ms (9.6%)

Memory
-5.1MiB live, 47.4MiB allocated; 18ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01444
15044
214444
318944
440644
5205844
6497244
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (*.f64 x x) (*.f64 y y))
Symmetry

(abs x)

(abs y)

(sort x y)

Compiler

Compiled 14 to 10 computations (28.6% saved)

series138.0ms (9%)

Memory
0.9MiB live, 46.9MiB allocated; 23ms collecting garbage
Counts
5 → 7
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) (*.f64 y y))
(*.f64 x x)
x
(*.f64 y y)
y
Outputs
#s(approx (+ (* x x) (* y y)) (pow.f64 y #s(literal 2 binary64)))
#s(approx (+ (* x x) (* y y)) (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))
#s(approx (* x x) (pow.f64 x #s(literal 2 binary64)))
#s(approx x x)
#s(approx (+ (* x x) (* y y)) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))))))
#s(approx y y)
#s(approx (+ (* x x) (* y y)) (*.f64 (pow.f64 y #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))))
Calls

6 calls:

TimeVariablePoint
1.0ms
x
inf
1.0ms
x
-inf
1.0ms
y
inf
1.0ms
y
-inf
1.0ms
x
0

rewrite198.0ms (12.9%)

Memory
7.5MiB live, 105.8MiB allocated; 40ms collecting garbage
Counts
5 → 20
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) (*.f64 y y))
(*.f64 x x)
x
(*.f64 y y)
y
Outputs
(+.f64 (*.f64 x x) (*.f64 y y))
(+.f64 (*.f64 y y) (*.f64 x x))
(-.f64 (*.f64 x x) (neg.f64 (*.f64 y y)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 y) y))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 y y))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 y y))
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 x x))
(fma.f64 (fabs.f64 y) (fabs.f64 y) (*.f64 x x))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(*.f64 x x)
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(pow.f64 x #s(literal 2 binary64))
x
(*.f64 y y)
(*.f64 (neg.f64 y) (neg.f64 y))
(*.f64 (fabs.f64 y) (fabs.f64 y))
(pow.f64 y #s(literal 2 binary64))
y

eval2.0ms (0.1%)

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

Compiled 218 to 55 computations (74.8% saved)

prune1.0ms (0.1%)

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

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New21122
Fresh000
Picked101
Done000
Total22123
Accuracy
100.0%
Counts
23 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 y y (*.f64 x x))
Compiler

Compiled 6 to 4 computations (33.3% saved)

series133.0ms (8.7%)

Memory
2.1MiB live, 96.2MiB allocated; 5ms collecting garbage
Counts
4 → 7
Calls
Call 1
Inputs
(fma.f64 y y (*.f64 x x))
y
(*.f64 x x)
x
Outputs
#s(approx (+ (* y y) (* x x)) (pow.f64 y #s(literal 2 binary64)))
#s(approx (+ (* y y) (* x x)) (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))
#s(approx (* x x) (pow.f64 x #s(literal 2 binary64)))
#s(approx x x)
#s(approx (+ (* y y) (* x x)) (*.f64 (pow.f64 x #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))))))
#s(approx y y)
#s(approx (+ (* y y) (* x x)) (*.f64 (pow.f64 y #s(literal 2 binary64)) (+.f64 #s(literal 1 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 y #s(literal 2 binary64))))))
Calls

6 calls:

TimeVariablePoint
1.0ms
x
-inf
1.0ms
x
inf
0.0ms
y
inf
0.0ms
y
-inf
0.0ms
x
0

rewrite189.0ms (12.3%)

Memory
25.9MiB live, 255.7MiB allocated; 27ms collecting garbage
Counts
4 → 16
Calls
Call 1
Inputs
(fma.f64 y y (*.f64 x x))
y
(*.f64 x x)
x
Outputs
(+.f64 (*.f64 y y) (*.f64 x x))
(+.f64 (*.f64 x x) (*.f64 y y))
(-.f64 (*.f64 y y) (neg.f64 (*.f64 x x)))
(-.f64 (*.f64 y y) (*.f64 (neg.f64 x) x))
(fma.f64 y y (*.f64 x x))
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 x x))
(fma.f64 (fabs.f64 y) (fabs.f64 y) (*.f64 x x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 y y))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 y y))
(fma.f64 x x (*.f64 y y))
y
(*.f64 x x)
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(pow.f64 x #s(literal 2 binary64))
x

eval2.0ms (0.1%)

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

Compiled 188 to 49 computations (73.9% saved)

prune21.0ms (1.3%)

Memory
-41.2MiB live, 6.0MiB allocated; 24ms collecting garbage
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New19019
Fresh000
Picked011
Done000
Total19120
Accuracy
100.0%
Counts
20 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 y y (*.f64 x x))
Compiler

Compiled 6 to 4 computations (33.3% saved)

regimes6.0ms (0.4%)

Memory
27.7MiB live, 27.7MiB allocated; 0ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

5 calls:

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

Compiled 28 to 21 computations (25% saved)

derivations0.0ms (0%)

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

Compiled 6 to 4 computations (33.3% saved)

preprocess19.0ms (1.2%)

Memory
-3.9MiB live, 39.5MiB allocated; 11ms collecting garbage
Remove

(sort x y)

(abs y)

(abs x)

Compiler

Compiled 49 to 33 computations (32.7% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...