Graphics.Rasterific.CubicBezier:isSufficientlyFlat from Rasterific-0.6.1

Time bar (total: 2.3s)

start0.0ms (0%)

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

sample1.5s (65.1%)

Memory
22.9MiB live, 916.1MiB allocated; 179ms collecting garbage
Samples
928.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 421.0ms
ival-mult: 405.0ms (96.2% of total)
ival-true: 6.0ms (1.4% of total)
exact: 5.0ms (1.2% of total)
ival-assert: 3.0ms (0.7% of total)
adjust: 2.0ms (0.5% of total)
Bogosity

explain46.0ms (2%)

Memory
-0.8MiB live, 91.9MiB allocated; 12ms 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
22.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.4% 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)

preprocess15.0ms (0.7%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
12310
25110
37110
48710
512510
614710
077
0117
0117
Stop Event
saturated
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)
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.6MiB live, 0.6MiB 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)

simplify4.0ms (0.2%)

Memory
4.8MiB live, 4.8MiB 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
0716
01116
01116
Stop Event
saturated
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 x #s(literal 16 binary64))
x
#s(literal 16 binary64)

localize31.0ms (1.3%)

Memory
-22.7MiB live, 22.7MiB 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
27.0ms256×0valid
Compiler

Compiled 12 to 6 computations (50% saved)

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

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

simplify505.0ms (21.6%)

Memory
-8.4MiB live, 132.1MiB allocated; 26ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01422
12422
23422
36022
411622
522822
673022
7523322
0851522
1865122
2893522
3906522
4975622
51154322
61223322
71238222
81238522
Stop Event
saturated
node limit
Counts
2 → 0
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) #s(hole binary64 (* 16 x)))

rewrite52.0ms (2.2%)

Memory
14.5MiB live, 56.0MiB allocated; 15ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11112
21312
31512
01512
11812
22112
32712
45812
018112
119512
222412
323912
424312
Stop Event
saturated
iter limit
iter limit
unsound
saturated
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 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 16 binary64)))
(*.f64 (*.f64 x 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 #s(literal 16 binary64) x) x))
(*.f64 #s(literal 16 binary64) x)
(*.f64 x #s(literal 16 binary64))

eval1.0ms (0%)

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

Compiled 64 to 19 computations (70.3% saved)

prune1.0ms (0%)

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

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New11011
Fresh000
Picked011
Done000
Total11112
Accuracy
100.0%
Counts
12 → 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.3%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
077
1117
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.5MiB live, 0.5MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 5 to 4 computations (20% saved)

preprocess149.0ms (6.4%)

Memory
-49.7MiB live, 32.2MiB allocated; 101ms 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...