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.7MiB live, 0.7MiB 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)

sample739.0ms (34.8%)

Memory
-12.4MiB live, 707.2MiB allocated; 341ms collecting garbage
Samples
448.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 135.0ms
ival-sub: 69.0ms (51% of total)
ival-mult: 52.0ms (38.4% of total)
ival-true: 5.0ms (3.7% of total)
exact: 5.0ms (3.7% of total)
ival-assert: 3.0ms (2.2% of total)
adjust: 2.0ms (1.5% of total)
Bogosity

explain46.0ms (2.1%)

Memory
3.5MiB live, 90.3MiB allocated; 16ms 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
23.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 (60.5% of total)
ival-mult: 1.0ms (20.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)

preprocess279.0ms (13.1%)

Memory
-0.7MiB live, 149.2MiB allocated; 33ms 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.0MiB live, 0.0MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

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

simplify193.0ms (9.1%)

Memory
23.2MiB live, 158.2MiB allocated; 36ms 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

localize14.0ms (0.7%)

Memory
-33.1MiB live, 13.4MiB 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
10.0ms256×0valid
Compiler

Compiled 12 to 6 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-sub: 4.0ms (87.2% of total)
ival-mult: 1.0ms (21.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
0.4MiB live, 0.4MiB 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))

simplify225.0ms (10.6%)

Memory
1.7MiB live, 156.7MiB allocated; 40ms 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))

rewrite62.0ms (2.9%)

Memory
-2.1MiB live, 42.7MiB allocated; 11ms 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.3MiB live, 0.3MiB allocated; 0ms collecting garbage
Compiler

Compiled 8 to 6 computations (25% saved)

prune0.0ms (0%)

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

simplify182.0ms (8.6%)

Memory
2.7MiB live, 141.7MiB allocated; 31ms 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)

localize10.0ms (0.5%)

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

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy0.0
#s(approx (* 1000000 (- x x)) #s(literal 0 binary64))
Samples
6.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 (44.5% of total)
ival-mult: 1.0ms (44.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.5MiB live, 0.5MiB 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)))

simplify230.0ms (10.8%)

Memory
-8.4MiB live, 181.1MiB allocated; 31ms 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))

rewrite31.0ms (1.5%)

Memory
18.8MiB live, 62.7MiB allocated; 8ms 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.4MiB live, 0.4MiB allocated; 0ms collecting garbage
Compiler

Compiled 7 to 6 computations (14.3% saved)

prune1.0ms (0%)

Memory
2.4MiB live, 2.4MiB 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
-27.5MiB live, 16.5MiB allocated; 6ms 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
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)

simplify56.0ms (2.6%)

Memory
2.3MiB live, 64.0MiB allocated; 7ms 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.5%)

Memory
-27.4MiB live, 18.1MiB allocated; 6ms collecting garbage
Stop Event
done
Compiler

Compiled 7 to 6 computations (14.3% saved)

preprocess18.0ms (0.8%)

Memory
14.1MiB live, 60.8MiB allocated; 3ms collecting garbage
Remove

(negabs x)

(abs x)

Compiler

Compiled 54 to 48 computations (11.1% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...