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

Time bar (total: 2.1s)

start0.0ms (0%)

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

analyze0.0ms (0%)

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

sample683.0ms (32.2%)

Memory
15.4MiB live, 660.2MiB allocated; 327ms collecting garbage
Samples
441.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 143.0ms
ival-mult!: 116.0ms (80.8% of total)
ival-sub!: 26.0ms (18.1% of total)
adjust: 1.0ms (0.7% of total)
Bogosity

preprocess16.0ms (0.8%)

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

Useful iterations: 1 (0.0ms)

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

series91.0ms (4.3%)

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

rewrite152.0ms (7.1%)

Memory
-5.8MiB live, 45.4MiB allocated; 18ms 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
1.8MiB live, 1.8MiB allocated; 0ms collecting garbage
Compiler

Compiled 151 to 52 computations (65.6% saved)

prune1.0ms (0.1%)

Memory
1.2MiB live, 1.2MiB 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)
51.8%
#s(approx (- (* x 2) y) (*.f64 #s(literal -1 binary64) y))
Compiler

Compiled 14 to 13 computations (7.1% saved)

series90.0ms (4.3%)

Memory
33.0MiB live, 33.0MiB allocated; 0ms 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

rewrite180.0ms (8.5%)

Memory
-27.6MiB live, 65.3MiB allocated; 42ms 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
2.0MiB live, 2.0MiB allocated; 0ms collecting garbage
Compiler

Compiled 130 to 41 computations (68.5% saved)

prune1.0ms (0.1%)

Memory
2.0MiB live, 2.0MiB 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)
48.7%
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x))
51.8%
#s(approx (- (* x 2) y) (neg.f64 y))
Compiler

Compiled 22 to 20 computations (9.1% saved)

series94.0ms (4.4%)

Memory
-10.1MiB live, 35.2MiB allocated; 15ms 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

rewrite347.0ms (16.4%)

Memory
-12.2MiB live, 60.6MiB allocated; 251ms 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

eval3.0ms (0.1%)

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

Compiled 166 to 51 computations (69.3% saved)

prune2.0ms (0.1%)

Memory
2.4MiB live, 2.4MiB 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)
48.7%
#s(approx (- (* x 2) y) (+.f64 x x))
51.8%
#s(approx (- (* x 2) y) (neg.f64 y))
Compiler

Compiled 22 to 19 computations (13.6% saved)

series103.0ms (4.9%)

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

rewrite175.0ms (8.2%)

Memory
-4.9MiB live, 99.7MiB allocated; 37ms 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
-42.9MiB live, 3.5MiB allocated; 4ms collecting garbage
Compiler

Compiled 148 to 47 computations (68.2% saved)

prune1.0ms (0.1%)

Memory
3.3MiB live, 3.3MiB 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)
48.7%
#s(approx (- (* x 2) y) (+.f64 x x))
51.8%
#s(approx (- (* x 2) y) (neg.f64 y))
Compiler

Compiled 22 to 19 computations (13.6% saved)

regimes63.0ms (3%)

Memory
4.4MiB live, 54.7MiB allocated; 28ms 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) (neg.f64 y))
#s(approx (- (* x 2) y) (+.f64 x x))
#s(approx (- (* x 2) y) (neg.f64 y))
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:

19.0ms
y
5.0ms
(*.f64 x #s(literal 2 binary64))
2.0ms
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
2.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
51.8%1(-.f64 (*.f64 x #s(literal 2 binary64)) y)
51.8%1(*.f64 x #s(literal 2 binary64))
51.8%1x
51.8%1y
75.2%3(*.f64 x #s(literal 2 binary64))
56.9%2(-.f64 (*.f64 x #s(literal 2 binary64)) y)
75.2%3x
78.1%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)

bsearch36.0ms (1.7%)

Memory
17.2MiB live, 64.0MiB allocated; 4ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
15.0ms
5.873809500222e+55
3.567958392519481e+56
19.0ms
-6.930652889212724e-40
-7.580832512317473e-57
Samples
16.0ms256×0valid
Compiler

Compiled 280 to 266 computations (5% saved)

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

derivations1.0ms (0%)

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

Compiled 46 to 18 computations (60.9% saved)

preprocess73.0ms (3.4%)

Memory
20.7MiB live, 112.2MiB allocated; 36ms collecting garbage
Compiler

Compiled 51 to 23 computations (54.9% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...