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

Time bar (total: 2.0s)

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)

sample607.0ms (30.9%)

Memory
6.0MiB live, 863.1MiB allocated; 265ms collecting garbage
Samples
335.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 132.0ms
ival-mult!: 106.0ms (80.2% of total)
ival-sub!: 24.0ms (18.1% of total)
adjust: 1.0ms (0.8% of total)
Bogosity

preprocess104.0ms (5.3%)

Memory
-10.6MiB live, 38.3MiB allocated; 9ms 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)

series89.0ms (4.6%)

Memory
4.2MiB live, 97.2MiB allocated; 8ms 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

rewrite131.0ms (6.7%)

Memory
13.2MiB live, 205.5MiB allocated; 13ms 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
6.4MiB live, 6.4MiB allocated; 0ms collecting garbage
Compiler

Compiled 151 to 52 computations (65.6% saved)

prune1.0ms (0.1%)

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

series92.0ms (4.7%)

Memory
0.4MiB live, 98.7MiB allocated; 16ms 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

rewrite135.0ms (6.9%)

Memory
11.9MiB live, 245.5MiB allocated; 39ms 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

eval1.0ms (0.1%)

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

Compiled 130 to 41 computations (68.5% saved)

prune1.0ms (0.1%)

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

series173.0ms (8.8%)

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

rewrite179.0ms (9.1%)

Memory
15.1MiB live, 108.3MiB allocated; 30ms 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
2.6MiB live, 2.6MiB allocated; 0ms collecting garbage
Compiler

Compiled 166 to 51 computations (69.3% saved)

prune1.0ms (0.1%)

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

series98.0ms (5%)

Memory
8.7MiB live, 54.4MiB allocated; 21ms 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

rewrite174.0ms (8.9%)

Memory
-0.9MiB live, 126.6MiB allocated; 62ms 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

eval3.0ms (0.1%)

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

Compiled 148 to 47 computations (68.2% saved)

prune2.0ms (0.1%)

Memory
2.2MiB live, 2.2MiB 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.2%)

Memory
-30.7MiB live, 69.0MiB allocated; 66ms 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
y
4.0ms
(*.f64 x #s(literal 2 binary64))
3.0ms
y
3.0ms
x
3.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)

bsearch37.0ms (1.9%)

Memory
25.0MiB live, 66.9MiB allocated; 19ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
24.0ms
1.7539914802866497e+106
9.183161188544426e+106
11.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 (69% of total)
ival-sub!: 1.0ms (34.5% of total)
adjust: 0.0ms (0% of total)

derivations1.0ms (0%)

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

Compiled 47 to 18 computations (61.7% saved)

preprocess47.0ms (2.4%)

Memory
5.7MiB live, 88.8MiB allocated; 27ms 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...