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.7MiB live, 0.7MiB 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)

sample704.0ms (35.1%)

Memory
46.7MiB live, 560.7MiB allocated; 234ms collecting garbage
Samples
458.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 128.0ms
ival-mult!: 77.0ms (60.3% of total)
ival-sub!: 49.0ms (38.3% of total)
adjust: 2.0ms (1.6% of total)
Bogosity

preprocess36.0ms (1.8%)

Memory
3.2MiB live, 48.6MiB allocated; 5ms collecting garbage
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01436
16534
Stop Event
iter-limit
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)

series147.0ms (7.3%)

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

rewrite161.0ms (8%)

Memory
38.2MiB live, 280.5MiB allocated; 41ms collecting garbage
Counts
5 → 19
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 (fma.f64 (+.f64 x x) x (*.f64 y y)) (-.f64 (+.f64 x x) y))
(*.f64 (-.f64 (*.f64 (+.f64 x x) (*.f64 x x)) (*.f64 (*.f64 y y) y)) (fma.f64 y (-.f64 y (+.f64 x x)) (*.f64 (+.f64 x x) x)))
(*.f64 (fma.f64 x #s(literal 2 binary64) y) (/.f64 (-.f64 (+.f64 x x) y) (fma.f64 x #s(literal 2 binary64) y)))
(*.f64 (/.f64 (-.f64 (*.f64 (+.f64 x x) (*.f64 x x)) (*.f64 (*.f64 y y) y)) (fma.f64 x (+.f64 x x) (pow.f64 (*.f64 (fma.f64 x #s(literal 2 binary64) y) y) #s(literal 3 binary64)))) (fma.f64 (*.f64 (fma.f64 x #s(literal 2 binary64) y) y) (-.f64 (*.f64 (fma.f64 x #s(literal 2 binary64) y) y) (*.f64 (+.f64 x x) x)) (*.f64 (+.f64 x x) x)))
(*.f64 (fma.f64 (+.f64 x x) x (*.f64 (fma.f64 x #s(literal 2 binary64) y) y)) (/.f64 (-.f64 (+.f64 x x) y) (fma.f64 (+.f64 x x) x (*.f64 (fma.f64 x #s(literal 2 binary64) y) y))))
(*.f64 x #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) x)
(*.f64 (+.f64 x x) #s(literal 1 binary64))
(*.f64 (+.f64 x x) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) (+.f64 x x))
x
(*.f64 x #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) x)
#s(literal 2 binary64)
(*.f64 #s(literal 2 binary64) #s(literal 2 binary64))
(*.f64 #s(literal 1 binary64) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) #s(literal 1 binary64))
(*.f64 (fabs.f64 #s(literal 2 binary64)) (fabs.f64 #s(literal 2 binary64)))
y

eval6.0ms (0.3%)

Memory
-38.9MiB live, 7.0MiB allocated; 4ms collecting garbage
Compiler

Compiled 323 to 95 computations (70.6% saved)

prune1.0ms (0.1%)

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

2 alts after pruning (1 fresh and 1 done)

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

Compiled 14 to 13 computations (7.1% saved)

series88.0ms (4.4%)

Memory
15.2MiB live, 113.1MiB allocated; 20ms 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

rewrite169.0ms (8.4%)

Memory
11.7MiB live, 333.7MiB allocated; 29ms 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 (- (* 2 x) 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
5.4MiB live, 5.4MiB allocated; 0ms collecting garbage
Compiler

Compiled 130 to 44 computations (66.2% saved)

prune1.0ms (0.1%)

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

Compiled 22 to 20 computations (9.1% saved)

series109.0ms (5.4%)

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

rewrite178.0ms (8.9%)

Memory
-7.5MiB live, 164.6MiB allocated; 70ms collecting garbage
Counts
7 → 17
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 (- 2 y) (neg.f64 y))
(neg.f64 y)
y
#s(approx (- 2 y) #s(literal 2 binary64))
#s(literal 2 binary64)
(*.f64 #s(literal 2 binary64) x)
(*.f64 #s(literal 2 binary64) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) #s(literal 2 binary64))
#s(literal 2 binary64)
(*.f64 #s(literal 2 binary64) x)
(*.f64 #s(literal 2 binary64) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) #s(literal 2 binary64))
x
(*.f64 x #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) x)

eval2.0ms (0.1%)

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

Compiled 195 to 61 computations (68.7% saved)

prune2.0ms (0.1%)

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

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New17118
Fresh000
Picked022
Done011
Total17421
Accuracy
100.0%
Counts
21 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
49.6%
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x))
52.1%
#s(approx (- (* x 2) y) (neg.f64 y))
3.0%
#s(approx (- (* x 2) y) #s(literal 2 binary64))
Compiler

Compiled 29 to 27 computations (6.9% saved)

series103.0ms (5.1%)

Memory
0.6MiB live, 90.4MiB allocated; 23ms collecting garbage
Counts
2 → 8
Calls
Call 1
Inputs
#s(approx (- (* x 2) y) #s(literal 2 binary64))
#s(literal 2 binary64)
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 (- (* 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
x
inf
0.0ms
x
-inf
0.0ms
y
inf
0.0ms
x
0

rewrite208.0ms (10.3%)

Memory
-12.4MiB live, 188.0MiB allocated; 75ms collecting garbage
Counts
2 → 6
Calls
Call 1
Inputs
#s(approx (- (* x 2) y) #s(literal 2 binary64))
#s(literal 2 binary64)
Outputs
#s(approx (- (* 2 x) y) #s(literal 2 binary64))
#s(literal 2 binary64)
(*.f64 #s(literal 2 binary64) #s(literal 2 binary64))
(*.f64 #s(literal 1 binary64) #s(literal 2 binary64))
(*.f64 #s(literal 2 binary64) #s(literal 1 binary64))
(*.f64 (fabs.f64 #s(literal 2 binary64)) (fabs.f64 #s(literal 2 binary64)))

eval1.0ms (0.1%)

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

Compiled 139 to 47 computations (66.2% saved)

prune1.0ms (0.1%)

Memory
3.3MiB live, 3.4MiB allocated; 0ms collecting garbage
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New12012
Fresh000
Picked011
Done033
Total12416
Accuracy
100.0%
Counts
16 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
49.6%
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x))
52.1%
#s(approx (- (* x 2) y) (neg.f64 y))
3.0%
#s(approx (- (* x 2) y) #s(literal 2 binary64))
Compiler

Compiled 29 to 27 computations (6.9% saved)

regimes39.0ms (1.9%)

Memory
22.4MiB live, 69.8MiB allocated; 20ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
3 → 1
4 → 3
5 → 1
Calls
Call 1
Inputs
#s(approx (- (* x 2) y) #s(literal 2 binary64))
Outputs
#s(approx (- (* x 2) y) #s(literal 2 binary64))
Call 2
Inputs
#s(approx (- (* x 2) y) #s(literal 2 binary64))
#s(approx (- (* x 2) y) (neg.f64 y))
#s(approx (- (* x 2) y) (*.f64 #s(literal -1 binary64) y))
Outputs
#s(approx (- (* x 2) y) (neg.f64 y))
Call 3
Inputs
#s(approx (- (* x 2) y) #s(literal 2 binary64))
#s(approx (- (* x 2) y) (neg.f64 y))
#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 #s(literal 2 binary64) x))
#s(approx (- (* x 2) y) (neg.f64 y))
#s(approx (- (* x 2) y) (*.f64 #s(literal 2 binary64) x))
Call 4
Inputs
#s(approx (- (* x 2) y) #s(literal 2 binary64))
#s(approx (- (* x 2) y) (neg.f64 y))
#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

16 calls:

12.0ms
x
2.0ms
x
2.0ms
(-.f64 (*.f64 x #s(literal 2 binary64)) y)
2.0ms
y
2.0ms
(*.f64 x #s(literal 2 binary64))
Results
AccuracySegmentsBranch
3.0%1(*.f64 x #s(literal 2 binary64))
3.0%1x
3.0%1(-.f64 (*.f64 x #s(literal 2 binary64)) y)
3.0%1y
52.1%1(-.f64 (*.f64 x #s(literal 2 binary64)) y)
52.1%1y
52.1%1(*.f64 x #s(literal 2 binary64))
52.1%1x
78.2%3(*.f64 x #s(literal 2 binary64))
64.9%6(-.f64 (*.f64 x #s(literal 2 binary64)) y)
78.2%3x
76.4%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 78 to 68 computations (12.8% saved)

bsearch24.0ms (1.2%)

Memory
-37.9MiB live, 56.6MiB allocated; 5ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
9.0ms
9.80638878445002e+73
8.093957823603008e+83
12.0ms
-14262.720434194616
-2.024231623111175e-12
Samples
11.0ms320×0valid
Compiler

Compiled 348 to 350 computations (-0.6% saved)

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

derivations1.0ms (0%)

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

Compiled 54 to 19 computations (64.8% saved)

preprocess26.0ms (1.3%)

Memory
39.3MiB live, 86.0MiB allocated; 3ms collecting garbage
Compiler

Compiled 59 to 24 computations (59.3% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...