Data.Colour.CIE:lightness from colour-2.3.3

Time bar (total: 1.5s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.8MiB live, 0.8MiB 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 7 computations (0% saved)

sample628.0ms (42.3%)

Memory
-13.8MiB live, 1 079.3MiB allocated; 278ms collecting garbage
Samples
429.0ms8 193×0valid
2.0ms39×1valid
1.0ms24×2valid
Precisions
Click to see histograms. Total time spent on operations: 178.0ms
ival-mult!: 133.0ms (74.7% of total)
ival-sub!: 43.0ms (24.1% of total)
adjust: 3.0ms (1.7% of total)
Bogosity

preprocess21.0ms (1.4%)

Memory
-5.0MiB live, 38.0MiB allocated; 9ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0917
12015
24215
37715
Stop Event
saturated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
Compiler

Compiled 10 to 10 computations (0% saved)

series4.0ms (0.3%)

Memory
7.6MiB live, 7.6MiB allocated; 0ms collecting garbage
Counts
5 → 6
Calls
Call 1
Inputs
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
(*.f64 x #s(literal 116 binary64))
x
#s(literal 116 binary64)
#s(literal 16 binary64)
Outputs
#s(approx (- (* x 116) 16) #s(hole binary64 -16))
#s(approx (- (* x 116) 16) #s(hole binary64 (- (* 116 x) 16)))
#s(approx (* x 116) #s(hole binary64 (* 116 x)))
#s(approx x #s(hole binary64 x))
#s(approx (- (* x 116) 16) #s(hole binary64 (* x (- 116 (* 16 (/ 1 x))))))
#s(approx (- (* x 116) 16) #s(hole binary64 (* -1 (* x (- (* 16 (/ 1 x)) 116)))))
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@-inf
((- (* x 116) 16) (* x 116) x 116 16)
1.0ms
x
@inf
((- (* x 116) 16) (* x 116) x 116 16)
1.0ms
x
@0
((- (* x 116) 16) (* x 116) x 116 16)

rewrite239.0ms (16.1%)

Memory
-5.0MiB live, 240.8MiB allocated; 25ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02571
02661
111361
258661
3479961
0885053
12934053
Stop Event
saturated
node-limit
iter-limit
Counts
11 → 36
Calls
Call 1
Inputs
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
(*.f64 x #s(literal 116 binary64))
x
#s(literal 116 binary64)
#s(literal 16 binary64)
#s(approx (- (* x 116) 16) #s(hole binary64 -16))
#s(approx (- (* x 116) 16) #s(hole binary64 (- (* 116 x) 16)))
#s(approx (* x 116) #s(hole binary64 (* 116 x)))
#s(approx x #s(hole binary64 x))
#s(approx (- (* x 116) 16) #s(hole binary64 (* x (- 116 (* 16 (/ 1 x))))))
#s(approx (- (* x 116) 16) #s(hole binary64 (* -1 (* x (- (* 16 (/ 1 x)) 116)))))
Outputs
(*.f64 (neg.f64 x) (-.f64 (/.f64 #s(literal 16 binary64) x) #s(literal 116 binary64)))
(*.f64 (fma.f64 #s(literal -116 binary64) x #s(literal 16 binary64)) #s(literal -1 binary64))
(*.f64 (-.f64 (/.f64 #s(literal 16 binary64) x) #s(literal 116 binary64)) (neg.f64 x))
(*.f64 #s(literal -1 binary64) (fma.f64 #s(literal -116 binary64) x #s(literal 16 binary64)))
(*.f64 (-.f64 #s(literal 116 binary64) (/.f64 #s(literal 16 binary64) x)) x)
(*.f64 #s(literal 1 binary64) (fma.f64 #s(literal 116 binary64) x #s(literal -16 binary64)))
(*.f64 (fma.f64 #s(literal 116 binary64) x #s(literal -16 binary64)) #s(literal 1 binary64))
(*.f64 x (-.f64 #s(literal 116 binary64) (/.f64 #s(literal 16 binary64) x)))
(neg.f64 (fma.f64 #s(literal -116 binary64) x #s(literal 16 binary64)))
(fma.f64 (*.f64 #s(literal -116 binary64) x) #s(literal -1 binary64) #s(literal -16 binary64))
(fma.f64 #s(literal -116 binary64) (neg.f64 x) #s(literal -16 binary64))
(fma.f64 (neg.f64 x) #s(literal -116 binary64) #s(literal -16 binary64))
(fma.f64 #s(literal -1 binary64) (*.f64 #s(literal -116 binary64) x) #s(literal -16 binary64))
(fma.f64 #s(literal 116 binary64) x #s(literal -16 binary64))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(-.f64 #s(literal -16 binary64) (*.f64 #s(literal -116 binary64) x))
(-.f64 (*.f64 #s(literal 116 binary64) x) (*.f64 (neg.f64 x) (/.f64 #s(literal -16 binary64) x)))
(-.f64 (*.f64 #s(literal 116 binary64) x) #s(literal 16 binary64))
(+.f64 #s(literal -16 binary64) (*.f64 #s(literal 116 binary64) x))
(+.f64 (*.f64 #s(literal 116 binary64) x) #s(literal -16 binary64))
(*.f64 (*.f64 #s(literal -116 binary64) x) #s(literal -1 binary64))
(*.f64 #s(literal -116 binary64) (neg.f64 x))
(*.f64 (neg.f64 x) #s(literal -116 binary64))
(*.f64 #s(literal -1 binary64) (*.f64 #s(literal -116 binary64) x))
(*.f64 #s(literal 116 binary64) x)
(*.f64 x #s(literal 116 binary64))
(neg.f64 (*.f64 #s(literal -116 binary64) x))
x
#s(literal 116 binary64)
#s(literal 16 binary64)
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
#s(approx (- (* x 116) 16) (fma.f64 #s(literal 116 binary64) x #s(literal -16 binary64)))
#s(approx (* x 116) (*.f64 #s(literal 116 binary64) x))
#s(approx x x)
#s(approx (- (* x 116) 16) (fma.f64 #s(literal 116 binary64) x #s(literal -16 binary64)))
#s(approx (- (* x 116) 16) (fma.f64 #s(literal 116 binary64) x #s(literal -16 binary64)))

eval3.0ms (0.2%)

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

Compiled 87 to 57 computations (34.5% saved)

prune1.0ms (0.1%)

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New28230
Fresh000
Picked101
Done000
Total29231
Accuracy
100.0%
Counts
31 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
51.6%
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
Compiler

Compiled 11 to 11 computations (0% saved)

series1.0ms (0.1%)

Memory
2.1MiB live, 2.1MiB allocated; 0ms collecting garbage
Counts
5 → 6
Calls
Call 1
Inputs
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
#s(literal -16 binary64)
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
x
#s(literal 116 binary64)
Outputs
#s(approx (- (* x 116) 16) #s(hole binary64 -16))
#s(approx (- (* x 116) 16) #s(hole binary64 (- (* 116 x) 16)))
#s(approx x #s(hole binary64 x))
#s(approx (- (* x 116) 16) #s(hole binary64 (* 116 x)))
#s(approx (- (* x 116) 16) #s(hole binary64 (* x (- 116 (* 16 (/ 1 x))))))
#s(approx (- (* x 116) 16) #s(hole binary64 (* -1 (* x (- (* 16 (/ 1 x)) 116)))))
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@-inf
((- (* x 116) 16) -16 (+ (* x 116) -16) x 116)
0.0ms
x
@inf
((- (* x 116) 16) -16 (+ (* x 116) -16) x 116)
0.0ms
x
@0
((- (* x 116) 16) -16 (+ (* x 116) -16) x 116)

rewrite190.0ms (12.8%)

Memory
10.6MiB live, 198.0MiB allocated; 23ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02476
02557
112357
266157
3516357
0818257
12577757
Stop Event
saturated
node-limit
iter-limit
Counts
11 → 30
Calls
Call 1
Inputs
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
#s(literal -16 binary64)
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
x
#s(literal 116 binary64)
#s(approx (- (* x 116) 16) #s(hole binary64 -16))
#s(approx (- (* x 116) 16) #s(hole binary64 (- (* 116 x) 16)))
#s(approx x #s(hole binary64 x))
#s(approx (- (* x 116) 16) #s(hole binary64 (* 116 x)))
#s(approx (- (* x 116) 16) #s(hole binary64 (* x (- 116 (* 16 (/ 1 x))))))
#s(approx (- (* x 116) 16) #s(hole binary64 (* -1 (* x (- (* 16 (/ 1 x)) 116)))))
Outputs
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
#s(literal -16 binary64)
(*.f64 (neg.f64 x) (-.f64 (/.f64 #s(literal 16 binary64) x) #s(literal 116 binary64)))
(*.f64 (fma.f64 #s(literal -116 binary64) x #s(literal 16 binary64)) #s(literal -1 binary64))
(*.f64 (-.f64 (/.f64 #s(literal 16 binary64) x) #s(literal 116 binary64)) (neg.f64 x))
(*.f64 #s(literal -1 binary64) (fma.f64 #s(literal -116 binary64) x #s(literal 16 binary64)))
(*.f64 (-.f64 #s(literal 116 binary64) (/.f64 #s(literal 16 binary64) x)) x)
(*.f64 #s(literal 1 binary64) (fma.f64 #s(literal 116 binary64) x #s(literal -16 binary64)))
(*.f64 (fma.f64 #s(literal 116 binary64) x #s(literal -16 binary64)) #s(literal 1 binary64))
(*.f64 x (-.f64 #s(literal 116 binary64) (/.f64 #s(literal 16 binary64) x)))
(neg.f64 (fma.f64 #s(literal -116 binary64) x #s(literal 16 binary64)))
(fma.f64 (*.f64 #s(literal -116 binary64) x) #s(literal -1 binary64) #s(literal -16 binary64))
(fma.f64 #s(literal -116 binary64) (neg.f64 x) #s(literal -16 binary64))
(fma.f64 (neg.f64 x) #s(literal -116 binary64) #s(literal -16 binary64))
(fma.f64 #s(literal -1 binary64) (*.f64 #s(literal -116 binary64) x) #s(literal -16 binary64))
(fma.f64 #s(literal 116 binary64) x #s(literal -16 binary64))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(-.f64 #s(literal -16 binary64) (*.f64 #s(literal -116 binary64) x))
(-.f64 (*.f64 #s(literal 116 binary64) x) (*.f64 (neg.f64 x) (/.f64 #s(literal -16 binary64) x)))
(-.f64 (*.f64 #s(literal 116 binary64) x) #s(literal 16 binary64))
(+.f64 #s(literal -16 binary64) (*.f64 #s(literal 116 binary64) x))
(+.f64 (*.f64 #s(literal 116 binary64) x) #s(literal -16 binary64))
x
#s(literal 116 binary64)
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
#s(approx (- (* x 116) 16) (fma.f64 #s(literal 116 binary64) x #s(literal -16 binary64)))
#s(approx x x)
#s(approx (- (* x 116) 16) (*.f64 #s(literal 116 binary64) x))
#s(approx (- (* x 116) 16) (fma.f64 #s(literal 116 binary64) x #s(literal -16 binary64)))
#s(approx (- (* x 116) 16) (fma.f64 #s(literal 116 binary64) x #s(literal -16 binary64)))

eval2.0ms (0.1%)

Memory
6.3MiB live, 6.4MiB allocated; 0ms collecting garbage
Compiler

Compiled 65 to 43 computations (33.8% saved)

prune1.0ms (0.1%)

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

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New21122
Fresh000
Picked022
Done000
Total21324
Accuracy
100.0%
Counts
24 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
49.8%
#s(approx (- (* x 116) 16) (*.f64 #s(literal 116 binary64) x))
51.6%
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
Compiler

Compiled 19 to 19 computations (0% saved)

series1.0ms (0.1%)

Memory
4.8MiB live, 4.8MiB allocated; 0ms collecting garbage
Counts
4 → 6
Calls
Call 1
Inputs
#s(approx (- (* x 116) 16) (*.f64 #s(literal 116 binary64) x))
(*.f64 #s(literal 116 binary64) x)
#s(literal 116 binary64)
x
Outputs
#s(approx (- (* x 116) 16) #s(hole binary64 -16))
#s(approx (- (* x 116) 16) #s(hole binary64 (- (* 116 x) 16)))
#s(approx (* 116 x) #s(hole binary64 (* 116 x)))
#s(approx x #s(hole binary64 x))
#s(approx (- (* x 116) 16) #s(hole binary64 (* x (- 116 (* 16 (/ 1 x))))))
#s(approx (- (* x 116) 16) #s(hole binary64 (* -1 (* x (- (* 16 (/ 1 x)) 116)))))
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@-inf
((- (* x 116) 16) (* 116 x) 116 x)
0.0ms
x
@inf
((- (* x 116) 16) (* 116 x) 116 x)
0.0ms
x
@0
((- (* x 116) 16) (* 116 x) 116 x)

rewrite219.0ms (14.7%)

Memory
-32.9MiB live, 295.2MiB allocated; 34ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02574
02664
111264
258564
3480564
0885556
12934656
Stop Event
saturated
node-limit
iter-limit
Counts
10 → 16
Calls
Call 1
Inputs
#s(approx (- (* x 116) 16) (*.f64 #s(literal 116 binary64) x))
(*.f64 #s(literal 116 binary64) x)
#s(literal 116 binary64)
x
#s(approx (- (* x 116) 16) #s(hole binary64 -16))
#s(approx (- (* x 116) 16) #s(hole binary64 (- (* 116 x) 16)))
#s(approx (* 116 x) #s(hole binary64 (* 116 x)))
#s(approx x #s(hole binary64 x))
#s(approx (- (* x 116) 16) #s(hole binary64 (* x (- 116 (* 16 (/ 1 x))))))
#s(approx (- (* x 116) 16) #s(hole binary64 (* -1 (* x (- (* 16 (/ 1 x)) 116)))))
Outputs
#s(approx (- (* x 116) 16) (*.f64 #s(literal 116 binary64) x))
(*.f64 (*.f64 #s(literal -116 binary64) x) #s(literal -1 binary64))
(*.f64 #s(literal -116 binary64) (neg.f64 x))
(*.f64 (neg.f64 x) #s(literal -116 binary64))
(*.f64 #s(literal -1 binary64) (*.f64 #s(literal -116 binary64) x))
(*.f64 #s(literal 116 binary64) x)
(*.f64 x #s(literal 116 binary64))
(neg.f64 (*.f64 #s(literal -116 binary64) x))
#s(literal 116 binary64)
x
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
#s(approx (- (* x 116) 16) (fma.f64 #s(literal 116 binary64) x #s(literal -16 binary64)))
#s(approx (* 116 x) (*.f64 #s(literal 116 binary64) x))
#s(approx x x)
#s(approx (- (* x 116) 16) (fma.f64 #s(literal 116 binary64) x #s(literal -16 binary64)))
#s(approx (- (* x 116) 16) (fma.f64 #s(literal 116 binary64) x #s(literal -16 binary64)))

eval1.0ms (0.1%)

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

Compiled 37 to 32 computations (13.5% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New909
Fresh000
Picked011
Done022
Total9312
Accuracy
100.0%
Counts
12 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
49.8%
#s(approx (- (* x 116) 16) (*.f64 #s(literal 116 binary64) x))
51.6%
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
Compiler

Compiled 35 to 33 computations (5.7% saved)

regimes5.0ms (0.4%)

Memory
16.3MiB live, 16.3MiB allocated; 0ms collecting garbage
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
#s(approx (- (* x 116) 16) (*.f64 #s(literal 116 binary64) x))
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
Outputs
(fma.f64 x #s(literal 116 binary64) #s(literal -16 binary64))
Calls

3 calls:

2.0ms
(*.f64 x #s(literal 116 binary64))
2.0ms
x
1.0ms
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
Results
AccuracySegmentsBranch
100.0%1(*.f64 x #s(literal 116 binary64))
100.0%1(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
100.0%1x
Compiler

Compiled 9 to 9 computations (0% saved)

regimes4.0ms (0.3%)

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

3 calls:

1.0ms
x
1.0ms
(*.f64 x #s(literal 116 binary64))
1.0ms
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
Results
AccuracySegmentsBranch
97.9%3(*.f64 x #s(literal 116 binary64))
97.9%3(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
97.9%3x
Compiler

Compiled 9 to 9 computations (0% saved)

regimes23.0ms (1.6%)

Memory
-48.8MiB live, 11.0MiB allocated; 3ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
Outputs
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
Calls

3 calls:

21.0ms
(*.f64 x #s(literal 116 binary64))
1.0ms
x
1.0ms
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
Results
AccuracySegmentsBranch
51.6%1(*.f64 x #s(literal 116 binary64))
51.6%1(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
51.6%1x
Compiler

Compiled 9 to 9 computations (0% saved)

bsearch17.0ms (1.1%)

Memory
38.5MiB live, 38.5MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
8.0ms
0.06911277808823318
5338.632843186603
8.0ms
-457139.86456327466
-0.0014840855855492608
Samples
6.0ms288×0valid
Compiler

Compiled 278 to 315 computations (-13.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.0ms
ival-sub!: 1.0ms (51.9% of total)
ival-mult!: 1.0ms (51.9% of total)
adjust: 0.0ms (0% of total)

derivations102.0ms (6.9%)

Memory
-30.2MiB live, 106.3MiB allocated; 8ms collecting garbage
Stop Event
done
Compiler

Compiled 19 to 17 computations (10.5% saved)

preprocess21.0ms (1.4%)

Memory
12.8MiB live, 65.6MiB allocated; 6ms collecting garbage
Compiler

Compiled 24 to 22 computations (8.3% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...