Graphics.Rasterific.CubicBezier:isSufficientlyFlat from Rasterific-0.6.1

Time bar (total: 1.7s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

sample505.0ms (29.6%)

Memory
-9.9MiB live, 822.2MiB allocated
Samples
297.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 146.0ms
ival-mult: 131.0ms (89.5% of total)
ival-true: 7.0ms (4.8% of total)
exact: 5.0ms (3.4% of total)
ival-assert: 4.0ms (2.7% of total)
Bogosity

explain45.0ms (2.6%)

Memory
19.3MiB live, 56.7MiB 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
23.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 (88% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess13.0ms (0.8%)

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

simplify9.0ms (0.6%)

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

localize13.0ms (0.8%)

Memory
16.9MiB live, 16.9MiB 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 12 to 6 computations (50% saved)

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

series2.0ms (0.1%)

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

simplify2.0ms (0.1%)

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

rewrite83.0ms (4.9%)

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

eval2.0ms (0.1%)

Memory
-37.7MiB live, 1.1MiB allocated
Compiler

Compiled 21 to 11 computations (47.6% saved)

prune1.0ms (0%)

Memory
2.4MiB live, 2.4MiB 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.4%
#s(literal 16 binary64)
Compiler

Compiled 6 to 6 computations (0% saved)

simplify3.0ms (0.2%)

Memory
6.3MiB live, 6.3MiB 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
11.5MiB live, 11.5MiB allocated
Samples
4.0ms256×0valid
Compiler

Compiled 3 to 4 computations (-33.3% 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
2.2MiB live, 2.2MiB 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.3%)

Memory
6.6MiB live, 6.6MiB 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.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune1.0ms (0.1%)

Memory
2.3MiB live, 2.3MiB 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.4%
#s(literal 16 binary64)
Compiler

Compiled 12 to 10 computations (16.7% saved)

regimes3.0ms (0.2%)

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

regimes6.0ms (0.3%)

Memory
-31.5MiB live, 7.3MiB 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:

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

Compiled 6 to 5 computations (16.7% saved)

simplify8.0ms (0.5%)

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

soundness979.0ms (57.4%)

Memory
-19.9MiB live, 60.5MiB 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 (1%)

Memory
3.0MiB live, 41.5MiB 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...