Graphics.Rasterific.CubicBezier:isSufficientlyFlat from Rasterific-0.6.1

Time bar (total: 1.2s)

start0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated; 0ms collecting garbage

analyze0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated; 0ms collecting garbage
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)

sample826.0ms (70.6%)

Memory
-9.2MiB live, 1 101.0MiB allocated; 231ms collecting garbage
Samples
492.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 280.0ms
ival-mult: 264.0ms (94.4% of total)
ival-true: 5.0ms (1.8% of total)
exact: 5.0ms (1.8% of total)
ival-assert: 3.0ms (1.1% of total)
adjust: 2.0ms (0.7% of total)
Bogosity

explain58.0ms (4.9%)

Memory
20.2MiB live, 64.5MiB allocated; 9ms collecting garbage
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
34.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 (87% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess35.0ms (3%)

Memory
-34.2MiB live, 20.8MiB allocated; 20ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0615
11710
24510
36510
48110
511810
613810
045
065
195
2125
3165
4375
5735
61055
71235
81235
01235
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; 0ms collecting garbage
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated; 0ms collecting garbage
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)

series4.0ms (0.4%)

Memory
4.3MiB live, 4.3MiB allocated; 0ms collecting garbage
Counts
4 → 3
Calls
Call 1
Inputs
(*.f64 (*.f64 x #s(literal 16 binary64)) x)
(*.f64 x #s(literal 16 binary64))
x
#s(literal 16 binary64)
Outputs
#s(approx (* (* x 16) x) #s(hole binary64 (* 16 (pow x 2))))
#s(approx (* x 16) #s(hole binary64 (* 16 x)))
#s(approx x #s(hole binary64 x))
Calls

3 calls:

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

simplify178.0ms (15.2%)

Memory
32.1MiB live, 124.0MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01121
11821
22821
35421
411021
522121
672321
7522621
0850521
Stop Event
iter limit
node limit
Counts
3 → 3
Calls
Call 1
Inputs
#s(approx (* (* x 16) x) #s(hole binary64 (* 16 (pow x 2))))
#s(approx (* x 16) #s(hole binary64 (* 16 x)))
#s(approx x #s(hole binary64 x))
Outputs
#s(approx (* (* x 16) x) #s(hole binary64 (* 16 (pow x 2))))
#s(approx (* (* x 16) x) (*.f64 (*.f64 x x) #s(literal 16 binary64)))
#s(approx (* x 16) #s(hole binary64 (* 16 x)))
#s(approx (* x 16) (*.f64 #s(literal 16 binary64) x))
#s(approx x #s(hole binary64 x))
#s(approx x x)

rewrite48.0ms (4.1%)

Memory
-19.9MiB live, 25.1MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0410
0610
1910
21210
31810
44910
017010
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
4 → 13
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 (neg.f64 x) #s(literal 16 binary64)) (neg.f64 x))
(*.f64 (*.f64 x x) #s(literal 16 binary64))
(*.f64 (neg.f64 x) (*.f64 (neg.f64 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))
(neg.f64 (*.f64 (*.f64 (neg.f64 x) #s(literal 16 binary64)) x))
(neg.f64 (*.f64 x (*.f64 (neg.f64 x) #s(literal 16 binary64))))
(neg.f64 (*.f64 (*.f64 x x) #s(literal 16 binary64)))
(*.f64 #s(literal 16 binary64) x)
(*.f64 x #s(literal 16 binary64))
x
#s(literal 16 binary64)

eval1.0ms (0.1%)

Memory
2.1MiB live, 2.2MiB allocated; 0ms collecting garbage
Compiler

Compiled 113 to 29 computations (74.3% saved)

prune2.0ms (0.2%)

Memory
3.1MiB live, 3.1MiB allocated; 0ms collecting garbage
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New18018
Fresh000
Picked011
Done000
Total18119
Accuracy
100.0%
Counts
19 → 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)

simplify8.0ms (0.7%)

Memory
10.0MiB live, 10.0MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

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

derivations0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 5 to 4 computations (20% saved)

preprocess9.0ms (0.8%)

Memory
12.4MiB live, 12.4MiB allocated; 0ms collecting garbage
Remove

(abs x)

Compiler

Compiled 40 to 32 computations (20% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...