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

Time bar (total: 5.8s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample4.0s (68.9%)

Memory
-280.3MiB live, 736.4MiB allocated; 4.7s collecting garbage
Samples
3.8s8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 85.0ms
ival-div!: 61.0ms (71.6% of total)
ival-add!: 22.0ms (25.8% of total)
adjust: 1.0ms (1.2% of total)
Bogosity

preprocess216.0ms (3.7%)

Memory
-12.1MiB live, 80.8MiB allocated; 16ms 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)

series164.0ms (2.8%)

Memory
13.4MiB live, 108.9MiB allocated; 22ms 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
2.0ms
y
inf
1.0ms
y
-inf
1.0ms
x
-inf
1.0ms
x
inf
1.0ms
y
0

rewrite207.0ms (3.6%)

Memory
24.4MiB live, 167.7MiB allocated; 40ms 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%)

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

Compiled 219 to 78 computations (64.4% saved)

prune2.0ms (0%)

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

series148.0ms (2.5%)

Memory
-2.9MiB live, 138.8MiB allocated; 6ms 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
1.0ms
x
0
0.0ms
y
-inf
0.0ms
y
inf
0.0ms
x
-inf
0.0ms
x
inf

rewrite217.0ms (3.7%)

Memory
-8.7MiB live, 167.1MiB allocated; 48ms 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.1%)

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

Compiled 358 to 105 computations (70.7% saved)

prune2.0ms (0%)

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

series148.0ms (2.5%)

Memory
-16.4MiB live, 34.5MiB allocated; 56ms 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
0.0ms
y
-inf
0.0ms
y
inf
0.0ms
y
0
0.0ms
x
-inf
0.0ms
x
inf

rewrite206.0ms (3.5%)

Memory
-0.7MiB live, 93.3MiB allocated; 15ms 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))

eval1.0ms (0%)

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

Compiled 171 to 60 computations (64.9% saved)

prune1.0ms (0%)

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

series147.0ms (2.5%)

Memory
7.5MiB live, 53.5MiB allocated; 6ms 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

rewrite220.0ms (3.8%)

Memory
30.5MiB live, 123.0MiB allocated; 18ms 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

eval6.0ms (0.1%)

Memory
-42.3MiB live, 1.7MiB allocated; 7ms collecting garbage
Compiler

Compiled 89 to 37 computations (58.4% saved)

prune1.0ms (0%)

Memory
2.3MiB live, 2.3MiB allocated; 0ms 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)

regimes34.0ms (0.6%)

Memory
14.6MiB live, 60.5MiB allocated; 5ms 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:

6.0ms
(/.f64 y #s(literal 500 binary64))
2.0ms
x
2.0ms
(+.f64 x (/.f64 y #s(literal 500 binary64)))
2.0ms
y
2.0ms
(/.f64 y #s(literal 500 binary64))
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)

bsearch15.0ms (0.3%)

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

Compiled 232 to 234 computations (-0.9% saved)

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

bsearch1.0ms (0%)

Memory
2.5MiB live, 2.5MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
0.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.4MiB live, 2.4MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 78 to 22 computations (71.8% saved)

preprocess67.0ms (1.1%)

Memory
-7.9MiB live, 51.0MiB allocated; 58ms 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...