bug366, discussion (missed optimization)

Time bar (total: 1.0s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze25.0ms (2.5%)

Memory
0.9MiB live, 9.9MiB allocated
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)

sample18.0ms (1.7%)

Memory
-0.7MiB live, 6.9MiB allocated
Samples
10.0ms260×0valid
1.0ms25×0invalid
Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-mult: 3.0ms (46.7% of total)
ival-sqrt: 2.0ms (31.1% of total)
ival-sub: 1.0ms (15.6% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
Bogosity

explain542.0ms (52.9%)

Memory
8.4MiB live, 413.3MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1390-2(-1.0167406938614194e-159 3.6207238316319634e-244)(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
247(-1.0764537082759807e-43 3.0659330010571006e-45)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-rescue1160
(*.f64 b b)overflow24
(-.f64 (*.f64 a a) (*.f64 b b))overflow116
(*.f64 a a)overflow116
-.f64(-.f64 (*.f64 a a) (*.f64 b b))nan-rescue240
(*.f64 a a)overflow116
(*.f64 b b)overflow24
sqrt.f64(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))uflow-rescue210
(*.f64 b b)underflow97
(-.f64 (*.f64 a a) (*.f64 b b))underflow21
(*.f64 a a)underflow21
-.f64(-.f64 (*.f64 a a) (*.f64 b b))cancellation70
Confusion
Predicted +Predicted -
+1372
-7110
Precision
0.9513888888888888
Recall
0.9856115107913669
Confusion?
Predicted +Predicted MaybePredicted -
+13702
-70110
Precision?
0.9513888888888888
Recall?
0.9856115107913669
Freqs
test
numberfreq
0112
1120
224
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Total Time
3.9990234375
Average Time
0.015621185302734375
Samples
136.0ms3 072×0valid
Compiler

Compiled 948 to 312 computations (67.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 72.0ms
ival-mult: 38.0ms (53.1% of total)
ival-sqrt: 19.0ms (26.5% of total)
ival-sub: 12.0ms (16.8% of total)
ival-true: 2.0ms (2.8% of total)
adjust: 1.0ms (1.4% of total)
ival-assert: 1.0ms (1.4% of total)

preprocess415.0ms (40.5%)

Memory
-0.4MiB live, 52.6MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01642
15442
212842
333142
482742
5120042
6187642
7275642
8356642
9403242
10413842
11418442
12420242
13646442
14717142
15781542
068
0108
1188
2298
3558
41158
53188
65878
712578
825318
941978
1050568
1154258
1256558
1357698
1457698
1567298
1668898
1772098
1872098
1976098
2077698
2178498
2278498
2378498
0103358
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
Outputs
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
(sqrt.f64 (*.f64 (-.f64 a b) (+.f64 b a)))
Symmetry

(abs b)

(abs a)

Compiler

Compiled 8 to 6 computations (25% saved)

eval0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune1.0ms (0.1%)

Memory
0.4MiB live, 0.4MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
49.2%
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
Compiler

Compiled 16 to 12 computations (25% saved)

simplify19.0ms (1.9%)

Memory
2.3MiB live, 18.1MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
1118
2198
3238
4258
Stop Event
saturated
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))
Outputs
(sqrt.f64 (-.f64 (*.f64 a a) (*.f64 b b)))

soundness0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Stop Event
fuel
Compiler

Compiled 8 to 6 computations (25% saved)

preprocess5.0ms (0.5%)

Memory
-4.1MiB live, 3.7MiB allocated
Remove

(abs a)

(abs b)

Compiler

Compiled 122 to 90 computations (26.2% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...