Data.Colour.RGBSpace.HSL:hsl from colour-2.3.3, C

Time bar (total: 747.0ms)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample532.0ms (71.3%)

Memory
17.3MiB live, 1 005.9MiB allocated; 218ms collecting garbage
Samples
339.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 152.0ms
ival-mult!: 116.0ms (76.6% of total)
ival-sub!: 34.0ms (22.4% of total)
adjust: 1.0ms (0.7% of total)
Bogosity

preprocess69.0ms (9.2%)

Memory
-1.6MiB live, 44.7MiB allocated; 4ms collecting garbage
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01434
12032
24332
310932
427130
5187930
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
Compiler

Compiled 10 to 10 computations (0% saved)

series4.0ms (0.5%)

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

6 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((- (* x 2) y) (* x 2) x 2 y)
1.0ms
x
@inf
((- (* x 2) y) (* x 2) x 2 y)
1.0ms
x
@0
((- (* x 2) y) (* x 2) x 2 y)
0.0ms
y
@-inf
((- (* x 2) y) (* x 2) x 2 y)
0.0ms
y
@inf
((- (* x 2) y) (* x 2) x 2 y)

rewrite70.0ms (9.3%)

Memory
24.9MiB live, 72.8MiB allocated; 19ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
039119
040113
1178112
01304110
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
15 → 51
Calls
Call 1
Inputs
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
(*.f64 x #s(literal 2 binary64))
x
#s(literal 2 binary64)
y
#s(approx (- (* x 2) y) #s(hole binary64 (* -1 y)))
#s(approx (- (* x 2) y) #s(hole binary64 (- (* 2 x) y)))
#s(approx (* x 2) #s(hole binary64 (* 2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (- (* x 2) y) #s(hole binary64 (* x (+ 2 (* -1 (/ y x))))))
#s(approx (- (* x 2) y) #s(hole binary64 (* -1 (* x (- (/ y x) 2)))))
#s(approx (- (* x 2) y) #s(hole binary64 (+ (* -1 y) (* 2 x))))
#s(approx y #s(hole binary64 y))
#s(approx (- (* x 2) y) #s(hole binary64 (* y (- (* 2 (/ x y)) 1))))
#s(approx (- (* x 2) y) #s(hole binary64 (* -1 (* y (+ 1 (* -2 (/ x y)))))))
Outputs
(/.f64 (-.f64 (*.f64 (*.f64 y y) (neg.f64 y)) (pow.f64 (*.f64 #s(literal -2 binary64) x) #s(literal 3 binary64))) (fma.f64 y y (fma.f64 (*.f64 x x) #s(literal 4 binary64) (*.f64 (neg.f64 y) (*.f64 #s(literal -2 binary64) x)))))
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 x x) #s(literal 4 binary64)) (*.f64 y y))) (neg.f64 (fma.f64 #s(literal 2 binary64) x y)))
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 4 binary64)) (+.f64 x x)) (*.f64 (*.f64 y y) y))) (neg.f64 (fma.f64 (*.f64 x x) #s(literal 4 binary64) (*.f64 y (fma.f64 #s(literal 2 binary64) x y)))))
(/.f64 (neg.f64 (-.f64 (*.f64 y y) (*.f64 (*.f64 x x) #s(literal 4 binary64)))) (neg.f64 (-.f64 (-.f64 (neg.f64 y) x) x)))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 x x) #s(literal 4 binary64)) (+.f64 x x) (*.f64 (*.f64 y y) (neg.f64 y)))) (neg.f64 (fma.f64 (+.f64 x x) (-.f64 (+.f64 x x) (neg.f64 y)) (*.f64 y y))))
(/.f64 (-.f64 (*.f64 y y) (*.f64 (*.f64 x x) #s(literal 4 binary64))) (-.f64 (-.f64 (neg.f64 y) x) x))
(/.f64 (-.f64 (*.f64 (*.f64 x x) #s(literal 4 binary64)) (*.f64 y y)) (-.f64 (+.f64 x x) (neg.f64 y)))
(/.f64 (-.f64 (*.f64 (*.f64 x x) #s(literal 4 binary64)) (*.f64 y y)) (fma.f64 #s(literal 2 binary64) x y))
(/.f64 (fma.f64 (*.f64 (*.f64 x x) #s(literal 4 binary64)) (+.f64 x x) (*.f64 (*.f64 y y) (neg.f64 y))) (fma.f64 (*.f64 x x) #s(literal 4 binary64) (-.f64 (*.f64 y y) (*.f64 (+.f64 x x) (neg.f64 y)))))
(/.f64 (fma.f64 (*.f64 (*.f64 x x) #s(literal 4 binary64)) (+.f64 x x) (*.f64 (*.f64 y y) (neg.f64 y))) (fma.f64 (+.f64 x x) (-.f64 (+.f64 x x) (neg.f64 y)) (*.f64 y y)))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 4 binary64)) (+.f64 x x)) (*.f64 (*.f64 y y) y)) (fma.f64 (*.f64 x x) #s(literal 4 binary64) (*.f64 y (fma.f64 #s(literal 2 binary64) x y))))
(fma.f64 #s(literal -1 binary64) y (+.f64 x x))
(fma.f64 y #s(literal -1 binary64) (+.f64 x x))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(fma.f64 x #s(literal 2 binary64) (neg.f64 y))
(-.f64 (/.f64 (*.f64 (*.f64 x x) #s(literal 4 binary64)) (fma.f64 #s(literal 2 binary64) x y)) (/.f64 (*.f64 y y) (fma.f64 #s(literal 2 binary64) x y)))
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 4 binary64)) (+.f64 x x)) (fma.f64 (*.f64 x x) #s(literal 4 binary64) (*.f64 y (fma.f64 #s(literal 2 binary64) x y)))) (/.f64 (*.f64 (*.f64 y y) y) (fma.f64 (*.f64 x x) #s(literal 4 binary64) (*.f64 y (fma.f64 #s(literal 2 binary64) x y)))))
(-.f64 (/.f64 (*.f64 y y) (-.f64 (-.f64 (neg.f64 y) x) x)) (/.f64 (*.f64 (*.f64 x x) #s(literal 4 binary64)) (-.f64 (-.f64 (neg.f64 y) x) x)))
(-.f64 (+.f64 x x) (*.f64 (neg.f64 y) #s(literal -1 binary64)))
(-.f64 (+.f64 x x) y)
(-.f64 (neg.f64 y) (*.f64 (neg.f64 x) #s(literal 2 binary64)))
(-.f64 (neg.f64 y) (*.f64 #s(literal -2 binary64) x))
(+.f64 (+.f64 (neg.f64 y) x) x)
(+.f64 (/.f64 (*.f64 (*.f64 y y) (neg.f64 y)) (fma.f64 (+.f64 x x) (-.f64 (+.f64 x x) (neg.f64 y)) (*.f64 y y))) (/.f64 (*.f64 (*.f64 (*.f64 x x) #s(literal 4 binary64)) (+.f64 x x)) (fma.f64 (+.f64 x x) (-.f64 (+.f64 x x) (neg.f64 y)) (*.f64 y y))))
(+.f64 (+.f64 x x) (neg.f64 y))
(+.f64 (neg.f64 y) (+.f64 x x))
(+.f64 x (+.f64 x (neg.f64 y)))
(+.f64 x (-.f64 x y))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(neg.f64 (*.f64 #s(literal -2 binary64) x))
(fma.f64 #s(literal 1 binary64) x (*.f64 #s(literal 1 binary64) x))
(fma.f64 x #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64)))
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)))
(+.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x))
(+.f64 x x)
x
#s(literal 2 binary64)
y
#s(approx (- (* x 2) y) (neg.f64 y))
#s(approx (- (* x 2) y) (-.f64 (+.f64 x x) y))
#s(approx (* x 2) (+.f64 x x))
#s(approx x x)
#s(approx (- (* x 2) y) (*.f64 (-.f64 #s(literal 2 binary64) (/.f64 y x)) x))
#s(approx (- (* x 2) y) (*.f64 (neg.f64 x) (-.f64 (/.f64 y x) #s(literal 2 binary64))))
#s(approx (- (* x 2) y) (-.f64 (+.f64 x x) y))
#s(approx y y)
#s(approx (- (* x 2) y) (*.f64 (fma.f64 (/.f64 x y) #s(literal 2 binary64) #s(literal -1 binary64)) y))
#s(approx (- (* x 2) y) (*.f64 (fma.f64 #s(literal -2 binary64) (/.f64 x y) #s(literal 1 binary64)) (neg.f64 y)))

eval4.0ms (0.5%)

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

Compiled 308 to 136 computations (55.8% saved)

prune2.0ms (0.2%)

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New44246
Fresh000
Picked101
Done000
Total45247
Accuracy
100.0%
Counts
47 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (+.f64 x x) y)
51.9%
#s(approx (- (* x 2) y) (neg.f64 y))
Compiler

Compiled 11 to 11 computations (0% saved)

series4.0ms (0.5%)

Memory
5.2MiB live, 5.2MiB allocated; 3ms collecting garbage
Counts
6 → 10
Calls
Call 1
Inputs
#s(approx (- (* x 2) y) (neg.f64 y))
(neg.f64 y)
y
(-.f64 (+.f64 x x) y)
(+.f64 x x)
x
Outputs
#s(approx (- (* x 2) y) #s(hole binary64 (* -1 y)))
#s(approx (- (* x 2) y) #s(hole binary64 (- (* 2 x) y)))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (- (* x 2) y) #s(hole binary64 (* x (+ 2 (* -1 (/ y x))))))
#s(approx (- (* x 2) y) #s(hole binary64 (* -1 (* x (- (/ y x) 2)))))
#s(approx (- (* x 2) y) #s(hole binary64 (+ (* -1 y) (* 2 x))))
#s(approx y #s(hole binary64 y))
#s(approx (- (* x 2) y) #s(hole binary64 (* y (- (* 2 (/ x y)) 1))))
#s(approx (- (* x 2) y) #s(hole binary64 (* -1 (* y (+ 1 (* -2 (/ x y)))))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((- (* x 2) y) (neg y) y (- (+ x x) y) (+ x x) x)
0.0ms
y
@-inf
((- (* x 2) y) (neg y) y (- (+ x x) y) (+ x x) x)
0.0ms
x
@inf
((- (* x 2) y) (neg y) y (- (+ x x) y) (+ x x) x)
0.0ms
y
@inf
((- (* x 2) y) (neg y) y (- (+ x x) y) (+ x x) x)
0.0ms
x
@0
((- (* x 2) y) (neg y) y (- (+ x x) y) (+ x x) x)

rewrite24.0ms (3.2%)

Memory
-19.5MiB live, 28.6MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
042128
045123
0204121
Stop Event
iter-limit
iter-limit
iter-limit
unsound
iter-limit
Counts
16 → 25
Calls
Call 1
Inputs
#s(approx (- (* x 2) y) (neg.f64 y))
(neg.f64 y)
y
(-.f64 (+.f64 x x) y)
(+.f64 x x)
x
#s(approx (- (* x 2) y) #s(hole binary64 (* -1 y)))
#s(approx (- (* x 2) y) #s(hole binary64 (- (* 2 x) y)))
#s(approx (+ x x) #s(hole binary64 (* 2 x)))
#s(approx x #s(hole binary64 x))
#s(approx (- (* x 2) y) #s(hole binary64 (* x (+ 2 (* -1 (/ y x))))))
#s(approx (- (* x 2) y) #s(hole binary64 (* -1 (* x (- (/ y x) 2)))))
#s(approx (- (* x 2) y) #s(hole binary64 (+ (* -1 y) (* 2 x))))
#s(approx y #s(hole binary64 y))
#s(approx (- (* x 2) y) #s(hole binary64 (* y (- (* 2 (/ x y)) 1))))
#s(approx (- (* x 2) y) #s(hole binary64 (* -1 (* y (+ 1 (* -2 (/ x y)))))))
Outputs
#s(approx (- (* x 2) y) (neg.f64 y))
(*.f64 #s(literal -1 binary64) y)
(*.f64 y #s(literal -1 binary64))
(neg.f64 y)
y
(/.f64 (-.f64 (*.f64 (+.f64 x x) (+.f64 x x)) (*.f64 y y)) (fma.f64 #s(literal 2 binary64) x y))
(/.f64 (-.f64 (pow.f64 (+.f64 x x) #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 (+.f64 x x) (+.f64 x x) (fma.f64 y y (*.f64 (+.f64 x x) y))))
(-.f64 (+.f64 x x) y)
(+.f64 x (-.f64 x y))
(*.f64 #s(literal 2 binary64) x)
(*.f64 x #s(literal 2 binary64))
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x))
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))))
(+.f64 x x)
x
#s(approx (- (* x 2) y) (neg.f64 y))
#s(approx (- (* x 2) y) (-.f64 (+.f64 x x) y))
#s(approx (+ x x) (+.f64 x x))
#s(approx x x)
#s(approx (- (* x 2) y) (*.f64 (+.f64 (/.f64 (neg.f64 y) x) #s(literal 2 binary64)) x))
#s(approx (- (* x 2) y) (neg.f64 (*.f64 (-.f64 (/.f64 y x) #s(literal 2 binary64)) x)))
#s(approx (- (* x 2) y) (fma.f64 #s(literal 2 binary64) x (neg.f64 y)))
#s(approx y y)
#s(approx (- (* x 2) y) (*.f64 (-.f64 (/.f64 (+.f64 x x) y) #s(literal 1 binary64)) y))
#s(approx (- (* x 2) y) (*.f64 (neg.f64 y) (fma.f64 #s(literal -2 binary64) (/.f64 x y) #s(literal 1 binary64))))

eval2.0ms (0.2%)

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

Compiled 105 to 75 computations (28.6% saved)

prune1.0ms (0.2%)

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

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New19019
Fresh000
Picked022
Done000
Total19221
Accuracy
100.0%
Counts
21 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (+.f64 x x) y)
51.9%
#s(approx (- (* x 2) y) (neg.f64 y))
Compiler

Compiled 23 to 23 computations (0% saved)

regimes10.0ms (1.3%)

Memory
-29.9MiB live, 16.2MiB allocated; 3ms collecting garbage
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (- (* x 2) y) (neg.f64 y))
(-.f64 (+.f64 x x) y)
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
Outputs
(-.f64 (+.f64 x x) y)
Calls

4 calls:

5.0ms
(*.f64 x #s(literal 2 binary64))
1.0ms
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
1.0ms
y
1.0ms
x
Results
AccuracySegmentsBranch
100.0%1(*.f64 x #s(literal 2 binary64))
100.0%1(-.f64 (*.f64 x #s(literal 2 binary64)) y)
100.0%1x
100.0%1y
Compiler

Compiled 10 to 13 computations (-30% saved)

regimes4.0ms (0.6%)

Memory
9.2MiB live, 9.2MiB allocated; 0ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (* x 2) y) (neg.f64 y))
Outputs
#s(approx (- (* x 2) y) (neg.f64 y))
Calls

4 calls:

1.0ms
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
1.0ms
y
1.0ms
(*.f64 x #s(literal 2 binary64))
1.0ms
x
Results
AccuracySegmentsBranch
51.9%1(*.f64 x #s(literal 2 binary64))
51.9%1(-.f64 (*.f64 x #s(literal 2 binary64)) y)
51.9%1x
51.9%1y
Compiler

Compiled 10 to 13 computations (-30% saved)

derivations8.0ms (1.1%)

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

Compiled 9 to 9 computations (0% saved)

preprocess14.0ms (1.9%)

Memory
-16.9MiB live, 28.9MiB allocated; 3ms collecting garbage
Compiler

Compiled 14 to 14 computations (0% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...