Development.Shake.Profile:generateTrace from shake-0.15.5

Time bar (total: 2.2s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample630.0ms (28.7%)

Memory
-18.4MiB live, 804.8MiB allocated; 189ms collecting garbage
Samples
349.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 128.0ms
ival-sub: 97.0ms (75.6% of total)
ival-mult: 21.0ms (16.4% of total)
exact: 6.0ms (4.7% of total)
adjust: 2.0ms (1.6% of total)
ival-assert: 2.0ms (1.6% of total)
Bogosity

explain77.0ms (3.5%)

Memory
11.4MiB live, 149.0MiB allocated; 10ms 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
53.0ms512×0valid
Compiler

Compiled 29 to 16 computations (44.8% saved)

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

preprocess284.0ms (12.9%)

Memory
-5.6MiB live, 178.6MiB allocated; 28ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083
1153
2263
3543
41363
54013
64693
76483
812653
938433
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)
Symmetry

(abs x)

(negabs 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.9MiB live, 0.9MiB 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)

simplify185.0ms (8.4%)

Memory
33.8MiB live, 173.7MiB allocated; 29ms 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

localize22.0ms (1%)

Memory
-25.6MiB live, 19.3MiB allocated; 8ms 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: 3.0ms
ival-sub: 1.0ms (39.4% of total)
ival-mult: 1.0ms (39.4% 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.5MiB live, 0.5MiB 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
@0
((* 1000000 (- x x)) (- x x))
0.0ms
x
@inf
((* 1000000 (- x x)) (- x x))
0.0ms
x
@-inf
((* 1000000 (- x x)) (- x x))

simplify334.0ms (15.2%)

Memory
8.7MiB live, 129.9MiB allocated; 183ms 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))

rewrite44.0ms (2%)

Memory
0.9MiB live, 45.5MiB allocated; 8ms 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.5MiB live, 0.5MiB 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)

simplify184.0ms (8.4%)

Memory
-22.9MiB live, 125.6MiB allocated; 24ms 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)

localize11.0ms (0.5%)

Memory
18.8MiB live, 18.8MiB allocated; 0ms collecting garbage
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy0.0
#s(approx (* 1000000 (- x x)) #s(literal 0 binary64))
Samples
7.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 (42.1% of total)
ival-mult: 1.0ms (42.1% 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
#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)))

simplify240.0ms (10.9%)

Memory
1.8MiB live, 146.0MiB allocated; 15ms 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))

rewrite74.0ms (3.4%)

Memory
-31.3MiB live, 61.4MiB allocated; 5ms 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.6MiB live, 0.6MiB allocated; 0ms collecting garbage
Compiler

Compiled 7 to 6 computations (14.3% saved)

prune1.0ms (0%)

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

regimes3.0ms (0.1%)

Memory
16.4MiB live, 16.4MiB allocated; 0ms 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:

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

simplify59.0ms (2.7%)

Memory
2.3MiB live, 99.1MiB allocated; 11ms 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))

derivations31.0ms (1.4%)

Memory
-29.6MiB live, 17.2MiB allocated; 2ms collecting garbage
Stop Event
done
Compiler

Compiled 7 to 6 computations (14.3% saved)

preprocess16.0ms (0.7%)

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

(negabs x)

(abs x)

Compiler

Compiled 54 to 48 computations (11.1% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...