Graphics.Rasterific.CubicBezier:isSufficientlyFlat from Rasterific-0.6.1

Time bar (total: 1.4s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

sample640.0ms (45.6%)

Memory
13.6MiB live, 641.1MiB allocated
Samples
368.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 203.0ms
ival-mult: 189.0ms (93.3% of total)
ival-true: 6.0ms (3% of total)
exact: 5.0ms (2.5% of total)
ival-assert: 3.0ms (1.5% of total)
Bogosity

explain183.0ms (13%)

Memory
-2.9MiB live, 72.6MiB 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
97.0ms512×0valid
Compiler

Compiled 39 to 20 computations (48.7% saved)

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

preprocess241.0ms (17.1%)

Memory
-7.2MiB live, 132.2MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0615
12310
26210
317510
425610
541110
682010
799710
8120910
9226410
10293610
11405610
12574710
13652610
14760710
045
065
195
2125
3175
4435
51525
65315
78625
812595
926505
1031485
1137795
1241345
1345125
1450535
1565035
1676585
1779345
081035
Stop Event
iter limit
node limit
iter limit
node limit
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.4MiB live, 0.4MiB 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)

simplify0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

localize12.0ms (0.9%)

Memory
12.5MiB live, 12.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 (88% 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.2%)

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

3 calls:

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

simplify187.0ms (13.3%)

Memory
-9.9MiB live, 71.6MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
1118
2208
3458
41578
55338
68648
712578
826528
931508
1037818
1141368
1245148
1350558
1465058
1576608
1679368
081058
Stop Event
iter limit
node limit
Counts
2 → 2
Calls
Call 1
Inputs
(* 16 x)
(* 16 (pow x 2))
Outputs
(* 16 x)
(*.f64 #s(literal 16 binary64) x)
(* 16 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 16 binary64))

rewrite66.0ms (4.7%)

Memory
0.3MiB live, 36.9MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048
068
198
2128
3198
4568
52348
010708
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
2 → 42
Calls
Call 1
Inputs
(*.f64 x #s(literal 16 binary64))
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
Outputs
(*.f64 (*.f64 #s(literal -16 binary64) (sqrt.f64 x)) (sqrt.f64 x))
(*.f64 (*.f64 #s(literal 16 binary64) (sqrt.f64 x)) (sqrt.f64 x))
(*.f64 #s(literal -16 binary64) x)
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) #s(literal 16 binary64)))
(*.f64 #s(literal 1 binary64) (*.f64 #s(literal -16 binary64) x))
(*.f64 #s(literal -1 binary64) (*.f64 #s(literal -16 binary64) x))
(*.f64 (*.f64 #s(literal -16 binary64) x) #s(literal -1 binary64))
(*.f64 #s(literal 16 binary64) x)
(*.f64 x #s(literal -16 binary64))
(*.f64 x #s(literal 16 binary64))
(/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 16 binary64)) (*.f64 x x))
(/.f64 (*.f64 #s(literal 16 binary64) (pow.f64 x #s(literal 3 binary64))) (*.f64 x x))
(/.f64 (*.f64 #s(literal -16 binary64) (*.f64 x x)) x)
(neg.f64 (*.f64 #s(literal -16 binary64) x))
(-.f64 #s(literal 0 binary64) (*.f64 #s(literal -16 binary64) x))
(+.f64 #s(literal 0 binary64) (*.f64 #s(literal -16 binary64) x))
(*.f64 (*.f64 (*.f64 #s(literal -16 binary64) x) (sqrt.f64 x)) (sqrt.f64 x))
(*.f64 (*.f64 (*.f64 #s(literal -16 binary64) x) #s(literal 1 binary64)) x)
(*.f64 #s(literal -16 binary64) (*.f64 x x))
(*.f64 (*.f64 #s(literal -16 binary64) (*.f64 x x)) #s(literal -1 binary64))
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (*.f64 #s(literal -16 binary64) x)))
(*.f64 #s(literal 1 binary64) (*.f64 #s(literal -16 binary64) (*.f64 x x)))
(*.f64 #s(literal -1 binary64) (*.f64 #s(literal -16 binary64) (*.f64 x x)))
(*.f64 (*.f64 x 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))
(/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 #s(literal -16 binary64) x)) (*.f64 x x))
(/.f64 (*.f64 (*.f64 x x) (*.f64 #s(literal -16 binary64) x)) x)
(/.f64 (*.f64 (*.f64 #s(literal -16 binary64) x) (pow.f64 x #s(literal 3 binary64))) (*.f64 x x))
(/.f64 (*.f64 (*.f64 #s(literal -16 binary64) x) (*.f64 x x)) x)
(neg.f64 (*.f64 #s(literal -16 binary64) (*.f64 x x)))
(fma.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) #s(literal 16 binary64) (*.f64 (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) #s(literal 16 binary64)))
(fma.f64 #s(literal 0 binary64) (*.f64 #s(literal -16 binary64) x) (*.f64 #s(literal -16 binary64) (*.f64 x x)))
(fma.f64 (*.f64 #s(literal -16 binary64) x) #s(literal 0 binary64) (*.f64 #s(literal -16 binary64) (*.f64 x x)))
(fma.f64 #s(literal 16 binary64) (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (*.f64 #s(literal 16 binary64) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))))
(-.f64 #s(literal 0 binary64) (*.f64 #s(literal -16 binary64) (*.f64 x x)))
(+.f64 (*.f64 #s(literal 0 binary64) (*.f64 #s(literal -16 binary64) x)) (*.f64 #s(literal -16 binary64) (*.f64 x x)))
(+.f64 (*.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) #s(literal 16 binary64)) (*.f64 (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) #s(literal 16 binary64)))
(+.f64 (*.f64 (*.f64 #s(literal -16 binary64) x) #s(literal 0 binary64)) (*.f64 #s(literal -16 binary64) (*.f64 x x)))
(+.f64 (*.f64 #s(literal 16 binary64) (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) (*.f64 #s(literal 16 binary64) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))))

eval4.0ms (0.3%)

Memory
7.6MiB live, 7.6MiB allocated
Compiler

Compiled 368 to 96 computations (73.9% saved)

prune2.0ms (0.1%)

Memory
4.1MiB live, 4.1MiB allocated
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New44044
Fresh000
Picked011
Done000
Total44145
Accuracy
100.0%
Counts
45 → 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)

simplify39.0ms (2.7%)

Memory
14.7MiB live, 87.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
045
165
Stop Event
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)

soundness5.0ms (0.3%)

Memory
-49.7MiB live, 0.5MiB allocated
Stop Event
done
Compiler

Compiled 5 to 4 computations (20% saved)

preprocess24.0ms (1.7%)

Memory
32.7MiB live, 32.7MiB allocated
Remove

(abs x)

Compiler

Compiled 40 to 32 computations (20% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...