Graphics.Rasterific.CubicBezier:isSufficientlyFlat from Rasterific-0.6.1

Time bar (total: 3.1s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

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)

sample839.0ms (27.4%)

Memory
10.0MiB live, 872.1MiB allocated
Samples
628.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 327.0ms
ival-mult: 314.0ms (96.1% of total)
ival-true: 5.0ms (1.5% of total)
exact: 4.0ms (1.2% of total)
ival-assert: 3.0ms (0.9% of total)
Bogosity

explain73.0ms (2.4%)

Memory
-22.7MiB live, 98.3MiB 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 41 to 23 computations (43.9% saved)

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

preprocess18.0ms (0.6%)

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

Compiler

Compiled 6 to 4 computations (33.3% saved)

eval0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0%)

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

simplify4.0ms (0.1%)

Memory
8.6MiB live, 8.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)
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)

localize15.0ms (0.5%)

Memory
-10.0MiB live, 28.9MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
accuracy0
(*.f64 x #s(literal 16 binary64))
Samples
10.0ms256×0valid
Compiler

Compiled 12 to 6 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-mult: 5.0ms (96% 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
4.9MiB live, 4.9MiB 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
1.0ms
x
@0
(* (* x 16) x)
0.0ms
x
@inf
(* (* x 16) x)
0.0ms
x
@0
(* x 16)
0.0ms
x
@-inf
(* x 16)
0.0ms
x
@inf
(* x 16)

simplify4.0ms (0.1%)

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

rewrite155.0ms (5.1%)

Memory
18.5MiB live, 132.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
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)

eval5.0ms (0.2%)

Memory
-31.3MiB live, 5.6MiB allocated
Compiler

Compiled 149 to 5 computations (96.6% saved)

prune2.0ms (0.1%)

Memory
4.8MiB live, 4.8MiB 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.9%
(*.f64 #s(literal 16 binary64) x)
4.4%
#s(literal 16 binary64)
Compiler

Compiled 12 to 9 computations (25% saved)

simplify4.0ms (0.1%)

Memory
6.9MiB live, 7.0MiB 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

localize11.0ms (0.4%)

Memory
21.1MiB live, 21.0MiB allocated
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 #s(literal 16 binary64) x)
Samples
6.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 (98.6% 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.4MiB live, 0.4MiB 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
@-inf
(* 16 x)
0.0ms
x
@0
(* 16 x)

simplify14.0ms (0.5%)

Memory
-47.1MiB live, 5.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
12.7MiB live, 12.7MiB allocated
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.3MiB live, 3.3MiB allocated
Compiler

Compiled 55 to 4 computations (92.7% saved)

prune2.0ms (0.1%)

Memory
5.2MiB live, 5.2MiB 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.9%
(*.f64 #s(literal 16 binary64) x)
4.4%
#s(literal 16 binary64)
Compiler

Compiled 22 to 14 computations (36.4% saved)

regimes4.0ms (0.1%)

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

2.0ms
x
2.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 8 to 5 computations (37.5% saved)

regimes6.0ms (0.2%)

Memory
-28.3MiB live, 9.5MiB 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:

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

Compiled 8 to 5 computations (37.5% saved)

regimes3.0ms (0.1%)

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

Compiled 8 to 5 computations (37.5% saved)

simplify5.0ms (0.2%)

Memory
11.4MiB live, 11.4MiB 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.9s (60.7%)

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

preprocess26.0ms (0.8%)

Memory
28.3MiB live, 65.4MiB 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...