Graphics.Rasterific.CubicBezier:isSufficientlyFlat from Rasterific-0.6.1

Time bar (total: 1.2s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample756.0ms (63%)

Memory
43.2MiB live, 1 038.6MiB allocated; 211ms collecting garbage
Samples
395.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 199.0ms
ival-mult: 184.0ms (92.2% of total)
ival-true: 5.0ms (2.5% of total)
exact: 5.0ms (2.5% of total)
ival-assert: 3.0ms (1.5% of total)
adjust: 2.0ms (1% of total)
Bogosity

explain95.0ms (7.9%)

Memory
-38.4MiB live, 150.9MiB allocated; 28ms 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
18.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 (84% 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.3%)

Memory
35.2MiB live, 35.2MiB allocated; 0ms 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.0MiB live, 0.0MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.8MiB live, 0.8MiB 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.4%)

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

localize35.0ms (3%)

Memory
-48.7MiB live, 23.0MiB allocated; 14ms 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
31.0ms256×0valid
Compiler

Compiled 12 to 6 computations (50% saved)

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

series2.0ms (0.2%)

Memory
5.5MiB live, 5.5MiB allocated; 0ms collecting garbage
Counts
2 → 2
Calls
Call 1
Inputs
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
(*.f64 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)))
Calls

3 calls:

TimeVariablePointExpression
1.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))

simplify156.0ms (13%)

Memory
18.8MiB live, 157.3MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01018
11718
22718
35318
410918
522018
672218
7522018
0850118
Stop Event
iter limit
node limit
Counts
2 → 2
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)))
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))

rewrite91.0ms (7.6%)

Memory
-8.6MiB live, 87.0MiB allocated; 16ms 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
2.6MiB live, 2.6MiB allocated; 0ms collecting garbage
Compiler

Compiled 84 to 25 computations (70.2% saved)

prune1.0ms (0.1%)

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

simplify30.0ms (2.5%)

Memory
-25.3MiB live, 21.4MiB allocated; 3ms 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.3MiB live, 0.3MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 5 to 4 computations (20% saved)

preprocess9.0ms (0.8%)

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