Data.Colour.CIE:lightness from colour-2.3.3

Time bar (total: 1.6s)

start0.0ms (0%)

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

analyze24.0ms (1.5%)

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 7 computations (0% saved)

sample509.0ms (32.3%)

Memory
26.7MiB live, 812.8MiB allocated; 246ms collecting garbage
Samples
324.0ms8 174×0valid
2.0ms39×2valid
2.0ms43×1valid
Precisions
Click to see histograms. Total time spent on operations: 89.0ms
ival-mult!: 46.0ms (51.8% of total)
ival-sub!: 39.0ms (43.9% of total)
adjust: 3.0ms (3.4% of total)
Bogosity

preprocess53.0ms (3.4%)

Memory
10.3MiB live, 55.5MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0918
13716
227216
Stop Event
iter-limit
node-limit
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)

series104.0ms (6.6%)

Memory
-14.3MiB live, 84.0MiB allocated; 71ms 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(literal -16 binary64))
#s(approx (- (* x 116) 16) (-.f64 (*.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) (*.f64 x (-.f64 #s(literal 116 binary64) (*.f64 #s(literal 16 binary64) (/.f64 #s(literal 1 binary64) x)))))
#s(approx (- (* x 116) 16) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 16 binary64) (/.f64 #s(literal 1 binary64) x)) #s(literal 116 binary64)))))
Calls

3 calls:

TimeVariablePoint
1.0ms
x
-inf
1.0ms
x
inf
0.0ms
x
0

rewrite163.0ms (10.4%)

Memory
9.4MiB live, 148.2MiB allocated; 52ms collecting garbage
Counts
5 → 10
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
(*.f64 (fma.f64 x #s(literal 116 binary64) #s(literal 16 binary64)) (/.f64 (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (fma.f64 x #s(literal 116 binary64) #s(literal 16 binary64))))
(*.f64 (/.f64 (-.f64 (*.f64 (*.f64 (*.f64 #s(literal 116 binary64) #s(literal 116 binary64)) #s(literal 116 binary64)) (*.f64 (*.f64 x x) x)) (*.f64 (*.f64 #s(literal 16 binary64) #s(literal 16 binary64)) #s(literal 16 binary64))) (+.f64 (pow.f64 (*.f64 (fma.f64 x #s(literal 116 binary64) #s(literal 16 binary64)) #s(literal 16 binary64)) #s(literal 3 binary64)) (pow.f64 (*.f64 x #s(literal 116 binary64)) (+.f64 #s(literal 3 binary64) #s(literal 3 binary64))))) (fma.f64 (*.f64 (fma.f64 x #s(literal 116 binary64) #s(literal 16 binary64)) #s(literal 16 binary64)) (-.f64 (*.f64 (fma.f64 x #s(literal 116 binary64) #s(literal 16 binary64)) #s(literal 16 binary64)) (*.f64 (*.f64 #s(literal 116 binary64) #s(literal 116 binary64)) (*.f64 x x))) (*.f64 (*.f64 (*.f64 #s(literal 116 binary64) #s(literal 116 binary64)) (*.f64 x x)) (*.f64 (*.f64 #s(literal 116 binary64) #s(literal 116 binary64)) (*.f64 x x)))))
(*.f64 (/.f64 (*.f64 (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (fma.f64 x #s(literal 116 binary64) #s(literal 16 binary64))) (fma.f64 (*.f64 (*.f64 #s(literal 116 binary64) #s(literal 116 binary64)) #s(literal 116 binary64)) (*.f64 (*.f64 x x) x) (*.f64 (*.f64 #s(literal 16 binary64) #s(literal 16 binary64)) #s(literal 16 binary64)))) (fma.f64 #s(literal 16 binary64) (-.f64 #s(literal 16 binary64) (*.f64 x #s(literal 116 binary64))) (*.f64 (*.f64 #s(literal 116 binary64) #s(literal 116 binary64)) (*.f64 x x))))
(*.f64 (/.f64 (*.f64 (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (fma.f64 x #s(literal 116 binary64) #s(literal 16 binary64))) (*.f64 (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (fma.f64 x #s(literal 116 binary64) #s(literal 16 binary64)))) (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)))
(*.f64 (fma.f64 (fma.f64 x #s(literal 116 binary64) #s(literal 16 binary64)) #s(literal 16 binary64) (*.f64 (*.f64 #s(literal 116 binary64) #s(literal 116 binary64)) (*.f64 x x))) (/.f64 (-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64)) (fma.f64 (fma.f64 x #s(literal 116 binary64) #s(literal 16 binary64)) #s(literal 16 binary64) (*.f64 (*.f64 #s(literal 116 binary64) #s(literal 116 binary64)) (*.f64 x x)))))
(*.f64 x #s(literal 116 binary64))
(*.f64 #s(literal 116 binary64) x)
x
#s(literal 116 binary64)
#s(literal 16 binary64)

eval2.0ms (0.1%)

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

Compiled 259 to 64 computations (75.3% saved)

prune1.0ms (0.1%)

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

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New11112
Fresh000
Picked011
Done000
Total11213
Accuracy
100.0%
Counts
13 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
56.2%
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
Compiler

Compiled 12 to 12 computations (0% saved)

series109.0ms (6.9%)

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

3 calls:

TimeVariablePoint
0.0ms
x
inf
0.0ms
x
-inf
0.0ms
x
0

rewrite187.0ms (11.9%)

Memory
11.1MiB live, 151.3MiB allocated; 19ms collecting garbage
Counts
2 → 2
Calls
Call 1
Inputs
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
#s(literal -16 binary64)
Outputs
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
#s(literal -16 binary64)

eval1.0ms (0.1%)

Memory
1.3MiB live, 1.2MiB allocated; 0ms collecting garbage
Compiler

Compiled 52 to 22 computations (57.7% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New314
Fresh000
Picked011
Done011
Total336
Accuracy
100.0%
Counts
6 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
45.3%
#s(approx (- (* x 116) 16) (*.f64 #s(literal 116 binary64) x))
56.2%
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
Compiler

Compiled 21 to 20 computations (4.8% saved)

series94.0ms (6%)

Memory
1.7MiB live, 54.2MiB allocated; 14ms 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(literal -16 binary64))
#s(approx (- (* x 116) 16) (-.f64 (*.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) (*.f64 x (-.f64 #s(literal 116 binary64) (*.f64 #s(literal 16 binary64) (/.f64 #s(literal 1 binary64) x)))))
#s(approx (- (* x 116) 16) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 16 binary64) (/.f64 #s(literal 1 binary64) x)) #s(literal 116 binary64)))))
Calls

3 calls:

TimeVariablePoint
1.0ms
x
-inf
1.0ms
x
inf
0.0ms
x
0

rewrite176.0ms (11.2%)

Memory
8.2MiB live, 100.4MiB allocated; 12ms collecting garbage
Counts
4 → 5
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) (*.f64 #s(literal 116 binary64) x))
(*.f64 #s(literal 116 binary64) x)
(*.f64 x #s(literal 116 binary64))
#s(literal 116 binary64)
x

eval1.0ms (0.1%)

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

Compiled 76 to 29 computations (61.8% saved)

prune1.0ms (0.1%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New606
Fresh000
Picked011
Done022
Total639
Accuracy
100.0%
Counts
9 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
45.3%
#s(approx (- (* x 116) 16) (*.f64 #s(literal 116 binary64) x))
56.2%
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
Compiler

Compiled 21 to 20 computations (4.8% saved)

regimes49.0ms (3.1%)

Memory
-7.6MiB live, 38.6MiB allocated; 12ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
2 → 3
3 → 1
Calls
Call 1
Inputs
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
Outputs
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
Call 2
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))
Call 3
Inputs
#s(approx (- (* x 116) 16) #s(literal -16 binary64))
#s(approx (- (* x 116) 16) (*.f64 #s(literal 116 binary64) x))
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
Outputs
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
Calls

9 calls:

34.0ms
(*.f64 x #s(literal 116 binary64))
2.0ms
x
2.0ms
(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
2.0ms
(*.f64 x #s(literal 116 binary64))
2.0ms
x
Results
AccuracySegmentsBranch
56.2%1(*.f64 x #s(literal 116 binary64))
56.2%1(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
56.2%1x
97.7%3(*.f64 x #s(literal 116 binary64))
97.7%3(-.f64 (*.f64 x #s(literal 116 binary64)) #s(literal 16 binary64))
97.7%3x
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 48 to 40 computations (16.7% saved)

bsearch57.0ms (3.6%)

Memory
-18.5MiB live, 33.2MiB allocated; 17ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
22.0ms
1.7428098246805301e-6
1013753550.0383205
33.0ms
-1268230655.4737659
-0.0293684844101821
Samples
19.0ms320×0valid
Compiler

Compiled 328 to 349 computations (-6.4% saved)

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

derivations1.0ms (0.1%)

Memory
1.4MiB live, 1.4MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 45 to 19 computations (57.8% saved)

preprocess40.0ms (2.5%)

Memory
13.0MiB live, 59.8MiB allocated; 3ms collecting garbage
Compiler

Compiled 50 to 24 computations (52% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...