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

Time bar (total: 1.7s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample625.0ms (36.2%)

Memory
-27.0MiB live, 471.4MiB allocated; 358ms collecting garbage
Samples
408.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 193.0ms
ival-div!: 169.0ms (87.5% of total)
ival-add!: 23.0ms (11.9% of total)
adjust: 1.0ms (0.5% of total)
Bogosity

preprocess18.0ms (1%)

Memory
12.4MiB live, 12.4MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01434
15330
217830
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)

series69.0ms (4%)

Memory
-13.9MiB live, 32.1MiB allocated; 17ms 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

rewrite179.0ms (10.4%)

Memory
30.5MiB live, 75.7MiB allocated; 8ms 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))

eval6.0ms (0.3%)

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

Compiled 219 to 78 computations (64.4% saved)

prune3.0ms (0.2%)

Memory
2.4MiB live, 2.4MiB 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)))
51.2%
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
Compiler

Compiled 18 to 17 computations (5.6% saved)

series75.0ms (4.3%)

Memory
-5.5MiB live, 46.7MiB allocated; 14ms 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
y
-inf
1.0ms
y
inf
1.0ms
x
-inf
0.0ms
x
inf
0.0ms
y
0

rewrite158.0ms (9.1%)

Memory
1.5MiB live, 141.9MiB allocated; 10ms 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

eval10.0ms (0.6%)

Memory
-41.9MiB live, 7.6MiB allocated; 9ms collecting garbage
Compiler

Compiled 358 to 105 computations (70.7% saved)

prune3.0ms (0.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)
51.3%
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64)))
51.2%
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
Compiler

Compiled 22 to 20 computations (9.1% saved)

series67.0ms (3.9%)

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

rewrite165.0ms (9.6%)

Memory
-8.2MiB live, 83.7MiB allocated; 13ms 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))

eval2.0ms (0.1%)

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

Compiled 171 to 60 computations (64.9% saved)

prune2.0ms (0.1%)

Memory
2.6MiB live, 2.6MiB 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)
51.3%
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64)))
51.2%
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
49.5%
#s(approx (+ x (/ y 500)) x)
Compiler

Compiled 29 to 26 computations (10.3% saved)

series88.0ms (5.1%)

Memory
-11.7MiB live, 35.3MiB allocated; 12ms 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

rewrite168.0ms (9.7%)

Memory
5.0MiB live, 60.4MiB allocated; 52ms 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.1%)

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

Compiled 89 to 37 computations (58.4% saved)

prune1.0ms (0.1%)

Memory
1.5MiB live, 1.5MiB 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)
51.3%
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64)))
51.2%
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
49.5%
#s(approx (+ x (/ y 500)) x)
Compiler

Compiled 29 to 26 computations (10.3% saved)

regimes35.0ms (2%)

Memory
-25.1MiB live, 69.5MiB allocated; 4ms 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)) (*.f64 #s(literal 1/500 binary64) y))
#s(approx (+ x (/ y 500)) x)
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
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)) (/.f64 y #s(literal 500 binary64)))
#s(approx (+ x (/ y 500)) x)
#s(approx (+ x (/ y 500)) (/.f64 y #s(literal 500 binary64)))
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

18 calls:

4.0ms
(+.f64 x (/.f64 y #s(literal 500 binary64)))
2.0ms
x
2.0ms
(/.f64 y #s(literal 500 binary64))
2.0ms
y
2.0ms
(/.f64 y #s(literal 500 binary64))
Results
AccuracySegmentsBranch
49.5%1(+.f64 x (/.f64 y #s(literal 500 binary64)))
49.5%1x
49.5%1(/.f64 y #s(literal 500 binary64))
49.5%1y
77.8%3(/.f64 y #s(literal 500 binary64))
77.8%3y
77.8%3(/.f64 y #s(literal 500 binary64))
59.1%2(+.f64 x (/.f64 y #s(literal 500 binary64)))
75.3%3x
77.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 78 to 72 computations (7.7% saved)

bsearch17.0ms (1%)

Memory
31.2MiB live, 31.2MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
6.0ms
5.873809500222e+55
3.567958392519481e+56
10.0ms
-6.930652889212724e-40
-7.580832512317473e-57
Samples
7.0ms256×0valid
Compiler

Compiled 264 to 266 computations (-0.8% saved)

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

bsearch2.0ms (0.1%)

Memory
1.8MiB live, 1.8MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
1.0ms
5.873809500222e+55
3.567958392519481e+56
1.0ms
-6.930652889212724e-40
-7.580832512317473e-57
Compiler

Compiled 264 to 266 computations (-0.8% saved)

derivations3.0ms (0.1%)

Memory
-44.6MiB live, 2.1MiB allocated; 3ms collecting garbage
Stop Event
done
Compiler

Compiled 82 to 22 computations (73.2% saved)

preprocess30.0ms (1.7%)

Memory
15.5MiB live, 65.6MiB allocated; 7ms collecting garbage
Compiler

Compiled 87 to 27 computations (69% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...