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

Time bar (total: 790.0ms)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample476.0ms (60.2%)

Memory
-4.4MiB live, 761.4MiB allocated; 122ms collecting garbage
Samples
294.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 114.0ms
ival-div!: 73.0ms (63.8% of total)
ival-add!: 40.0ms (34.9% of total)
adjust: 1.0ms (0.9% of total)
Bogosity

preprocess29.0ms (3.7%)

Memory
-27.7MiB live, 19.3MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01434
12932
24132
35032
45232
Stop Event
saturated
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)

series4.0ms (0.5%)

Memory
4.6MiB live, 4.6MiB allocated; 0ms 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)) #s(hole binary64 (* 1/500 y)))
#s(approx (+ x (/ y 500)) #s(hole binary64 (+ x (* 1/500 y))))
#s(approx x #s(hole binary64 x))
#s(approx (+ x (/ y 500)) #s(hole binary64 (* x (+ 1 (* 1/500 (/ y x))))))
#s(approx (+ x (/ y 500)) #s(hole binary64 (* -1 (* x (- (* -1/500 (/ y x)) 1)))))
#s(approx y #s(hole binary64 y))
#s(approx (+ x (/ y 500)) #s(hole binary64 (* y (+ 1/500 (/ x y)))))
#s(approx (+ x (/ y 500)) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1/500)))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
y
@inf
((+ x (/ y 500)) x (/ y 500) y 500)
1.0ms
x
@inf
((+ x (/ y 500)) x (/ y 500) y 500)
1.0ms
y
@-inf
((+ x (/ y 500)) x (/ y 500) y 500)
1.0ms
x
@-inf
((+ x (/ y 500)) x (/ y 500) y 500)
0.0ms
y
@0
((+ x (/ y 500)) x (/ y 500) y 500)

rewrite59.0ms (7.5%)

Memory
14.4MiB live, 61.7MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03699
03796
115596
0114393
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
13 → 26
Calls
Call 1
Inputs
(+.f64 x (/.f64 y #s(literal 500 binary64)))
x
(/.f64 y #s(literal 500 binary64))
y
#s(literal 500 binary64)
#s(approx (+ x (/ y 500)) #s(hole binary64 (* 1/500 y)))
#s(approx (+ x (/ y 500)) #s(hole binary64 (+ x (* 1/500 y))))
#s(approx x #s(hole binary64 x))
#s(approx (+ x (/ y 500)) #s(hole binary64 (* x (+ 1 (* 1/500 (/ y x))))))
#s(approx (+ x (/ y 500)) #s(hole binary64 (* -1 (* x (- (* -1/500 (/ y x)) 1)))))
#s(approx y #s(hole binary64 y))
#s(approx (+ x (/ y 500)) #s(hole binary64 (* y (+ 1/500 (/ x y)))))
#s(approx (+ x (/ y 500)) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1/500)))))
Outputs
(/.f64 (-.f64 (/.f64 (*.f64 y y) #s(literal 250000 binary64)) (*.f64 x x)) (-.f64 (/.f64 y #s(literal 500 binary64)) x))
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (/.f64 (*.f64 y y) #s(literal 250000 binary64)))) (neg.f64 (-.f64 x (/.f64 y #s(literal 500 binary64)))))
(/.f64 (neg.f64 (fma.f64 (/.f64 (*.f64 y y) #s(literal 250000 binary64)) (/.f64 y #s(literal 500 binary64)) (*.f64 (*.f64 x x) x))) (neg.f64 (fma.f64 (/.f64 y #s(literal 500 binary64)) (-.f64 (/.f64 y #s(literal 500 binary64)) x) (*.f64 x x))))
(/.f64 (-.f64 (*.f64 x x) (/.f64 (*.f64 y y) #s(literal 250000 binary64))) (-.f64 x (/.f64 y #s(literal 500 binary64))))
(/.f64 (fma.f64 (/.f64 (*.f64 y y) #s(literal 250000 binary64)) (/.f64 y #s(literal 500 binary64)) (*.f64 (*.f64 x x) x)) (+.f64 (/.f64 (*.f64 y y) #s(literal 250000 binary64)) (-.f64 (*.f64 x x) (*.f64 (/.f64 y #s(literal 500 binary64)) x))))
(/.f64 (fma.f64 (/.f64 (*.f64 y y) #s(literal 250000 binary64)) (/.f64 y #s(literal 500 binary64)) (*.f64 (*.f64 x x) x)) (fma.f64 (/.f64 y #s(literal 500 binary64)) (-.f64 (/.f64 y #s(literal 500 binary64)) x) (*.f64 x x)))
(-.f64 (/.f64 (*.f64 x x) (-.f64 x (/.f64 y #s(literal 500 binary64)))) (/.f64 (/.f64 (*.f64 y y) #s(literal 250000 binary64)) (-.f64 x (/.f64 y #s(literal 500 binary64)))))
(+.f64 (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 (/.f64 y #s(literal 500 binary64)) (-.f64 (/.f64 y #s(literal 500 binary64)) x) (*.f64 x x))) (/.f64 (*.f64 (/.f64 (*.f64 y y) #s(literal 250000 binary64)) (/.f64 y #s(literal 500 binary64))) (fma.f64 (/.f64 y #s(literal 500 binary64)) (-.f64 (/.f64 y #s(literal 500 binary64)) x) (*.f64 x x))))
(+.f64 (/.f64 y #s(literal 500 binary64)) x)
(+.f64 x (/.f64 y #s(literal 500 binary64)))
x
(/.f64 (neg.f64 (neg.f64 y)) #s(literal 500 binary64))
(/.f64 (neg.f64 y) #s(literal -500 binary64))
(/.f64 y #s(literal 500 binary64))
(neg.f64 (/.f64 y #s(literal -500 binary64)))
(neg.f64 (/.f64 (neg.f64 y) #s(literal 500 binary64)))
y
#s(literal 500 binary64)
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
#s(approx (+ x (/ y 500)) (fma.f64 #s(literal 1/500 binary64) y x))
#s(approx x x)
#s(approx (+ x (/ y 500)) (*.f64 (fma.f64 (/.f64 y x) #s(literal 1/500 binary64) #s(literal 1 binary64)) x))
#s(approx (+ x (/ y 500)) (*.f64 (neg.f64 x) (fma.f64 #s(literal -1/500 binary64) (/.f64 y x) #s(literal -1 binary64))))
#s(approx y y)
#s(approx (+ x (/ y 500)) (*.f64 (+.f64 (/.f64 x y) #s(literal 1/500 binary64)) y))
#s(approx (+ x (/ y 500)) (*.f64 (neg.f64 y) (-.f64 (/.f64 (neg.f64 x) y) #s(literal 1/500 binary64))))

eval2.0ms (0.3%)

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

Compiled 159 to 81 computations (49.1% saved)

prune1.0ms (0.2%)

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

3 alts after pruning (2 fresh and 1 done)

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

Compiled 21 to 21 computations (0% saved)

series2.0ms (0.3%)

Memory
2.5MiB live, 2.5MiB allocated; 0ms collecting garbage
Counts
7 → 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
#s(approx (+ x (/ y 500)) (fma.f64 #s(literal 1/500 binary64) y x))
(fma.f64 #s(literal 1/500 binary64) y x)
x
Outputs
#s(approx (+ x (/ y 500)) #s(hole binary64 (* 1/500 y)))
#s(approx (+ x (/ y 500)) #s(hole binary64 (+ x (* 1/500 y))))
#s(approx x #s(hole binary64 x))
#s(approx (+ x (/ y 500)) #s(hole binary64 (* x (+ 1 (* 1/500 (/ y x))))))
#s(approx (+ x (/ y 500)) #s(hole binary64 (* -1 (* x (- (* -1/500 (/ y x)) 1)))))
#s(approx y #s(hole binary64 y))
#s(approx (+ x (/ y 500)) #s(hole binary64 (* y (+ 1/500 (/ x y)))))
#s(approx (+ x (/ y 500)) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1/500)))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
y
@-inf
((+ x (/ y 500)) (* 1/500 y) 1/500 y (+ x (/ y 500)) (+ (* 1/500 y) x) x)
0.0ms
y
@inf
((+ x (/ y 500)) (* 1/500 y) 1/500 y (+ x (/ y 500)) (+ (* 1/500 y) x) x)
0.0ms
x
@-inf
((+ x (/ y 500)) (* 1/500 y) 1/500 y (+ x (/ y 500)) (+ (* 1/500 y) x) x)
0.0ms
x
@inf
((+ x (/ y 500)) (* 1/500 y) 1/500 y (+ x (/ y 500)) (+ (* 1/500 y) x) x)
0.0ms
y
@0
((+ x (/ y 500)) (* 1/500 y) 1/500 y (+ x (/ y 500)) (+ (* 1/500 y) x) x)

rewrite54.0ms (6.8%)

Memory
-16.8MiB live, 30.0MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
038117
039113
1164113
01213111
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
15 → 34
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
#s(approx (+ x (/ y 500)) (fma.f64 #s(literal 1/500 binary64) y x))
(fma.f64 #s(literal 1/500 binary64) y x)
x
#s(approx (+ x (/ y 500)) #s(hole binary64 (* 1/500 y)))
#s(approx (+ x (/ y 500)) #s(hole binary64 (+ x (* 1/500 y))))
#s(approx x #s(hole binary64 x))
#s(approx (+ x (/ y 500)) #s(hole binary64 (* x (+ 1 (* 1/500 (/ y x))))))
#s(approx (+ x (/ y 500)) #s(hole binary64 (* -1 (* x (- (* -1/500 (/ y x)) 1)))))
#s(approx y #s(hole binary64 y))
#s(approx (+ x (/ y 500)) #s(hole binary64 (* y (+ 1/500 (/ x y)))))
#s(approx (+ x (/ y 500)) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1/500)))))
Outputs
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
(*.f64 #s(literal 1/500 binary64) y)
(*.f64 y #s(literal 1/500 binary64))
#s(literal 1/500 binary64)
y
#s(approx (+ x (/ y 500)) (fma.f64 #s(literal 1/500 binary64) y x))
(/.f64 (-.f64 (*.f64 (*.f64 x x) x) (pow.f64 (*.f64 #s(literal -1/500 binary64) y) #s(literal 3 binary64))) (fma.f64 x x (fma.f64 (*.f64 y y) #s(literal 1/250000 binary64) (*.f64 x (*.f64 #s(literal -1/500 binary64) y)))))
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y y) #s(literal 1/250000 binary64)))) (neg.f64 (-.f64 x (*.f64 #s(literal 1/500 binary64) y))))
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 y y) #s(literal 1/250000 binary64)) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 #s(literal 1/500 binary64) y) x)))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 y y) #s(literal 1/250000 binary64)) (*.f64 #s(literal 1/500 binary64) y) (*.f64 (*.f64 x x) x))) (neg.f64 (fma.f64 (*.f64 #s(literal 1/500 binary64) y) (-.f64 (*.f64 #s(literal 1/500 binary64) y) x) (*.f64 x x))))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 y y) #s(literal 1/250000 binary64)) (*.f64 #s(literal 1/500 binary64) y) (*.f64 (*.f64 x x) x))) (neg.f64 (fma.f64 (*.f64 y y) #s(literal 1/250000 binary64) (*.f64 x (-.f64 x (*.f64 #s(literal 1/500 binary64) y))))))
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y y) #s(literal 1/250000 binary64))) (-.f64 x (*.f64 #s(literal 1/500 binary64) y)))
(/.f64 (-.f64 (*.f64 (*.f64 y y) #s(literal 1/250000 binary64)) (*.f64 x x)) (-.f64 (*.f64 #s(literal 1/500 binary64) y) x))
(/.f64 (fma.f64 (*.f64 (*.f64 y y) #s(literal 1/250000 binary64)) (*.f64 #s(literal 1/500 binary64) y) (*.f64 (*.f64 x x) x)) (fma.f64 (*.f64 #s(literal 1/500 binary64) y) (-.f64 (*.f64 #s(literal 1/500 binary64) y) x) (*.f64 x x)))
(/.f64 (fma.f64 (*.f64 (*.f64 y y) #s(literal 1/250000 binary64)) (*.f64 #s(literal 1/500 binary64) y) (*.f64 (*.f64 x x) x)) (fma.f64 (*.f64 y y) #s(literal 1/250000 binary64) (*.f64 x (-.f64 x (*.f64 #s(literal 1/500 binary64) y)))))
(fma.f64 #s(literal 1/500 binary64) y x)
(fma.f64 y #s(literal 1/500 binary64) x)
(-.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 #s(literal 1/500 binary64) y))) (/.f64 (*.f64 (*.f64 y y) #s(literal 1/250000 binary64)) (-.f64 x (*.f64 #s(literal 1/500 binary64) y))))
(-.f64 (/.f64 (*.f64 (*.f64 y y) #s(literal 1/250000 binary64)) (-.f64 (*.f64 #s(literal 1/500 binary64) y) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 #s(literal 1/500 binary64) y) x)))
(-.f64 x (*.f64 (neg.f64 y) #s(literal 1/500 binary64)))
(-.f64 x (*.f64 #s(literal -1/500 binary64) y))
(+.f64 (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 (*.f64 #s(literal 1/500 binary64) y) (-.f64 (*.f64 #s(literal 1/500 binary64) y) x) (*.f64 x x))) (/.f64 (*.f64 (*.f64 (*.f64 y y) #s(literal 1/250000 binary64)) (*.f64 #s(literal 1/500 binary64) y)) (fma.f64 (*.f64 #s(literal 1/500 binary64) y) (-.f64 (*.f64 #s(literal 1/500 binary64) y) x) (*.f64 x x))))
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 y y) #s(literal 1/250000 binary64)) (*.f64 #s(literal 1/500 binary64) y)) (fma.f64 (*.f64 y y) #s(literal 1/250000 binary64) (*.f64 x (-.f64 x (*.f64 #s(literal 1/500 binary64) y))))) (/.f64 (*.f64 (*.f64 x x) x) (fma.f64 (*.f64 y y) #s(literal 1/250000 binary64) (*.f64 x (-.f64 x (*.f64 #s(literal 1/500 binary64) y))))))
(+.f64 (*.f64 #s(literal 1/500 binary64) y) x)
(+.f64 x (*.f64 #s(literal 1/500 binary64) y))
x
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
#s(approx (+ x (/ y 500)) (fma.f64 #s(literal 1/500 binary64) y x))
#s(approx x x)
#s(approx (+ x (/ y 500)) (*.f64 (fma.f64 (/.f64 y x) #s(literal 1/500 binary64) #s(literal 1 binary64)) x))
#s(approx (+ x (/ y 500)) (*.f64 (neg.f64 x) (fma.f64 #s(literal -1/500 binary64) (/.f64 y x) #s(literal -1 binary64))))
#s(approx y y)
#s(approx (+ x (/ y 500)) (*.f64 (+.f64 (/.f64 x y) #s(literal 1/500 binary64)) y))
#s(approx (+ x (/ y 500)) (*.f64 (neg.f64 y) (-.f64 (/.f64 (neg.f64 x) y) #s(literal 1/500 binary64))))

eval2.0ms (0.3%)

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

Compiled 232 to 110 computations (52.6% saved)

prune2.0ms (0.2%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New26026
Fresh000
Picked022
Done011
Total26329
Accuracy
100.0%
Counts
29 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 x (/.f64 y #s(literal 500 binary64)))
99.9%
#s(approx (+ x (/ y 500)) (fma.f64 #s(literal 1/500 binary64) y x))
49.1%
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
Compiler

Compiled 36 to 34 computations (5.6% saved)

regimes7.0ms (0.8%)

Memory
10.7MiB live, 10.7MiB allocated; 0ms collecting garbage
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y))
#s(approx (+ x (/ y 500)) (fma.f64 #s(literal 1/500 binary64) y x))
(+.f64 x (/.f64 y #s(literal 500 binary64)))
Outputs
(+.f64 x (/.f64 y #s(literal 500 binary64)))
Calls

4 calls:

2.0ms
(+.f64 x (/.f64 y #s(literal 500 binary64)))
2.0ms
(/.f64 y #s(literal 500 binary64))
2.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
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 10 to 13 computations (-30% saved)

regimes5.0ms (0.7%)

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

4 calls:

1.0ms
(+.f64 x (/.f64 y #s(literal 500 binary64)))
1.0ms
(/.f64 y #s(literal 500 binary64))
1.0ms
y
1.0ms
x
Results
AccuracySegmentsBranch
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
Compiler

Compiled 10 to 13 computations (-30% saved)

regimes117.0ms (14.8%)

Memory
-52.5MiB live, 15.1MiB allocated; 109ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#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))
Calls

4 calls:

114.0ms
(/.f64 y #s(literal 500 binary64))
1.0ms
(+.f64 x (/.f64 y #s(literal 500 binary64)))
1.0ms
y
1.0ms
x
Results
AccuracySegmentsBranch
49.1%1(/.f64 y #s(literal 500 binary64))
49.1%1(+.f64 x (/.f64 y #s(literal 500 binary64)))
49.1%1x
49.1%1y
Compiler

Compiled 10 to 13 computations (-30% saved)

derivations12.0ms (1.5%)

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

Compiled 15 to 13 computations (13.3% saved)

preprocess18.0ms (2.3%)

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

Compiled 20 to 18 computations (10% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...