Graphics.Rasterific.CubicBezier:isSufficientlyFlat from Rasterific-0.6.1

Time bar (total: 1.6s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

sample545.0ms (33.5%)

Memory
35.7MiB live, 586.2MiB allocated
Samples
374.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 159.0ms
ival-mult: 145.0ms (91.2% of total)
ival-true: 6.0ms (3.8% of total)
exact: 5.0ms (3.1% of total)
ival-assert: 3.0ms (1.9% of total)
Bogosity

explain123.0ms (7.6%)

Memory
-18.8MiB live, 58.9MiB 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 39 to 20 computations (48.7% saved)

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

preprocess241.0ms (14.8%)

Memory
-7.9MiB live, 148.6MiB 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.4MiB live, 0.4MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

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

simplify216.0ms (13.3%)

Memory
7.7MiB live, 92.9MiB 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
31710
44310
515210
653110
786210
8125910
9265010
10314810
11377910
12413410
13451210
14505310
15650310
16765810
17793410
0810310
Stop Event
iter limit
node limit
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.7%)

Memory
18.3MiB live, 18.3MiB 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
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 (86.3% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series93.0ms (5.8%)

Memory
-34.9MiB live, 3.4MiB 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
92.0ms
x
@inf
((* (* x 16) x) (* x 16))
1.0ms
x
@0
((* (* x 16) x) (* x 16))
1.0ms
x
@-inf
((* (* x 16) x) (* x 16))

simplify168.0ms (10.3%)

Memory
26.8MiB live, 101.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
1118
2208
3458
41618
55338
68648
712578
826478
931458
1037768
1141318
1245098
1350508
1465008
1576558
1679308
080998
Stop Event
iter limit
node limit
Counts
2 → 2
Calls
Call 1
Inputs
(* 16 (pow x 2))
(* 16 x)
Outputs
(* 16 (pow x 2))
(*.f64 (*.f64 #s(literal 16 binary64) x) x)
(* 16 x)
(*.f64 #s(literal 16 binary64) x)

rewrite148.0ms (9.1%)

Memory
-35.4MiB live, 25.5MiB 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 (*.f64 x #s(literal 16 binary64)) x)
(*.f64 x #s(literal 16 binary64))
Outputs
(*.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)))))
(*.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))

eval4.0ms (0.3%)

Memory
11.1MiB live, 11.1MiB allocated
Compiler

Compiled 368 to 96 computations (73.9% saved)

prune2.0ms (0.1%)

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

simplify32.0ms (2%)

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

soundness0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Stop Event
done
Compiler

Compiled 5 to 4 computations (20% saved)

preprocess39.0ms (2.4%)

Memory
5.6MiB live, 41.4MiB 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...