Graphics.Rasterific.CubicBezier:isSufficientlyFlat from Rasterific-0.6.1

Time bar (total: 1.0s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.3MiB live, 0.3MiB 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)

sample618.0ms (59.7%)

Memory
-14.8MiB live, 970.3MiB allocated; 247ms collecting garbage
Samples
392.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 153.0ms
ival-mult: 137.0ms (89.6% of total)
ival-true: 5.0ms (3.3% of total)
exact: 5.0ms (3.3% of total)
adjust: 3.0ms (2% of total)
ival-assert: 3.0ms (2% of total)
Bogosity

explain100.0ms (9.6%)

Memory
28.1MiB live, 74.5MiB allocated; 7ms 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
77.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 (87.7% 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)

preprocess21.0ms (2.1%)

Memory
-9.2MiB live, 43.1MiB allocated; 12ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0615
11710
24510
36510
48110
511810
613810
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)

prune0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated; 0ms 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)

simplify5.0ms (0.5%)

Memory
14.3MiB live, 14.3MiB allocated; 0ms collecting garbage
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x #s(literal 16 binary64))
cost-diff0
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0410
0610
1910
21210
31610
43710
57310
610510
712310
812310
012310
Stop Event
iter limit
saturated
iter limit
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 x #s(literal 16 binary64)) x)
(*.f64 (*.f64 #s(literal 16 binary64) x) x)
(*.f64 x #s(literal 16 binary64))
(*.f64 #s(literal 16 binary64) x)
x
#s(literal 16 binary64)

localize18.0ms (1.7%)

Memory
7.0MiB live, 49.7MiB allocated; 9ms collecting garbage
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
accuracy0.0
(*.f64 x #s(literal 16 binary64))
Samples
12.0ms256×0valid
Compiler

Compiled 12 to 6 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-mult: 3.0ms (78.9% 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)

series5.0ms (0.5%)

Memory
-36.1MiB live, 8.5MiB allocated; 4ms collecting garbage
Counts
2 → 2
Calls
Call 1
Inputs
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
(*.f64 x #s(literal 16 binary64))
Outputs
(* 16 (pow x 2))
(* 16 x)
Calls

3 calls:

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

simplify169.0ms (16.3%)

Memory
18.1MiB live, 180.8MiB allocated; 25ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
1118
2228
3488
41088
52198
67218
752228
085038
Stop Event
iter limit
node limit
Counts
2 → 2
Calls
Call 1
Inputs
(* 16 (pow x 2))
(* 16 x)
Outputs
(* 16 (pow x 2))
(*.f64 (*.f64 #s(literal 16 binary64) x) x)
(* 16 x)
(*.f64 #s(literal 16 binary64) x)

rewrite43.0ms (4.1%)

Memory
-37.2MiB live, 56.2MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048
068
198
2128
3188
4498
01708
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
2 → 11
Calls
Call 1
Inputs
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
(*.f64 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))

eval1.0ms (0.1%)

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

Compiled 84 to 25 computations (70.2% saved)

prune1.0ms (0.1%)

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

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New13013
Fresh000
Picked011
Done000
Total13114
Accuracy
100.0%
Counts
14 → 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.8%)

Memory
22.6MiB live, 22.6MiB 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)

preprocess46.0ms (4.5%)

Memory
-19.5MiB live, 35.6MiB allocated; 8ms 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...