Development.Shake.Profile:generateTrace from shake-0.15.5

Time bar (total: 2.1s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample549.0ms (26.6%)

Memory
39.2MiB live, 742.6MiB allocated; 202ms collecting garbage
Samples
342.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 176.0ms
ival-sub: 130.0ms (74% of total)
ival-mult: 32.0ms (18.2% of total)
ival-true: 5.0ms (2.8% of total)
exact: 4.0ms (2.3% of total)
ival-assert: 3.0ms (1.7% of total)
adjust: 2.0ms (1.1% of total)
Bogosity

explain72.0ms (3.5%)

Memory
-24.9MiB live, 121.6MiB allocated; 14ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(-.f64 x x)
00-0-(*.f64 #s(literal 1000000 binary64) (-.f64 x x))
00-0-#s(literal 1000000 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 29 to 16 computations (44.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-sub: 3.0ms (44.2% of total)
ival-mult: 3.0ms (44.2% 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)

preprocess268.0ms (12.9%)

Memory
2.2MiB live, 232.4MiB allocated; 30ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
062
1132
2242
3522
41342
53992
64672
76442
812482
932012
045
061
181
2121
3251
4701
52351
63901
76311
812361
931391
1077261
082281
Stop Event
iter limit
node limit
iter limit
node limit
Calls
Call 1
Inputs
(*.f64 #s(literal 1000000 binary64) (-.f64 x x))
Outputs
(*.f64 #s(literal 1000000 binary64) (-.f64 x x))
#s(literal 0 binary64)
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
1.0MiB live, 1.0MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 #s(literal 1000000 binary64) (-.f64 x x))
Compiler

Compiled 5 to 4 computations (20% saved)

simplify214.0ms (10.4%)

Memory
27.1MiB live, 232.5MiB allocated; 25ms collecting garbage
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff2
(-.f64 x x)
cost-diff2
(*.f64 #s(literal 1000000 binary64) (-.f64 x x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0410
064
184
2124
3254
4704
52354
63904
76314
812364
931394
1077264
082284
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
(*.f64 #s(literal 1000000 binary64) (-.f64 x x))
#s(literal 1000000 binary64)
(-.f64 x x)
x
Outputs
(*.f64 #s(literal 1000000 binary64) (-.f64 x x))
#s(literal 0 binary64)
#s(literal 1000000 binary64)
(-.f64 x x)
#s(literal 0 binary64)
x

localize26.0ms (1.3%)

Memory
-17.0MiB live, 29.6MiB allocated; 4ms collecting garbage
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 x x)
accuracy0.0
(*.f64 #s(literal 1000000 binary64) (-.f64 x x))
Samples
22.0ms256×0valid
Compiler

Compiled 12 to 6 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-sub: 1.0ms (39% of total)
ival-mult: 1.0ms (39% 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)

series0.0ms (0%)

Memory
1.3MiB live, 1.3MiB allocated; 0ms collecting garbage
Counts
2 → 2
Calls
Call 1
Inputs
(*.f64 #s(literal 1000000 binary64) (-.f64 x x))
(-.f64 x x)
Outputs
#s(approx (* 1000000 (- x x)) #s(hole binary64 0))
#s(approx (- x x) #s(hole binary64 0))
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@inf
((* 1000000 (- x x)) (- x x))
0.0ms
x
@0
((* 1000000 (- x x)) (- x x))
0.0ms
x
@-inf
((* 1000000 (- x x)) (- x x))

simplify227.0ms (11%)

Memory
-4.2MiB live, 131.0MiB allocated; 29ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
076
196
2136
3266
4716
52366
63916
76326
812376
931406
1077316
082336
Stop Event
iter limit
node limit
Counts
2 → 2
Calls
Call 1
Inputs
#s(approx (* 1000000 (- x x)) #s(hole binary64 0))
#s(approx (- x x) #s(hole binary64 0))
Outputs
#s(approx (* 1000000 (- x x)) #s(hole binary64 0))
#s(approx (* 1000000 (- x x)) #s(literal 0 binary64))
#s(approx (- x x) #s(hole binary64 0))
#s(approx (* 1000000 (- x x)) #s(literal 0 binary64))

rewrite36.0ms (1.7%)

Memory
11.0MiB live, 53.9MiB allocated; 17ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048
062
1182
01052
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
2 → 2
Calls
Call 1
Inputs
(*.f64 #s(literal 1000000 binary64) (-.f64 x x))
(-.f64 x x)
Outputs
#s(literal 0 binary64)
#s(literal 0 binary64)

eval0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated; 0ms collecting garbage
Compiler

Compiled 8 to 6 computations (25% saved)

prune0.0ms (0%)

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

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh000
Picked101
Done000
Total213
Accuracy
100.0%
Counts
3 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (* 1000000 (- x x)) #s(literal 0 binary64))
Compiler

Compiled 7 to 6 computations (14.3% saved)

simplify195.0ms (9.5%)

Memory
13.5MiB live, 118.9MiB allocated; 26ms collecting garbage
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (* 1000000 (- x x)) #s(literal 0 binary64))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
064
184
2124
3254
4704
52354
63904
76314
812364
931394
1077244
082264
Stop Event
iter limit
node limit
saturated
Calls
Call 1
Inputs
#s(approx (* 1000000 (- x x)) #s(literal 0 binary64))
#s(literal 0 binary64)
Outputs
#s(approx (* 1000000 (- x x)) #s(literal 0 binary64))
#s(literal 0 binary64)

localize23.0ms (1.1%)

Memory
-25.5MiB live, 19.8MiB allocated; 6ms collecting garbage
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy0.0
#s(approx (* 1000000 (- x x)) #s(literal 0 binary64))
Samples
19.0ms256×0valid
Compiler

Compiled 8 to 7 computations (12.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-sub: 2.0ms (79.9% of total)
ival-mult: 1.0ms (40% 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)

series0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated; 0ms collecting garbage
Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (* 1000000 (- x x)) #s(literal 0 binary64))
Outputs
#s(approx (* 1000000 (- x x)) #s(hole binary64 0))
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@0
((* 1000000 (- x x)))
0.0ms
x
@inf
((* 1000000 (- x x)))
0.0ms
x
@-inf
((* 1000000 (- x x)))

simplify208.0ms (10%)

Memory
25.7MiB live, 168.3MiB allocated; 26ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
063
183
2123
3253
4703
52353
63903
76313
812363
931393
1077243
082263
Stop Event
iter limit
node limit
Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (* 1000000 (- x x)) #s(hole binary64 0))
Outputs
#s(approx (* 1000000 (- x x)) #s(hole binary64 0))
#s(approx (* 1000000 (- x x)) #s(literal 0 binary64))

rewrite94.0ms (4.5%)

Memory
0.5MiB live, 45.4MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
063
1203
01133
Stop Event
iter limit
iter limit
iter limit
unsound
saturated
Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (* 1000000 (- x x)) #s(literal 0 binary64))
Outputs
#s(approx (* 1000000 (- x x)) #s(literal 0 binary64))

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated; 0ms collecting garbage
Compiler

Compiled 7 to 6 computations (14.3% saved)

prune1.0ms (0%)

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

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New101
Fresh000
Picked011
Done000
Total112
Accuracy
100.0%
Counts
2 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(approx (* 1000000 (- x x)) #s(literal 0 binary64))
Compiler

Compiled 19 to 15 computations (21.1% saved)

regimes8.0ms (0.4%)

Memory
-36.8MiB live, 8.5MiB allocated; 5ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (* 1000000 (- x x)) #s(literal 0 binary64))
(*.f64 #s(literal 1000000 binary64) (-.f64 x x))
Outputs
#s(approx (* 1000000 (- x x)) #s(literal 0 binary64))
Calls

3 calls:

6.0ms
(*.f64 #s(literal 1000000 binary64) (-.f64 x x))
1.0ms
x
1.0ms
(-.f64 x x)
Results
AccuracySegmentsBranch
100.0%1(-.f64 x x)
100.0%1(*.f64 #s(literal 1000000 binary64) (-.f64 x x))
100.0%1x
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify98.0ms (4.7%)

Memory
13.2MiB live, 72.3MiB allocated; 25ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
065
183
293
3123
4253
51283
69753
718743
825983
938873
Stop Event
node limit
Calls
Call 1
Inputs
#s(approx (* 1000000 (- x x)) #s(literal 0 binary64))
Outputs
#s(approx (* 1000000 (- x x)) #s(literal 0 binary64))

derivations36.0ms (1.8%)

Memory
-22.0MiB live, 20.4MiB allocated; 10ms collecting garbage
Stop Event
done
Compiler

Compiled 7 to 6 computations (14.3% saved)

preprocess10.0ms (0.5%)

Memory
19.6MiB live, 19.6MiB allocated; 0ms collecting garbage
Compiler

Compiled 26 to 24 computations (7.7% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...