Development.Shake.Profile:generateTrace from shake-0.15.5

Time bar (total: 775.0ms)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

sample539.0ms (69.6%)

Memory
21.0MiB live, 517.6MiB allocated
Samples
266.0ms8 004×0valid
Precisions
Click to see histograms. Total time spent on operations: 73.0ms
ival-sub: 41.0ms (56.2% of total)
ival-mult: 19.0ms (26% of total)
ival-true: 5.0ms (6.9% of total)
exact: 5.0ms (6.9% of total)
ival-assert: 3.0ms (4.1% of total)
Bogosity

explain1.0ms (0.1%)

Memory
2.1MiB live, 2.1MiB allocated
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
-04
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-004
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
04
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
0.0ms0valid
Compiler

Compiled 39 to 20 computations (48.7% saved)

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

preprocess149.0ms (19.2%)

Memory
-17.5MiB live, 19.8MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
062
1222
2302
3452
4522
5542
045
061
1101
2131
3151
4171
5191
6231
7281
0281
Stop Event
iter limit
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.0MiB live, 0.0MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

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

simplify3.0ms (0.4%)

Memory
3.1MiB live, 3.1MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0410
064
1104
2134
3154
4174
5194
6234
7284
0284
Stop Event
iter limit
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

localize0.0ms (0.1%)

Memory
0.5MiB live, 0.5MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(-.f64 x x)
accuracy0
(*.f64 #s(literal 1000000 binary64) (-.f64 x x))
Samples
0.0ms0valid
Compiler

Compiled 22 to 10 computations (54.5% saved)

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

series1.0ms (0.1%)

Memory
0.8MiB live, 0.8MiB allocated
Counts
2 → 24
Calls
Call 1
Inputs
#s(alt (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) (patch (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) #<representation binary64>) () ())
#s(alt (-.f64 x x) (patch (-.f64 x x) #<representation binary64>) () ())
Outputs
#s(alt 0 (taylor 0 x) (#s(alt (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) (patch (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor 0 x) (#s(alt (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) (patch (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor 0 x) (#s(alt (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) (patch (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor 0 x) (#s(alt (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) (patch (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor 0 x) (#s(alt (-.f64 x x) (patch (-.f64 x x) #<representation binary64>) () ())) ())
#s(alt 0 (taylor 0 x) (#s(alt (-.f64 x x) (patch (-.f64 x x) #<representation binary64>) () ())) ())
#s(alt 0 (taylor 0 x) (#s(alt (-.f64 x x) (patch (-.f64 x x) #<representation binary64>) () ())) ())
#s(alt 0 (taylor 0 x) (#s(alt (-.f64 x x) (patch (-.f64 x x) #<representation binary64>) () ())) ())
#s(alt 0 (taylor inf x) (#s(alt (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) (patch (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor inf x) (#s(alt (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) (patch (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor inf x) (#s(alt (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) (patch (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor inf x) (#s(alt (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) (patch (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor inf x) (#s(alt (-.f64 x x) (patch (-.f64 x x) #<representation binary64>) () ())) ())
#s(alt 0 (taylor inf x) (#s(alt (-.f64 x x) (patch (-.f64 x x) #<representation binary64>) () ())) ())
#s(alt 0 (taylor inf x) (#s(alt (-.f64 x x) (patch (-.f64 x x) #<representation binary64>) () ())) ())
#s(alt 0 (taylor inf x) (#s(alt (-.f64 x x) (patch (-.f64 x x) #<representation binary64>) () ())) ())
#s(alt 0 (taylor -inf x) (#s(alt (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) (patch (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor -inf x) (#s(alt (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) (patch (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor -inf x) (#s(alt (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) (patch (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor -inf x) (#s(alt (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) (patch (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor -inf x) (#s(alt (-.f64 x x) (patch (-.f64 x x) #<representation binary64>) () ())) ())
#s(alt 0 (taylor -inf x) (#s(alt (-.f64 x x) (patch (-.f64 x x) #<representation binary64>) () ())) ())
#s(alt 0 (taylor -inf x) (#s(alt (-.f64 x x) (patch (-.f64 x x) #<representation binary64>) () ())) ())
#s(alt 0 (taylor -inf x) (#s(alt (-.f64 x x) (patch (-.f64 x x) #<representation binary64>) () ())) ())
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))

simplify2.0ms (0.3%)

Memory
2.2MiB live, 2.2MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

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

rewrite55.0ms (7%)

Memory
-14.5MiB live, 31.4MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048
062
1202
0842
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
#<batchref>
#<batchref>

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Compiler

Compiled 76 to 7 computations (90.8% saved)

prune0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 2 to 3 computations (-50% saved)

simplify3.0ms (0.4%)

Memory
2.5MiB live, 2.5MiB allocated
Algorithm
egg-herbie
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
1104
2134
3154
4174
5194
6234
7284
0284
Stop Event
iter limit
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)

localize0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy0
#s(approx (* 1000000 (- x x)) #s(literal 0 binary64))
Samples
0.0ms0valid
Compiler

Compiled 11 to 10 computations (9.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
ival-sub: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
ival-mult: 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
Counts
1 → 12
Calls
Call 1
Inputs
#s(alt #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) (patch #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) #<representation binary64>) () ())
Outputs
#s(alt 0 (taylor 0 x) (#s(alt #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) (patch #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor 0 x) (#s(alt #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) (patch #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor 0 x) (#s(alt #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) (patch #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor 0 x) (#s(alt #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) (patch #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor inf x) (#s(alt #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) (patch #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor inf x) (#s(alt #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) (patch #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor inf x) (#s(alt #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) (patch #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor inf x) (#s(alt #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) (patch #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor -inf x) (#s(alt #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) (patch #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor -inf x) (#s(alt #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) (patch #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor -inf x) (#s(alt #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) (patch #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
#s(alt 0 (taylor -inf x) (#s(alt #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) (patch #s(approx (* 1000000 (- x x)) #s(literal 0 binary64)) #<representation binary64>) () ())) ())
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)))

simplify2.0ms (0.3%)

Memory
1.8MiB live, 1.8MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

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

rewrite18.0ms (2.3%)

Memory
11.1MiB live, 11.1MiB allocated
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
#<batchref>

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Compiler

Compiled 26 to 3 computations (88.5% saved)

prune0.0ms (0.1%)

Memory
0.4MiB live, 0.4MiB allocated
Pruning

1 alts after pruning (0 fresh and 1 done)

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

Compiled 9 to 9 computations (0% saved)

regimes0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Compiler

Compiled 3 to 2 computations (33.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated
Calls

1 calls:

0.0ms
(-.f64 x x)

Profiling

Loading profile data...