Graphics.Rasterific.CubicBezier:isSufficientlyFlat from Rasterific-0.6.1

Time bar (total: 2.1s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

sample700.0ms (33.6%)

Memory
28.3MiB live, 568.6MiB allocated
Samples
447.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 202.0ms
ival-mult: 189.0ms (93.7% of total)
ival-true: 6.0ms (3% of total)
exact: 4.0ms (2% of total)
ival-assert: 3.0ms (1.5% of total)
Bogosity

explain127.0ms (6.1%)

Memory
-32.6MiB live, 64.2MiB allocated
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
64.0ms512×0valid
Compiler

Compiled 39 to 20 computations (48.7% saved)

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

preprocess14.0ms (0.7%)

Memory
15.5MiB live, 15.5MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0615
12310
26310
316410
421210
522410
045
065
195
2125
0125
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
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

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

simplify3.0ms (0.1%)

Memory
3.4MiB live, 3.4MiB allocated
Algorithm
egg-herbie
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
01210
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)

localize12.0ms (0.6%)

Memory
18.5MiB live, 18.5MiB allocated
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
8.0ms256×0valid
Compiler

Compiled 22 to 10 computations (54.5% saved)

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

series41.0ms (2%)

Memory
-33.1MiB live, 5.2MiB allocated
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
39.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))

simplify2.0ms (0.1%)

Memory
3.4MiB live, 3.4MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
198
2118
0118
Stop Event
iter limit
saturated
Counts
2 → 2
Calls
Call 1
Inputs
(* 16 (pow x 2))
(* 16 x)
Outputs
(* 16 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 16 binary64))
(* 16 x)
(*.f64 #s(literal 16 binary64) x)

rewrite94.0ms (4.5%)

Memory
21.2MiB live, 60.1MiB allocated
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
048
066
196
2126
3146
4216
5376
6936
72802
816722
916972
1018202
1130262
084082
Stop Event
iter limit
node limit
iter limit
Counts
2 → 2
Calls
Call 1
Inputs
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
(*.f64 x #s(literal 16 binary64))
Outputs
#s(literal 16 binary64)
#s(literal 16 binary64)

eval0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Compiler

Compiled 21 to 11 computations (47.6% saved)

prune1.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New213
Fresh000
Picked011
Done000
Total224
Accuracy
100.0%
Counts
4 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
4.5%
#s(literal 16 binary64)
Compiler

Compiled 6 to 6 computations (0% saved)

simplify2.0ms (0.1%)

Memory
1.1MiB live, 1.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011
011
011
Stop Event
saturated
saturated
saturated
Calls
Call 1
Inputs
#s(literal 16 binary64)
Outputs
#s(literal 16 binary64)

localize6.0ms (0.3%)

Memory
5.3MiB live, 5.3MiB allocated
Samples
3.0ms256×0valid
Compiler

Compiled 4 to 6 computations (-50% saved)

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

series0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Counts
0 → 0
Calls
Call 1
Inputs
Outputs
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@0
()
0.0ms
x
@inf
()
0.0ms
x
@-inf
()

simplify2.0ms (0.1%)

Memory
0.8MiB live, 0.8MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
000
Stop Event
saturated
saturated
Counts
0 → 0
Calls
Call 1
Inputs
Outputs

rewrite5.0ms (0.2%)

Memory
2.1MiB live, 2.1MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
000
000
Stop Event
saturated
saturated
saturated
Counts
0 → 0
Calls
Call 1
Inputs
Outputs

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune74.0ms (3.5%)

Memory
-32.2MiB live, 6.6MiB allocated
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done011
Total022
Accuracy
100.0%
Counts
2 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
4.5%
#s(literal 16 binary64)
Compiler

Compiled 12 to 10 computations (16.7% saved)

regimes3.0ms (0.1%)

Memory
6.5MiB live, 6.5MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
#s(literal 16 binary64)
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
Outputs
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
Calls

2 calls:

1.0ms
x
1.0ms
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(*.f64 (*.f64 x #s(literal 16 binary64)) x)
Compiler

Compiled 6 to 5 computations (16.7% saved)

regimes2.0ms (0.1%)

Memory
5.4MiB live, 5.4MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(literal 16 binary64)
Outputs
#s(literal 16 binary64)
Calls

2 calls:

1.0ms
x
1.0ms
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
Results
AccuracySegmentsBranch
4.5%1x
4.5%1(*.f64 (*.f64 x #s(literal 16 binary64)) x)
Compiler

Compiled 6 to 5 computations (16.7% saved)

simplify8.0ms (0.4%)

Memory
13.3MiB live, 13.3MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

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

soundness970.0ms (46.5%)

Memory
-18.7MiB live, 59.3MiB allocated
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
048
066
196
2126
3146
4216
5376
6936
72802
816722
916972
1018202
1130262
084082
Stop Event
done
iter limit
node limit
iter limit
Compiler

Compiled 6 to 4 computations (33.3% saved)

preprocess17.0ms (0.8%)

Memory
2.6MiB live, 38.6MiB allocated
Remove

(abs x)

Compiler

Compiled 42 to 32 computations (23.8% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...