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

Time bar (total: 2.5s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.5MiB live, 0.5MiB 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 9 to 7 computations (22.2% saved)

sample1.2s (47.1%)

Memory
-6.7MiB live, 987.9MiB allocated; 321ms collecting garbage
Samples
827.0ms8 253×0valid
3.0ms2valid
0.0ms1valid
Precisions
Click to see histograms. Total time spent on operations: 251.0ms
ival-add!: 120.0ms (47.9% of total)
ival-mult!: 104.0ms (41.5% of total)
ival-sub!: 25.0ms (10% of total)
adjust: 2.0ms (0.8% of total)
Bogosity

preprocess160.0ms (6.5%)

Memory
-40.3MiB live, 76.4MiB allocated; 32ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01847
16544
220442
331842
437742
548942
672342
7472842
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (+.f64 x y) (*.f64 x y))
Symmetry

(sort x y)

Compiler

Compiled 14 to 10 computations (28.6% saved)

series180.0ms (7.3%)

Memory
3.5MiB live, 241.3MiB allocated; 20ms collecting garbage
Counts
5 → 18
Calls
Call 1
Inputs
(-.f64 (+.f64 x y) (*.f64 x y))
(+.f64 x y)
x
y
(*.f64 x y)
Outputs
#s(approx (- (+ x y) (* x y)) y)
#s(approx (- (+ x y) (* x y)) (+.f64 y (*.f64 x (-.f64 #s(literal 1 binary64) y))))
#s(approx (+ x y) (+.f64 x y))
#s(approx x x)
#s(approx (* x y) (*.f64 x y))
#s(approx (- (+ x y) (* x y)) (*.f64 x (-.f64 #s(literal 1 binary64) y)))
#s(approx (- (+ x y) (* x y)) (*.f64 x (-.f64 (+.f64 #s(literal 1 binary64) (/.f64 y x)) y)))
#s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x))))
#s(approx (- (+ x y) (* x y)) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) y))))
#s(approx (- (+ x y) (* x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 y x)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) y))))))
#s(approx (+ x y) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 y x)) #s(literal 1 binary64)))))
#s(approx (- (+ x y) (* x y)) (+.f64 x (*.f64 y (-.f64 #s(literal 1 binary64) x))))
#s(approx (- (+ x y) (* x y)) (*.f64 y (-.f64 #s(literal 1 binary64) x)))
#s(approx (- (+ x y) (* x y)) (*.f64 y (-.f64 (+.f64 #s(literal 1 binary64) (/.f64 x y)) x)))
#s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y))))
#s(approx (- (+ x y) (* x y)) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) x))))
#s(approx (- (+ x y) (* x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x y)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) x))))))
#s(approx (+ x y) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x y)) #s(literal 1 binary64)))))
Calls

6 calls:

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

rewrite265.0ms (10.7%)

Memory
36.0MiB live, 221.9MiB allocated; 40ms collecting garbage
Counts
5 → 12
Calls
Call 1
Inputs
(-.f64 (+.f64 x y) (*.f64 x y))
(+.f64 x y)
x
y
(*.f64 x y)
Outputs
(+.f64 (+.f64 x y) (neg.f64 (*.f64 x y)))
(+.f64 (+.f64 x y) (*.f64 (neg.f64 x) y))
(+.f64 x (-.f64 y (*.f64 x y)))
(-.f64 (+.f64 x y) (*.f64 x y))
(neg.f64 (-.f64 (*.f64 x y) (+.f64 x y)))
(+.f64 x y)
(+.f64 y x)
(-.f64 x (neg.f64 y))
x
y
(*.f64 x y)
(*.f64 y x)

eval2.0ms (0.1%)

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

Compiled 329 to 88 computations (73.3% saved)

prune2.0ms (0.1%)

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New22325
Fresh000
Picked011
Done000
Total22426
Accuracy
100.0%
Counts
26 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (+.f64 x y) (*.f64 x y))
61.8%
#s(approx (- (+ x y) (* x y)) (*.f64 y (-.f64 #s(literal 1 binary64) x)))
67.0%
#s(approx (- (+ x y) (* x y)) (*.f64 x (-.f64 #s(literal 1 binary64) y)))
34.9%
#s(approx (- (+ x y) (* x y)) y)
Compiler

Compiled 42 to 29 computations (31% saved)

series254.0ms (10.3%)

Memory
-7.6MiB live, 229.5MiB allocated; 22ms collecting garbage
Counts
10 → 28
Calls
Call 1
Inputs
#s(approx (- (+ x y) (* x y)) y)
y
#s(approx (- (+ x y) (* x y)) (*.f64 x (-.f64 #s(literal 1 binary64) y)))
(*.f64 x (-.f64 #s(literal 1 binary64) y))
x
(-.f64 #s(literal 1 binary64) y)
#s(literal 1 binary64)
#s(approx (- (+ x y) (* x y)) (*.f64 y (-.f64 #s(literal 1 binary64) x)))
(*.f64 y (-.f64 #s(literal 1 binary64) x))
(-.f64 #s(literal 1 binary64) x)
Outputs
#s(approx (- (+ x y) (* x y)) y)
#s(approx (- (+ x y) (* x y)) (+.f64 y (*.f64 x (-.f64 #s(literal 1 binary64) y))))
#s(approx (* x (- 1 y)) (*.f64 x (-.f64 #s(literal 1 binary64) y)))
#s(approx x x)
#s(approx (* y (- 1 x)) (+.f64 y (*.f64 #s(literal -1 binary64) (*.f64 x y))))
#s(approx (- 1 x) #s(literal 1 binary64))
#s(approx (- 1 x) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) x)))
#s(approx (- (+ x y) (* x y)) (*.f64 x (-.f64 (+.f64 #s(literal 1 binary64) (/.f64 y x)) y)))
#s(approx (* y (- 1 x)) (*.f64 #s(literal -1 binary64) (*.f64 x y)))
#s(approx (* y (- 1 x)) (*.f64 x (fma.f64 #s(literal -1 binary64) y (/.f64 y x))))
#s(approx (- 1 x) (*.f64 #s(literal -1 binary64) x))
#s(approx (- 1 x) (*.f64 x (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))))
#s(approx (- (+ x y) (* x y)) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) y))))
#s(approx (- (+ x y) (* x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 y x)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) y))))))
#s(approx (* y (- 1 x)) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 y (*.f64 #s(literal -1 binary64) (/.f64 y x))))))
#s(approx (- 1 x) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) x)))))
#s(approx (- (+ x y) (* x y)) (+.f64 x (*.f64 y (-.f64 #s(literal 1 binary64) x))))
#s(approx (* x (- 1 y)) (+.f64 x (*.f64 #s(literal -1 binary64) (*.f64 x y))))
#s(approx (- 1 y) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) y)))
#s(approx (* y (- 1 x)) (*.f64 y (-.f64 #s(literal 1 binary64) x)))
#s(approx (- (+ x y) (* x y)) (*.f64 y (-.f64 (+.f64 #s(literal 1 binary64) (/.f64 x y)) x)))
#s(approx (* x (- 1 y)) (*.f64 y (fma.f64 #s(literal -1 binary64) x (/.f64 x y))))
#s(approx (- 1 y) (*.f64 #s(literal -1 binary64) y))
#s(approx (- 1 y) (*.f64 y (-.f64 (/.f64 #s(literal 1 binary64) y) #s(literal 1 binary64))))
#s(approx (- (+ x y) (* x y)) (*.f64 y (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) x))))
#s(approx (- (+ x y) (* x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x y)) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) x))))))
#s(approx (* x (- 1 y)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 x (*.f64 #s(literal -1 binary64) (/.f64 x y))))))
#s(approx (- 1 y) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) y)))))
Calls

6 calls:

TimeVariablePoint
57.0ms
x
inf
3.0ms
y
-inf
2.0ms
x
-inf
2.0ms
y
inf
1.0ms
y
0

rewrite287.0ms (11.6%)

Memory
-4.3MiB live, 218.5MiB allocated; 73ms collecting garbage
Counts
10 → 18
Calls
Call 1
Inputs
#s(approx (- (+ x y) (* x y)) y)
y
#s(approx (- (+ x y) (* x y)) (*.f64 x (-.f64 #s(literal 1 binary64) y)))
(*.f64 x (-.f64 #s(literal 1 binary64) y))
x
(-.f64 #s(literal 1 binary64) y)
#s(literal 1 binary64)
#s(approx (- (+ x y) (* x y)) (*.f64 y (-.f64 #s(literal 1 binary64) x)))
(*.f64 y (-.f64 #s(literal 1 binary64) x))
(-.f64 #s(literal 1 binary64) x)
Outputs
#s(approx (- (+ x y) (* x y)) y)
y
#s(approx (- (+ x y) (* x y)) (*.f64 x (-.f64 #s(literal 1 binary64) y)))
(*.f64 x (-.f64 #s(literal 1 binary64) y))
(*.f64 (-.f64 #s(literal 1 binary64) y) x)
x
(+.f64 #s(literal 1 binary64) (neg.f64 y))
(-.f64 #s(literal 1 binary64) y)
(neg.f64 (-.f64 y #s(literal 1 binary64)))
#s(literal 1 binary64)
(cosh.f64 #s(literal 0 binary64))
(exp.f64 #s(literal 0 binary64))
#s(approx (- (+ x y) (* x y)) (*.f64 y (-.f64 #s(literal 1 binary64) x)))
(*.f64 y (-.f64 #s(literal 1 binary64) x))
(*.f64 (-.f64 #s(literal 1 binary64) x) y)
(+.f64 #s(literal 1 binary64) (neg.f64 x))
(-.f64 #s(literal 1 binary64) x)
(neg.f64 (-.f64 x #s(literal 1 binary64)))

eval11.0ms (0.4%)

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

Compiled 676 to 160 computations (76.3% saved)

prune5.0ms (0.2%)

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

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New38038
Fresh000
Picked033
Done011
Total38442
Accuracy
100.0%
Counts
42 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (+.f64 x y) (*.f64 x y))
61.8%
#s(approx (- (+ x y) (* x y)) (*.f64 y (-.f64 #s(literal 1 binary64) x)))
67.0%
#s(approx (- (+ x y) (* x y)) (*.f64 x (-.f64 #s(literal 1 binary64) y)))
34.9%
#s(approx (- (+ x y) (* x y)) y)
Compiler

Compiled 42 to 29 computations (31% saved)

regimes69.0ms (2.8%)

Memory
-46.4MiB live, 64.2MiB allocated; 45ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

12 calls:

34.0ms
(-.f64 (+.f64 x y) (*.f64 x y))
4.0ms
x
4.0ms
y
4.0ms
y
3.0ms
y
Results
AccuracySegmentsBranch
34.9%1y
34.9%1(-.f64 (+.f64 x y) (*.f64 x y))
34.9%1x
91.7%3x
76.4%4y
91.1%3(-.f64 (+.f64 x y) (*.f64 x y))
97.9%2(-.f64 (+.f64 x y) (*.f64 x y))
92.0%2x
92.4%2y
100.0%1(-.f64 (+.f64 x y) (*.f64 x y))
100.0%1x
100.0%1y
Compiler

Compiled 78 to 52 computations (33.3% saved)

bsearch1.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
-2.4996119752201456e-256
1.0583779305591038e-230
Compiler

Compiled 10 to 10 computations (0% saved)

bsearch35.0ms (1.4%)

Memory
39.5MiB live, 86.5MiB allocated; 2ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
18.0ms
0.0019541819979708233
466132484841374.2
14.0ms
-1.2738164659703399e-95
-5.35371017422934e-100
Samples
16.0ms288×0valid
Compiler

Compiled 406 to 316 computations (22.2% saved)

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

derivations1.0ms (0%)

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

Compiled 95 to 25 computations (73.7% saved)

preprocess37.0ms (1.5%)

Memory
4.6MiB live, 99.7MiB allocated; 12ms collecting garbage
Remove

(sort x y)

Compiler

Compiled 292 to 120 computations (58.9% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...