Graphics.Rasterific.CubicBezier:isSufficientlyFlat from Rasterific-0.6.1

Time bar (total: 1.1s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

Compiled 7 to 6 computations (14.3% saved)

sample794.0ms (69.1%)

Memory
-7.6MiB live, 1 138.3MiB allocated; 301ms collecting garbage
Samples
550.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 171.0ms
ival-mult: 153.0ms (89.4% of total)
ival-true: 6.0ms (3.5% of total)
exact: 6.0ms (3.5% of total)
ival-assert: 4.0ms (2.3% of total)
adjust: 2.0ms (1.2% of total)
Bogosity

explain80.0ms (7%)

Memory
-22.2MiB live, 92.7MiB allocated; 35ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(*.f64 (*.f64 x #s(literal 16 binary64)) x)
00-0-#s(literal 16 binary64)
00-0-(*.f64 x #s(literal 16 binary64))
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 29 to 16 computations (44.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-mult: 7.0ms (83.1% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess16.0ms (1.4%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0818
12115
24915
37015
48515
512315
614515
045
065
195
2125
3165
4375
5735
61055
71235
81235
01235
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
Outputs
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
(*.f64 (*.f64 #s(literal 16 binary64) x) x)
Symmetry

(abs x)

Compiler

Compiled 5 to 4 computations (20% saved)

eval0.0ms (0%)

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

Compiled 0 to 1 computations (-∞% saved)

prune5.0ms (0.4%)

Memory
-40.7MiB live, 3.7MiB allocated; 7ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
Compiler

Compiled 5 to 4 computations (20% saved)

series3.0ms (0.3%)

Memory
5.3MiB live, 5.3MiB allocated; 0ms collecting garbage
Counts
4 → 3
Calls
Call 1
Inputs
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
(*.f64 x #s(literal 16 binary64))
x
#s(literal 16 binary64)
Outputs
#s(approx (* (* x 16) x) #s(hole binary64 (* 16 (pow x 2))))
#s(approx (* x 16) #s(hole binary64 (* 16 x)))
#s(approx x #s(hole binary64 x))
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((* (* x 16) x) (* x 16) x 16)
1.0ms
x
@inf
((* (* x 16) x) (* x 16) x 16)
1.0ms
x
@0
((* (* x 16) x) (* x 16) x 16)

simplify167.0ms (14.5%)

Memory
9.6MiB live, 155.9MiB allocated; 19ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01121
11821
22821
35421
411021
522121
672321
7522621
0850521
Stop Event
iter limit
node limit
Counts
3 → 3
Calls
Call 1
Inputs
#s(approx (* (* x 16) x) #s(hole binary64 (* 16 (pow x 2))))
#s(approx (* x 16) #s(hole binary64 (* 16 x)))
#s(approx x #s(hole binary64 x))
Outputs
#s(approx (* (* x 16) x) #s(hole binary64 (* 16 (pow x 2))))
#s(approx (* (* x 16) x) (*.f64 (*.f64 x x) #s(literal 16 binary64)))
#s(approx (* x 16) #s(hole binary64 (* 16 x)))
#s(approx (* x 16) (*.f64 #s(literal 16 binary64) x))
#s(approx x #s(hole binary64 x))
#s(approx x x)

rewrite35.0ms (3.1%)

Memory
-2.3MiB live, 43.8MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0410
0610
1910
21210
31810
44910
017010
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
4 → 13
Calls
Call 1
Inputs
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
(*.f64 x #s(literal 16 binary64))
x
#s(literal 16 binary64)
Outputs
(*.f64 (*.f64 (neg.f64 x) #s(literal 16 binary64)) (neg.f64 x))
(*.f64 (*.f64 x x) #s(literal 16 binary64))
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 16 binary64)))
(*.f64 (*.f64 #s(literal 16 binary64) x) x)
(*.f64 #s(literal 16 binary64) (*.f64 x x))
(*.f64 x (*.f64 #s(literal 16 binary64) x))
(neg.f64 (*.f64 (*.f64 (neg.f64 x) #s(literal 16 binary64)) x))
(neg.f64 (*.f64 x (*.f64 (neg.f64 x) #s(literal 16 binary64))))
(neg.f64 (*.f64 (*.f64 x x) #s(literal 16 binary64)))
(*.f64 #s(literal 16 binary64) x)
(*.f64 x #s(literal 16 binary64))
x
#s(literal 16 binary64)

eval1.0ms (0.1%)

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

Compiled 113 to 29 computations (74.3% saved)

prune2.0ms (0.2%)

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

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New18018
Fresh000
Picked011
Done000
Total18119
Accuracy
100.0%
Counts
19 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
Compiler

Compiled 10 to 8 computations (20% saved)

simplify8.0ms (0.7%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
045
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
Outputs
(*.f64 (*.f64 x #s(literal 16 binary64)) x)

derivations0.0ms (0%)

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

Compiled 5 to 4 computations (20% saved)

preprocess36.0ms (3.2%)

Memory
-26.7MiB live, 18.5MiB allocated; 11ms collecting garbage
Remove

(abs x)

Compiler

Compiled 40 to 32 computations (20% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...