Development.Shake.Profile:generateTrace from shake-0.15.5

Time bar (total: 950.0ms)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample592.0ms (62.3%)

Memory
10.6MiB live, 922.0MiB allocated; 246ms collecting garbage
Samples
296.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 111.0ms
ival-sub: 77.0ms (69.2% of total)
ival-mult: 20.0ms (18% of total)
ival-true: 5.0ms (4.5% of total)
exact: 5.0ms (4.5% of total)
ival-assert: 3.0ms (2.7% of total)
adjust: 2.0ms (1.8% of total)
Bogosity

explain113.0ms (11.9%)

Memory
9.6MiB live, 105.6MiB allocated; 8ms 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
15.0ms512×0valid
Compiler

Compiled 29 to 16 computations (44.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-sub: 3.0ms (57.3% of total)
ival-true: 1.0ms (19.1% of total)
ival-mult: 1.0ms (19.1% of total)
adjust: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess12.0ms (1.3%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
062
1132
045
061
181
081
Stop Event
saturated
saturated
iter limit
saturated
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
0.6MiB live, 0.6MiB 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)

simplify25.0ms (2.6%)

Memory
-40.2MiB live, 6.6MiB allocated; 5ms 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
084
Stop Event
saturated
saturated
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

localize12.0ms (1.3%)

Memory
34.5MiB live, 34.5MiB allocated; 0ms 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
8.0ms256×0valid
Compiler

Compiled 12 to 6 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.0ms
ival-sub: 1.0ms (41.8% of total)
ival-mult: 1.0ms (41.8% 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.2MiB live, 1.2MiB allocated; 0ms collecting garbage
Counts
2 → 1
Calls
Call 1
Inputs
(*.f64 #s(literal 1000000 binary64) (-.f64 x x))
(-.f64 x x)
Outputs
0
Calls

3 calls:

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

simplify32.0ms (3.4%)

Memory
-39.4MiB live, 11.0MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011
011
Stop Event
saturated
saturated
Counts
1 → 1
Calls
Call 1
Inputs
0
Outputs
0
#s(literal 0 binary64)

rewrite30.0ms (3.2%)

Memory
26.0MiB live, 71.8MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048
062
1182
0832
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.3MiB live, 1.3MiB 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)

simplify3.0ms (0.3%)

Memory
5.7MiB live, 5.7MiB allocated; 0ms 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
084
Stop Event
saturated
saturated
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)

localize36.0ms (3.8%)

Memory
-20.9MiB live, 23.8MiB allocated; 7ms collecting garbage
Localize:

Found 1 expressions of interest:

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

Compiled 8 to 7 computations (12.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.0ms
ival-sub: 1.0ms (41.5% of total)
ival-mult: 1.0ms (41.5% 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.3MiB live, 0.3MiB allocated; 0ms collecting garbage
Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (* 1000000 (- x x)) #s(literal 0 binary64))
Outputs
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)))

simplify3.0ms (0.3%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
011
011
Stop Event
saturated
saturated
Counts
1 → 1
Calls
Call 1
Inputs
0
Outputs
0
#s(literal 0 binary64)

rewrite20.0ms (2.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
067
063
1203
0843
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.2MiB live, 0.2MiB allocated; 0ms collecting garbage
Compiler

Compiled 7 to 6 computations (14.3% saved)

prune1.0ms (0.1%)

Memory
1.2MiB live, 1.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)

regimes40.0ms (4.2%)

Memory
-37.5MiB live, 8.0MiB 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:

30.0ms
x
4.0ms
(*.f64 #s(literal 1000000 binary64) (-.f64 x x))
3.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)

simplify16.0ms (1.7%)

Memory
9.7MiB live, 9.8MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
065
183
293
Stop Event
saturated
Calls
Call 1
Inputs
#s(approx (* 1000000 (- x x)) #s(literal 0 binary64))
Outputs
#s(approx (* 1000000 (- x x)) #s(literal 0 binary64))

derivations2.0ms (0.2%)

Memory
0.9MiB live, 0.8MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011
011
Stop Event
done
saturated
saturated
Compiler

Compiled 7 to 6 computations (14.3% saved)

preprocess10.0ms (1%)

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