Data.Colour.CIE:cieLAB from colour-2.3.3, C

Time bar (total: 2.8s)

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%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 7 to 7 computations (0% saved)

sample689.0ms (25.1%)

Memory
23.5MiB live, 819.0MiB allocated; 267ms collecting garbage
Samples
436.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 193.0ms
ival-div!: 123.0ms (63.8% of total)
adjust: 48.0ms (24.9% of total)
ival-add!: 22.0ms (11.4% of total)
Bogosity

preprocess144.0ms (5.2%)

Memory
-23.3MiB live, 21.7MiB allocated; 6ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01434
15330
217830
352230
4201730
5612830
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 x (/.f64 y #s(literal 500 binary64)))
Compiler

Compiled 10 to 10 computations (0% saved)

series278.0ms (10.1%)

Memory
-16.3MiB live, 52.1MiB allocated; 203ms collecting garbage
Counts
5 → 8
Calls
Call 1
Inputs
(+.f64 x (/.f64 y #s(literal 500 binary64)))
x
(/.f64 y #s(literal 500 binary64))
y
#s(literal 500 binary64)
Outputs
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
#s(approx (+ x (/ y 500)) (+.f64 x (*.f64 #s(literal 1/500 binary64) y)))
#s(approx x x)
#s(approx (+ x (/ y 500)) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/500 binary64) (/.f64 y x)))))
#s(approx (+ x (/ y 500)) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1/500 binary64) (/.f64 y x)) #s(literal 1 binary64)))))
#s(approx y y)
#s(approx (+ x (/ y 500)) (*.f64 y (+.f64 #s(literal 1/500 binary64) (/.f64 x y))))
#s(approx (+ x (/ y 500)) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x y)) #s(literal 1/500 binary64)))))
Calls

6 calls:

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

rewrite209.0ms (7.6%)

Memory
-7.6MiB live, 92.8MiB allocated; 23ms collecting garbage
Counts
5 → 25
Calls
Call 1
Inputs
(+.f64 x (/.f64 y #s(literal 500 binary64)))
x
(/.f64 y #s(literal 500 binary64))
y
#s(literal 500 binary64)
Outputs
(*.f64 (fma.f64 #s(literal 500 binary64) x y) #s(literal 1/500 binary64))
(+.f64 x (*.f64 y #s(literal 1/500 binary64)))
(+.f64 (*.f64 y #s(literal 1/500 binary64)) x)
(+.f64 (/.f64 (*.f64 #s(literal 500 binary64) x) #s(literal 500 binary64)) (*.f64 y #s(literal 1/500 binary64)))
(-.f64 (*.f64 y #s(literal 1/500 binary64)) (neg.f64 x))
(-.f64 x (*.f64 y #s(literal -1/500 binary64)))
(/.f64 (fma.f64 #s(literal 500 binary64) x y) #s(literal 500 binary64))
(/.f64 (fma.f64 x #s(literal -500 binary64) (neg.f64 y)) #s(literal -500 binary64))
(/.f64 (neg.f64 (fma.f64 #s(literal 500 binary64) x y)) #s(literal -500 binary64))
(fma.f64 y #s(literal 1/500 binary64) x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 (neg.f64 y) #s(literal -1/500 binary64) x)
(neg.f64 (-.f64 (*.f64 y #s(literal -1/500 binary64)) x))
x
(*.f64 y #s(literal 1/500 binary64))
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 (neg.f64 y) #s(literal -1/500 binary64))
(/.f64 y #s(literal 500 binary64))
(/.f64 (*.f64 y #s(literal 1 binary64)) #s(literal 500 binary64))
(/.f64 (neg.f64 y) #s(literal -500 binary64))
(/.f64 (neg.f64 (neg.f64 y)) #s(literal 500 binary64))
(neg.f64 (*.f64 y #s(literal -1/500 binary64)))
y
#s(literal 500 binary64)
(neg.f64 #s(literal -500 binary64))

eval3.0ms (0.1%)

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

Compiled 219 to 78 computations (64.4% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New27229
Fresh000
Picked011
Done000
Total27330
Accuracy
100.0%
Counts
30 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(fma.f64 y #s(literal 1/500 binary64) x)
100.0%
(+.f64 x (/.f64 y #s(literal 500 binary64)))
49.5%
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
Compiler

Compiled 18 to 17 computations (5.6% saved)

series143.0ms (5.2%)

Memory
12.8MiB live, 59.0MiB allocated; 5ms collecting garbage
Counts
6 → 8
Calls
Call 1
Inputs
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
(*.f64 #s(literal 1/500 binary64) y)
#s(literal 1/500 binary64)
y
(fma.f64 y #s(literal 1/500 binary64) x)
x
Outputs
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
#s(approx (+ x (/ y 500)) (+.f64 x (*.f64 #s(literal 1/500 binary64) y)))
#s(approx x x)
#s(approx (+ x (/ y 500)) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/500 binary64) (/.f64 y x)))))
#s(approx (+ x (/ y 500)) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1/500 binary64) (/.f64 y x)) #s(literal 1 binary64)))))
#s(approx y y)
#s(approx (+ x (/ y 500)) (*.f64 y (+.f64 #s(literal 1/500 binary64) (/.f64 x y))))
#s(approx (+ x (/ y 500)) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x y)) #s(literal 1/500 binary64)))))
Calls

6 calls:

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

rewrite222.0ms (8.1%)

Memory
-6.5MiB live, 85.0MiB allocated; 34ms collecting garbage
Counts
6 → 35
Calls
Call 1
Inputs
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
(*.f64 #s(literal 1/500 binary64) y)
#s(literal 1/500 binary64)
y
(fma.f64 y #s(literal 1/500 binary64) x)
x
Outputs
#s(approx (+ x (* y 1/500)) (*.f64 #s(literal 1/500 binary64) y))
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 y #s(literal 1/500 binary64))
(*.f64 (neg.f64 y) #s(literal -1/500 binary64))
(/.f64 y #s(literal 500 binary64))
(/.f64 (*.f64 #s(literal 1 binary64) y) #s(literal 500 binary64))
(/.f64 (*.f64 y #s(literal 1 binary64)) #s(literal 500 binary64))
(/.f64 (neg.f64 y) #s(literal -500 binary64))
(/.f64 (neg.f64 (neg.f64 y)) #s(literal 500 binary64))
(neg.f64 (*.f64 #s(literal -1/500 binary64) y))
#s(literal 1/500 binary64)
(*.f64 #s(literal 1 binary64) #s(literal 1/500 binary64))
(/.f64 #s(literal -1 binary64) #s(literal -500 binary64))
(/.f64 #s(literal 1 binary64) #s(literal 500 binary64))
(pow.f64 #s(literal 500 binary64) #s(literal -1 binary64))
y
(*.f64 (fma.f64 #s(literal 500 binary64) x y) #s(literal 1/500 binary64))
(+.f64 (*.f64 #s(literal 1/500 binary64) y) x)
(+.f64 x (*.f64 #s(literal 1/500 binary64) y))
(+.f64 (/.f64 (*.f64 #s(literal 500 binary64) x) #s(literal 500 binary64)) (*.f64 #s(literal 1/500 binary64) y))
(+.f64 (*.f64 #s(literal 1/500 binary64) y) (neg.f64 (neg.f64 x)))
(-.f64 (*.f64 #s(literal 1/500 binary64) y) (neg.f64 x))
(-.f64 x (*.f64 #s(literal -1/500 binary64) y))
(/.f64 (fma.f64 #s(literal 500 binary64) x y) #s(literal 500 binary64))
(/.f64 (fma.f64 x #s(literal -500 binary64) (neg.f64 y)) #s(literal -500 binary64))
(/.f64 (neg.f64 (fma.f64 #s(literal 500 binary64) x y)) #s(literal -500 binary64))
(fma.f64 y #s(literal 1/500 binary64) x)
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 (neg.f64 y) #s(literal -1/500 binary64) x)
(fma.f64 y #s(literal 1/500 binary64) (neg.f64 (neg.f64 x)))
(fma.f64 #s(literal 1/500 binary64) y (neg.f64 (neg.f64 x)))
(fma.f64 (neg.f64 y) #s(literal -1/500 binary64) (neg.f64 (neg.f64 x)))
(neg.f64 (-.f64 (*.f64 #s(literal -1/500 binary64) y) x))
(neg.f64 (-.f64 (neg.f64 x) (*.f64 #s(literal 1/500 binary64) y)))
x

eval4.0ms (0.2%)

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

Compiled 358 to 105 computations (70.7% saved)

prune54.0ms (2%)

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

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New41142
Fresh000
Picked022
Done101
Total42345
Accuracy
100.0%
Counts
45 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(fma.f64 y #s(literal 1/500 binary64) x)
49.5%
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64)))
49.5%
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
Compiler

Compiled 22 to 20 computations (9.1% saved)

series185.0ms (6.7%)

Memory
-6.4MiB live, 40.1MiB allocated; 5ms collecting garbage
Counts
4 → 8
Calls
Call 1
Inputs
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64)))
(/.f64 y #s(literal 500 binary64))
y
#s(literal 500 binary64)
Outputs
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
#s(approx (+ x (/ y 500)) (+.f64 x (*.f64 #s(literal 1/500 binary64) y)))
#s(approx (+ x (/ y 500)) x)
#s(approx (+ x (/ y 500)) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/500 binary64) (/.f64 y x)))))
#s(approx (+ x (/ y 500)) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1/500 binary64) (/.f64 y x)) #s(literal 1 binary64)))))
#s(approx y y)
#s(approx (+ x (/ y 500)) (*.f64 y (+.f64 #s(literal 1/500 binary64) (/.f64 x y))))
#s(approx (+ x (/ y 500)) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x y)) #s(literal 1/500 binary64)))))
Calls

6 calls:

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

rewrite261.0ms (9.5%)

Memory
19.6MiB live, 115.8MiB allocated; 19ms collecting garbage
Counts
4 → 12
Calls
Call 1
Inputs
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64)))
(/.f64 y #s(literal 500 binary64))
y
#s(literal 500 binary64)
Outputs
#s(approx (+ x (* y 1/500)) (*.f64 y #s(literal 1/500 binary64)))
(*.f64 y #s(literal 1/500 binary64))
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 (neg.f64 y) #s(literal -1/500 binary64))
(/.f64 y #s(literal 500 binary64))
(/.f64 (*.f64 y #s(literal 1 binary64)) #s(literal 500 binary64))
(/.f64 (neg.f64 y) #s(literal -500 binary64))
(/.f64 (neg.f64 (neg.f64 y)) #s(literal 500 binary64))
(neg.f64 (*.f64 y #s(literal -1/500 binary64)))
y
#s(literal 500 binary64)
(neg.f64 #s(literal -500 binary64))

eval3.0ms (0.1%)

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

Compiled 171 to 60 computations (64.9% saved)

prune3.0ms (0.1%)

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

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New14115
Fresh000
Picked011
Done022
Total14418
Accuracy
100.0%
Counts
18 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(fma.f64 y #s(literal 1/500 binary64) x)
49.5%
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64)))
49.5%
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
51.3%
#s(approx (+ x (/ y 500)) x)
Compiler

Compiled 29 to 26 computations (10.3% saved)

series167.0ms (6.1%)

Memory
-4.3MiB live, 41.3MiB allocated; 31ms collecting garbage
Counts
2 → 7
Calls
Call 1
Inputs
#s(approx (+ x (/ y 500)) x)
x
Outputs
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
#s(approx (+ x (/ y 500)) (+.f64 x (*.f64 #s(literal 1/500 binary64) y)))
#s(approx x x)
#s(approx (+ x (/ y 500)) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/500 binary64) (/.f64 y x)))))
#s(approx (+ x (/ y 500)) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1/500 binary64) (/.f64 y x)) #s(literal 1 binary64)))))
#s(approx (+ x (/ y 500)) (*.f64 y (+.f64 #s(literal 1/500 binary64) (/.f64 x y))))
#s(approx (+ x (/ y 500)) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x y)) #s(literal 1/500 binary64)))))
Calls

6 calls:

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

rewrite217.0ms (7.9%)

Memory
18.5MiB live, 158.5MiB allocated; 39ms collecting garbage
Counts
2 → 2
Calls
Call 1
Inputs
#s(approx (+ x (/ y 500)) x)
x
Outputs
#s(approx (+ x (* y 1/500)) x)
x

eval1.0ms (0%)

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

Compiled 89 to 37 computations (58.4% saved)

prune4.0ms (0.1%)

Memory
-42.7MiB live, 3.2MiB allocated; 4ms collecting garbage
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New707
Fresh000
Picked011
Done033
Total7411
Accuracy
100.0%
Counts
11 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(fma.f64 y #s(literal 1/500 binary64) x)
49.5%
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64)))
49.5%
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
51.3%
#s(approx (+ x (/ y 500)) x)
Compiler

Compiled 29 to 26 computations (10.3% saved)

regimes89.0ms (3.2%)

Memory
37.9MiB live, 83.8MiB allocated; 3ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
2 → 3
3 → 3
4 → 1
5 → 1
Calls
Call 1
Inputs
#s(approx (+ x (/ y 500)) x)
Outputs
#s(approx (+ x (/ y 500)) x)
Call 2
Inputs
#s(approx (+ x (/ y 500)) x)
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
Outputs
#s(approx (+ x (/ y 500)) x)
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
#s(approx (+ x (/ y 500)) x)
Call 3
Inputs
#s(approx (+ x (/ y 500)) x)
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64)))
Outputs
#s(approx (+ x (/ y 500)) x)
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64)))
#s(approx (+ x (/ y 500)) x)
Call 4
Inputs
#s(approx (+ x (/ y 500)) x)
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64)))
(fma.f64 y #s(literal 1/500 binary64) x)
Outputs
(fma.f64 y #s(literal 1/500 binary64) x)
Call 5
Inputs
#s(approx (+ x (/ y 500)) x)
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64)))
(fma.f64 y #s(literal 1/500 binary64) x)
(+.f64 x (/.f64 y #s(literal 500 binary64)))
Outputs
(+.f64 x (/.f64 y #s(literal 500 binary64)))
Calls

17 calls:

4.0ms
y
3.0ms
x
3.0ms
(+.f64 x (/.f64 y #s(literal 500 binary64)))
3.0ms
(/.f64 y #s(literal 500 binary64))
3.0ms
y
Results
AccuracySegmentsBranch
51.3%1(+.f64 x (/.f64 y #s(literal 500 binary64)))
51.3%1(/.f64 y #s(literal 500 binary64))
51.3%1y
51.3%1x
77.7%3x
76.8%3(/.f64 y #s(literal 500 binary64))
57.3%4(+.f64 x (/.f64 y #s(literal 500 binary64)))
77.7%3x
76.8%3y
99.9%1(/.f64 y #s(literal 500 binary64))
99.9%1(+.f64 x (/.f64 y #s(literal 500 binary64)))
99.9%1x
99.9%1y
100.0%1(/.f64 y #s(literal 500 binary64))
100.0%1(+.f64 x (/.f64 y #s(literal 500 binary64)))
100.0%1x
100.0%1y
Compiler

Compiled 75 to 68 computations (9.3% saved)

bsearch24.0ms (0.9%)

Memory
-21.0MiB live, 23.4MiB allocated; 11ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
6.0ms
1.7539914802866497e+106
9.183161188544426e+106
16.0ms
-1.5287084725056413e+40
-6.544811505513143e+35
Samples
7.0ms224×0valid
Compiler

Compiled 232 to 234 computations (-0.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.0ms
ival-div!: 2.0ms (93.1% of total)
ival-add!: 1.0ms (46.5% of total)
adjust: 0.0ms (0% of total)

bsearch2.0ms (0.1%)

Memory
2.7MiB live, 2.7MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
1.0ms
1.7539914802866497e+106
9.183161188544426e+106
1.0ms
-1.5287084725056413e+40
-6.544811505513143e+35
Compiler

Compiled 232 to 234 computations (-0.9% saved)

derivations1.0ms (0%)

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

Compiled 78 to 22 computations (71.8% saved)

preprocess46.0ms (1.7%)

Memory
11.2MiB live, 66.8MiB allocated; 46ms collecting garbage
Compiler

Compiled 83 to 27 computations (67.5% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...