bug366, discussion (missed optimization)

Time bar (total: 831.0ms)

start0.0ms (0%)

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

analyze31.0ms (3.7%)

Memory
26.4MiB live, 26.4MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
0%0%99.9%0.1%0%0%0%3
0%0%99.9%0.1%0%0%0%4
30.8%25%56.2%0.1%0%18.7%0%5
32%25%53.1%0.1%0%21.9%0%6
55.8%37.5%29.7%0.1%0%32.8%0%7
57.8%37.5%27.3%0.1%0%35.1%0%8
74.2%43.7%15.2%0.1%0%41%0%9
75.9%43.7%13.9%0.1%0%42.3%0%10
85.9%46.8%7.7%0.1%0%45.4%0%11
87%46.8%7%0.1%0%46.1%0%12
Compiler

Compiled 10 to 8 computations (20% saved)

sample672.0ms (80.9%)

Memory
-12.8MiB live, 541.4MiB allocated; 51ms collecting garbage
Samples
396.0ms8 256×0valid
29.0ms608×0invalid
Precisions
Click to see histograms. Total time spent on operations: 236.0ms
ival-mult: 129.0ms (54.7% of total)
ival-sqrt: 62.0ms (26.3% of total)
ival-sub: 38.0ms (16.1% of total)
adjust: 3.0ms (1.3% of total)
ival-assert: 3.0ms (1.3% of total)
Bogosity

explain71.0ms (8.6%)

Memory
26.1MiB live, 73.3MiB allocated; 2ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1260-2(-2.5751595040956866e-160 -1.6275872448180925e-295)(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
150-0-(-.f64 (*.f64 a a) (*.f64 b b))
00-0-(*.f64 a a)
00-0-a
00-0-b
00-0-(*.f64 b b)
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))oflow-rescue1100
(*.f64 b b)overflow15
(-.f64 (*.f64 a a) (*.f64 b b))overflow110
(*.f64 a a)overflow110
-.f64(-.f64 (*.f64 a a) (*.f64 b b))nan-rescue150
(*.f64 a a)overflow110
(*.f64 b b)overflow15
sqrt.f64(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))uflow-rescue140
(*.f64 b b)underflow96
(-.f64 (*.f64 a a) (*.f64 b b))underflow14
(*.f64 a a)underflow14
Confusion
Predicted +Predicted -
+1242
-0130
Precision
1.0
Recall
0.9841269841269841
Confusion?
Predicted +Predicted MaybePredicted -
+12402
-00130
Precision?
1.0
Recall?
0.9841269841269841
Freqs
test
numberfreq
0132
1109
215
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
27.0ms512×0valid
Compiler

Compiled 58 to 22 computations (62.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-mult: 7.0ms (50.5% of total)
ival-sqrt: 4.0ms (28.9% of total)
ival-sub: 2.0ms (14.4% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess57.0ms (6.8%)

Memory
-33.9MiB live, 27.9MiB allocated; 17ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01850
15550
221450
334450
487550
5183950
6301750
7335950
8343750
9343750
10363350
068
0158
1238
2498
3878
41118
01118
Stop Event
iter limit
saturated
iter limit
saturated

end0.0ms (0%)

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

Profiling

Loading profile data...