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

Time bar (total: 1.9s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample536.0ms (28.6%)

Memory
9.7MiB live, 835.5MiB allocated; 236ms collecting garbage
Samples
298.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 114.0ms
ival-sub!: 61.0ms (53.7% of total)
ival-mult!: 51.0ms (44.9% of total)
adjust: 2.0ms (1.8% of total)
Bogosity

preprocess137.0ms (7.3%)

Memory
-5.4MiB live, 47.3MiB allocated; 37ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01432
13430
29030
325730
460230
5282930
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)

series83.0ms (4.4%)

Memory
44.9MiB live, 44.9MiB 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) (*.f64 #s(literal -1 binary64) y))
#s(approx (- (* x 2) y) (-.f64 (*.f64 #s(literal 2 binary64) x) y))
#s(approx (* x 2) (*.f64 #s(literal 2 binary64) x))
#s(approx x x)
#s(approx (- (* x 2) y) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 y x)))))
#s(approx (- (* x 2) y) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (/.f64 y x) #s(literal 2 binary64)))))
#s(approx (- (* x 2) y) (fma.f64 #s(literal -1 binary64) y (*.f64 #s(literal 2 binary64) x)))
#s(approx y y)
#s(approx (- (* x 2) y) (*.f64 y (-.f64 (*.f64 #s(literal 2 binary64) (/.f64 x y)) #s(literal 1 binary64))))
#s(approx (- (* x 2) y) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -2 binary64) (/.f64 x y))))))
Calls

6 calls:

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

rewrite133.0ms (7.1%)

Memory
-7.9MiB live, 87.1MiB allocated; 11ms collecting garbage
Counts
5 → 11
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
(+.f64 (*.f64 x #s(literal 2 binary64)) (neg.f64 y))
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
(fma.f64 x #s(literal 2 binary64) (neg.f64 y))
(fma.f64 #s(literal 2 binary64) x (neg.f64 y))
(neg.f64 (-.f64 y (*.f64 x #s(literal 2 binary64))))
(*.f64 x #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) x)
x
#s(literal 2 binary64)
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64))
y

eval2.0ms (0.1%)

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

Compiled 151 to 52 computations (65.6% saved)

prune1.0ms (0.1%)

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

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New15116
Fresh000
Picked011
Done000
Total15217
Accuracy
100.0%
Counts
17 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
49.9%
#s(approx (- (* x 2) y) (*.f64 #s(literal -1 binary64) y))
Compiler

Compiled 14 to 13 computations (7.1% saved)

series94.0ms (5%)

Memory
-15.3MiB live, 29.0MiB allocated; 38ms collecting garbage
Counts
4 → 9
Calls
Call 1
Inputs
#s(approx (- (* x 2) y) (*.f64 #s(literal -1 binary64) y))
(*.f64 #s(literal -1 binary64) y)
#s(literal -1 binary64)
y
Outputs
#s(approx (- (* x 2) y) (*.f64 #s(literal -1 binary64) y))
#s(approx (- (* x 2) y) (-.f64 (*.f64 #s(literal 2 binary64) x) y))
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x))
#s(approx (- (* x 2) y) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 y x)))))
#s(approx (- (* x 2) y) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (/.f64 y x) #s(literal 2 binary64)))))
#s(approx (- (* x 2) y) (fma.f64 #s(literal -1 binary64) y (*.f64 #s(literal 2 binary64) x)))
#s(approx y y)
#s(approx (- (* x 2) y) (*.f64 y (-.f64 (*.f64 #s(literal 2 binary64) (/.f64 x y)) #s(literal 1 binary64))))
#s(approx (- (* x 2) y) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -2 binary64) (/.f64 x y))))))
Calls

6 calls:

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

rewrite131.0ms (7%)

Memory
-8.8MiB live, 42.9MiB allocated; 14ms collecting garbage
Counts
4 → 6
Calls
Call 1
Inputs
#s(approx (- (* x 2) y) (*.f64 #s(literal -1 binary64) y))
(*.f64 #s(literal -1 binary64) y)
#s(literal -1 binary64)
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)
#s(literal -1 binary64)
y

eval2.0ms (0.1%)

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

Compiled 130 to 41 computations (68.5% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New9211
Fresh000
Picked101
Done011
Total10313
Accuracy
100.0%
Counts
13 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
50.7%
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x))
49.9%
#s(approx (- (* x 2) y) (neg.f64 y))
Compiler

Compiled 22 to 20 computations (9.1% saved)

series93.0ms (5%)

Memory
-16.8MiB live, 29.3MiB allocated; 7ms collecting garbage
Counts
7 → 10
Calls
Call 1
Inputs
#s(approx (- (* x 2) y) (neg.f64 y))
(neg.f64 y)
y
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x
Outputs
#s(approx (- (* x 2) y) (*.f64 #s(literal -1 binary64) y))
#s(approx (- (* x 2) y) (-.f64 (*.f64 #s(literal 2 binary64) x) y))
#s(approx (* 2 x) (*.f64 #s(literal 2 binary64) x))
#s(approx x x)
#s(approx (- (* x 2) y) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 y x)))))
#s(approx (- (* x 2) y) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (/.f64 y x) #s(literal 2 binary64)))))
#s(approx (- (* x 2) y) (fma.f64 #s(literal -1 binary64) y (*.f64 #s(literal 2 binary64) x)))
#s(approx y y)
#s(approx (- (* x 2) y) (*.f64 y (-.f64 (*.f64 #s(literal 2 binary64) (/.f64 x y)) #s(literal 1 binary64))))
#s(approx (- (* x 2) y) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -2 binary64) (/.f64 x y))))))
Calls

6 calls:

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

rewrite154.0ms (8.2%)

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

eval2.0ms (0.1%)

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

Compiled 166 to 51 computations (69.3% saved)

prune1.0ms (0.1%)

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

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New13114
Fresh000
Picked112
Done011
Total14317
Accuracy
100.0%
Counts
17 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
50.7%
#s(approx (- (* x 2) y) (+.f64 x x))
49.9%
#s(approx (- (* x 2) y) (neg.f64 y))
Compiler

Compiled 22 to 19 computations (13.6% saved)

series99.0ms (5.3%)

Memory
-13.4MiB live, 30.8MiB allocated; 25ms collecting garbage
Counts
3 → 9
Calls
Call 1
Inputs
#s(approx (- (* x 2) y) (+.f64 x x))
(+.f64 x x)
x
Outputs
#s(approx (- (* x 2) y) (*.f64 #s(literal -1 binary64) y))
#s(approx (- (* x 2) y) (-.f64 (*.f64 #s(literal 2 binary64) x) y))
#s(approx (+ x x) (*.f64 #s(literal 2 binary64) x))
#s(approx x x)
#s(approx (- (* x 2) y) (*.f64 x (+.f64 #s(literal 2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 y x)))))
#s(approx (- (* x 2) y) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (/.f64 y x) #s(literal 2 binary64)))))
#s(approx (- (* x 2) y) (fma.f64 #s(literal -1 binary64) y (*.f64 #s(literal 2 binary64) x)))
#s(approx (- (* x 2) y) (*.f64 y (-.f64 (*.f64 #s(literal 2 binary64) (/.f64 x y)) #s(literal 1 binary64))))
#s(approx (- (* x 2) y) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -2 binary64) (/.f64 x y))))))
Calls

6 calls:

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

rewrite240.0ms (12.8%)

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

eval6.0ms (0.3%)

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

Compiled 148 to 47 computations (68.2% saved)

prune25.0ms (1.3%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New12012
Fresh000
Picked011
Done022
Total12315
Accuracy
100.0%
Counts
15 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
50.7%
#s(approx (- (* x 2) y) (+.f64 x x))
49.9%
#s(approx (- (* x 2) y) (neg.f64 y))
Compiler

Compiled 22 to 19 computations (13.6% saved)

regimes83.0ms (4.4%)

Memory
-12.8MiB live, 39.3MiB allocated; 13ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

12 calls:

26.0ms
x
10.0ms
x
6.0ms
x
6.0ms
y
6.0ms
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
Results
AccuracySegmentsBranch
49.9%1(-.f64 (*.f64 x #s(literal 2 binary64)) y)
49.9%1y
49.9%1(*.f64 x #s(literal 2 binary64))
49.9%1x
77.4%3(*.f64 x #s(literal 2 binary64))
55.2%2(-.f64 (*.f64 x #s(literal 2 binary64)) y)
77.4%3x
77.0%3y
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 70 to 56 computations (20% saved)

bsearch23.0ms (1.2%)

Memory
7.0MiB live, 7.0MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
10.0ms
1.7539914802866497e+106
9.183161188544426e+106
10.0ms
-9.889951198774286e+57
-8.738082844465604e+56
Samples
9.0ms192×0valid
Compiler

Compiled 212 to 202 computations (4.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-mult!: 2.0ms (74.6% of total)
ival-sub!: 1.0ms (37.3% of total)
adjust: 0.0ms (0% of total)

derivations1.0ms (0.1%)

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

Compiled 47 to 18 computations (61.7% saved)

preprocess24.0ms (1.3%)

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

Compiled 52 to 23 computations (55.8% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...