Graphics.Rasterific.CubicBezier:isSufficientlyFlat from Rasterific-0.6.1

Time bar (total: 3.0s)

analyze0.0ms (0%)

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

sample579.0ms (19.6%)

Memory
6.9MiB live, 681.0MiB allocated
Samples
293.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 145.0ms
ival-mult: 133.0ms (91.8% of total)
ival-true: 5.0ms (3.4% of total)
exact: 4.0ms (2.8% of total)
ival-assert: 3.0ms (2.1% of total)
Bogosity

preprocess16.0ms (0.5%)

Memory
16.3MiB live, 16.3MiB allocated
Algorithm
egg-herbie
Rules
46×distribute-lft-neg-in
38×associate-*r*
32×distribute-lft-in
24×cancel-sign-sub-inv
24×distribute-rgt-neg-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0615
12310
26310
316410
421610
522810
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 x (*.f64 x #s(literal 16 binary64)))
Symmetry

(abs x)

explain71.0ms (2.4%)

Memory
18.2MiB live, 55.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
17.0ms512×0valid
Compiler

Compiled 36 to 20 computations (44.4% saved)

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

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
Compiler

Compiled 6 to 4 computations (33.3% saved)

simplify18.0ms (0.6%)

Memory
-33.7MiB live, 5.7MiB 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)
Rules
14×lower-*.f32
10×lower-*.f64
*-commutative
lift-*.f64
associate-*l*
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 x (*.f64 x #s(literal 16 binary64)))
(*.f64 x #s(literal 16 binary64))
x
#s(literal 16 binary64)

localize14.0ms (0.5%)

Memory
35.9MiB live, 35.9MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
accuracy100.0%
(*.f64 x #s(literal 16 binary64))
Samples
9.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 (77.9% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series36.0ms (1.2%)

Memory
-33.4MiB live, 5.6MiB allocated
Counts
2 → 24
Calls
Call 1
Inputs
#<alt (*.f64 (*.f64 x #s(literal 16 binary64)) x)>
#<alt (*.f64 x #s(literal 16 binary64))>
Outputs
#<alt (* 16 (pow x 2))>
#<alt (* 16 (pow x 2))>
#<alt (* 16 (pow x 2))>
#<alt (* 16 (pow x 2))>
#<alt (* 16 (pow x 2))>
#<alt (* 16 (pow x 2))>
#<alt (* 16 (pow x 2))>
#<alt (* 16 (pow x 2))>
#<alt (* 16 (pow x 2))>
#<alt (* 16 (pow x 2))>
#<alt (* 16 (pow x 2))>
#<alt (* 16 (pow x 2))>
#<alt (* 16 x)>
#<alt (* 16 x)>
#<alt (* 16 x)>
#<alt (* 16 x)>
#<alt (* 16 x)>
#<alt (* 16 x)>
#<alt (* 16 x)>
#<alt (* 16 x)>
#<alt (* 16 x)>
#<alt (* 16 x)>
#<alt (* 16 x)>
#<alt (* 16 x)>
Calls

6 calls:

TimeVariablePointExpression
35.0ms
x
@0
(* (* x 16) x)
0.0ms
x
@0
(* x 16)
0.0ms
x
@inf
(* (* x 16) x)
0.0ms
x
@-inf
(* x 16)
0.0ms
x
@inf
(* x 16)

simplify4.0ms (0.1%)

Memory
8.1MiB live, 8.1MiB allocated
Algorithm
egg-herbie
Rules
14×lower-*.f64
14×lower-*.f32
*-commutative
lower-pow.f64
associate-*r*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0696
1996
21196
01196
Stop Event
iter limit
saturated
Counts
24 → 24
Calls
Call 1
Inputs
(* 16 (pow x 2))
(* 16 (pow x 2))
(* 16 (pow x 2))
(* 16 (pow x 2))
(* 16 (pow x 2))
(* 16 (pow x 2))
(* 16 (pow x 2))
(* 16 (pow x 2))
(* 16 (pow x 2))
(* 16 (pow x 2))
(* 16 (pow x 2))
(* 16 (pow x 2))
(* 16 x)
(* 16 x)
(* 16 x)
(* 16 x)
(* 16 x)
(* 16 x)
(* 16 x)
(* 16 x)
(* 16 x)
(* 16 x)
(* 16 x)
(* 16 x)
Outputs
(* 16 (pow x 2))
(*.f64 x (*.f64 #s(literal 16 binary64) x))
(* 16 (pow x 2))
(*.f64 x (*.f64 #s(literal 16 binary64) x))
(* 16 (pow x 2))
(*.f64 x (*.f64 #s(literal 16 binary64) x))
(* 16 (pow x 2))
(*.f64 x (*.f64 #s(literal 16 binary64) x))
(* 16 (pow x 2))
(*.f64 x (*.f64 #s(literal 16 binary64) x))
(* 16 (pow x 2))
(*.f64 x (*.f64 #s(literal 16 binary64) x))
(* 16 (pow x 2))
(*.f64 x (*.f64 #s(literal 16 binary64) x))
(* 16 (pow x 2))
(*.f64 x (*.f64 #s(literal 16 binary64) x))
(* 16 (pow x 2))
(*.f64 x (*.f64 #s(literal 16 binary64) x))
(* 16 (pow x 2))
(*.f64 x (*.f64 #s(literal 16 binary64) x))
(* 16 (pow x 2))
(*.f64 x (*.f64 #s(literal 16 binary64) x))
(* 16 (pow x 2))
(*.f64 x (*.f64 #s(literal 16 binary64) x))
(* 16 x)
(*.f64 #s(literal 16 binary64) x)
(* 16 x)
(*.f64 #s(literal 16 binary64) x)
(* 16 x)
(*.f64 #s(literal 16 binary64) x)
(* 16 x)
(*.f64 #s(literal 16 binary64) x)
(* 16 x)
(*.f64 #s(literal 16 binary64) x)
(* 16 x)
(*.f64 #s(literal 16 binary64) x)
(* 16 x)
(*.f64 #s(literal 16 binary64) x)
(* 16 x)
(*.f64 #s(literal 16 binary64) x)
(* 16 x)
(*.f64 #s(literal 16 binary64) x)
(* 16 x)
(*.f64 #s(literal 16 binary64) x)
(* 16 x)
(*.f64 #s(literal 16 binary64) x)
(* 16 x)
(*.f64 #s(literal 16 binary64) x)

rewrite304.0ms (10.3%)

Memory
6.1MiB live, 165.8MiB allocated
Algorithm
batch-egg-rewrite
Rules
2 136×lower-pow.f64
2 136×lower-pow.f32
1 588×lower-*.f64
1 588×lower-*.f32
1 412×prod-exp
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
048
0610
1910
21210
31410
42110
53710
69310
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
8.1MiB live, 8.1MiB allocated
Compiler

Compiled 149 to 5 computations (96.6% saved)

prune2.0ms (0.1%)

Memory
8.4MiB live, 8.5MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New24226
Fresh000
Picked011
Done000
Total24327
Accuracy
100.0%
Counts
27 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
6.8%
(*.f64 #s(literal 16 binary64) x)
4.2%
#s(literal 16 binary64)
Compiler

Compiled 12 to 9 computations (25% saved)

simplify10.0ms (0.4%)

Memory
-23.2MiB live, 18.4MiB allocated
Algorithm
egg-herbie
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 #s(literal 16 binary64) x)
Rules
lower-*.f32
*-commutative
lower-*.f64
lift-*.f64
Iterations

Useful iterations: 0 (0.0ms)

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

localize14.0ms (0.5%)

Memory
-9.9MiB live, 28.2MiB allocated
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(*.f64 #s(literal 16 binary64) x)
Samples
7.0ms256×0valid
Compiler

Compiled 8 to 5 computations (37.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.0ms
ival-mult: 2.0ms (89% of total)
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.6MiB live, 0.6MiB allocated
Counts
1 → 12
Calls
Call 1
Inputs
#<alt (*.f64 #s(literal 16 binary64) x)>
Outputs
#<alt (* 16 x)>
#<alt (* 16 x)>
#<alt (* 16 x)>
#<alt (* 16 x)>
#<alt (* 16 x)>
#<alt (* 16 x)>
#<alt (* 16 x)>
#<alt (* 16 x)>
#<alt (* 16 x)>
#<alt (* 16 x)>
#<alt (* 16 x)>
#<alt (* 16 x)>
Calls

3 calls:

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

simplify3.0ms (0.1%)

Memory
8.1MiB live, 8.1MiB allocated
Algorithm
egg-herbie
Rules
lower-*.f64
lower-*.f32
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0336
1436
0436
Stop Event
iter limit
saturated
Counts
12 → 12
Calls
Call 1
Inputs
(* 16 x)
(* 16 x)
(* 16 x)
(* 16 x)
(* 16 x)
(* 16 x)
(* 16 x)
(* 16 x)
(* 16 x)
(* 16 x)
(* 16 x)
(* 16 x)
Outputs
(* 16 x)
(*.f64 #s(literal 16 binary64) x)
(* 16 x)
(*.f64 #s(literal 16 binary64) x)
(* 16 x)
(*.f64 #s(literal 16 binary64) x)
(* 16 x)
(*.f64 #s(literal 16 binary64) x)
(* 16 x)
(*.f64 #s(literal 16 binary64) x)
(* 16 x)
(*.f64 #s(literal 16 binary64) x)
(* 16 x)
(*.f64 #s(literal 16 binary64) x)
(* 16 x)
(*.f64 #s(literal 16 binary64) x)
(* 16 x)
(*.f64 #s(literal 16 binary64) x)
(* 16 x)
(*.f64 #s(literal 16 binary64) x)
(* 16 x)
(*.f64 #s(literal 16 binary64) x)
(* 16 x)
(*.f64 #s(literal 16 binary64) x)

rewrite8.0ms (0.3%)

Memory
17.2MiB live, 17.2MiB allocated
Algorithm
batch-egg-rewrite
Rules
lower-*.f32
lower-*.f64
*-commutative
lift-*.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
043
153
053
Stop Event
iter limit
saturated
iter limit
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 #s(literal 16 binary64) x)
Outputs
(*.f64 #s(literal 16 binary64) x)
(*.f64 x #s(literal 16 binary64))

eval1.0ms (0%)

Memory
3.5MiB live, 3.5MiB allocated
Compiler

Compiled 55 to 4 computations (92.7% saved)

prune2.0ms (0.1%)

Memory
5.9MiB live, 5.9MiB allocated
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New14014
Fresh000
Picked022
Done011
Total14317
Accuracy
100.0%
Counts
17 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
6.8%
(*.f64 #s(literal 16 binary64) x)
4.2%
#s(literal 16 binary64)
Compiler

Compiled 22 to 14 computations (36.4% saved)

regimes8.0ms (0.3%)

Memory
-21.7MiB live, 15.1MiB allocated
Counts
3 → 1
Calls
Call 1
Inputs
#s(literal 16 binary64)
(*.f64 #s(literal 16 binary64) x)
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
Outputs
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
Calls

2 calls:

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

Compiled 8 to 5 computations (37.5% saved)

regimes3.0ms (0.1%)

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

2 calls:

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

Compiled 8 to 5 computations (37.5% saved)

regimes3.0ms (0.1%)

Memory
8.5MiB live, 8.5MiB 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.2%1x
4.2%1(*.f64 (*.f64 x #s(literal 16 binary64)) x)
Compiler

Compiled 8 to 5 computations (37.5% saved)

simplify8.0ms (0.3%)

Memory
-22.6MiB live, 14.8MiB allocated
Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

soundness1.8s (61.7%)

Memory
-13.2MiB live, 117.4MiB allocated
Rules
2 136×lower-pow.f64
2 136×lower-pow.f32
1 588×lower-*.f64
1 588×lower-*.f32
1 412×prod-exp
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
048
0610
1910
21210
31410
42110
53710
69310
72802
816722
916972
1018202
1130262
084082
Stop Event
done
iter limit
node limit
iter limit
Compiler

Compiled 10 to 4 computations (60% saved)

preprocess24.0ms (0.8%)

Memory
36.7MiB live, 75.6MiB allocated
Remove

(abs x)

Compiler

Compiled 68 to 40 computations (41.2% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...