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

Time bar (total: 1.2s)

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)

sample437.0ms (37.2%)

Memory
15.9MiB live, 726.0MiB allocated; 154ms collecting garbage
Samples
270.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 75.0ms
ival-mult!: 44.0ms (58.6% of total)
ival-add!: 30.0ms (40% of total)
adjust: 1.0ms (1.3% of total)
Bogosity

preprocess25.0ms (2.1%)

Memory
-12.1MiB live, 33.1MiB allocated; 15ms collecting garbage
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01434
15731
218230
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 x (+.f64 y #s(literal 1 binary64)))
Symmetry

(negabs x)

Compiler

Compiled 10 to 10 computations (0% saved)

series93.0ms (8%)

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

6 calls:

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

rewrite226.0ms (19.2%)

Memory
43.9MiB live, 168.8MiB allocated; 81ms collecting garbage
Counts
5 → 27
Calls
Call 1
Inputs
(*.f64 x (+.f64 y #s(literal 1 binary64)))
x
(+.f64 y #s(literal 1 binary64))
y
#s(literal 1 binary64)
Outputs
(*.f64 x (-.f64 y #s(literal -1 binary64)))
(*.f64 (-.f64 y #s(literal -1 binary64)) x)
(+.f64 (*.f64 y x) x)
(+.f64 x (*.f64 y x))
(-.f64 (*.f64 y x) (neg.f64 x))
(-.f64 (*.f64 y x) (*.f64 #s(literal -1 binary64) x))
(-.f64 (*.f64 y x) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(fma.f64 y x x)
(fma.f64 x y x)
(fma.f64 #s(literal 1 binary64) x (*.f64 y x))
(fma.f64 x #s(literal 1 binary64) (*.f64 y x))
x
(*.f64 #s(literal 1 binary64) x)
(*.f64 x #s(literal 1 binary64))
(+.f64 y #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) y)
(-.f64 y #s(literal -1 binary64))
(-.f64 #s(literal 1 binary64) (neg.f64 y))
(neg.f64 (-.f64 #s(literal -1 binary64) y))
y
#s(literal 1 binary64)
(fabs.f64 #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) #s(literal 0 binary64))
(/.f64 (+.f64 #s(literal 1 binary64) #s(literal 1 binary64)) #s(literal 2 binary64))
(cosh.f64 #s(literal 0 binary64))
(exp.f64 #s(literal 0 binary64))
(neg.f64 #s(literal -1 binary64))

eval3.0ms (0.3%)

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

Compiled 242 to 85 computations (64.9% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New30333
Fresh000
Picked101
Done000
Total31334
Accuracy
100.0%
Counts
34 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 y x x)
47.9%
(*.f64 x #s(approx (+ y 1) #s(literal 1 binary64)))
54.1%
#s(approx (* x (+ y 1)) (*.f64 x y))
Compiler

Compiled 20 to 17 computations (15% saved)

series87.0ms (7.4%)

Memory
-3.7MiB live, 42.1MiB allocated; 9ms collecting garbage
Counts
8 → 11
Calls
Call 1
Inputs
#s(approx (* x (+ y 1)) (*.f64 x y))
(*.f64 x y)
x
y
(*.f64 x #s(approx (+ y 1) #s(literal 1 binary64)))
#s(approx (+ y 1) #s(literal 1 binary64))
#s(literal 1 binary64)
(fma.f64 y x x)
Outputs
#s(approx (* x (+ y 1)) (*.f64 x (+.f64 #s(literal 1 binary64) y)))
#s(approx (* x y) (*.f64 x y))
#s(approx x x)
#s(approx (+ (* y x) x) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) y) #s(literal 1 binary64)))))
#s(approx (* x (+ y 1)) (+.f64 x (*.f64 x y)))
#s(approx y y)
#s(approx (+ y 1) #s(literal 1 binary64))
#s(approx (+ y 1) (+.f64 #s(literal 1 binary64) y))
#s(approx (* x (+ y 1)) (*.f64 y (+.f64 x (/.f64 x y))))
#s(approx (+ y 1) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) y))))
#s(approx (* x (+ y 1)) (*.f64 #s(literal -1 binary64) (*.f64 y (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1 binary64) (/.f64 x y))))))
Calls

6 calls:

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

rewrite193.0ms (16.4%)

Memory
-25.1MiB live, 85.9MiB allocated; 84ms collecting garbage
Counts
8 → 34
Calls
Call 1
Inputs
#s(approx (* x (+ y 1)) (*.f64 x y))
(*.f64 x y)
x
y
(*.f64 x #s(approx (+ y 1) #s(literal 1 binary64)))
#s(approx (+ y 1) #s(literal 1 binary64))
#s(literal 1 binary64)
(fma.f64 y x x)
Outputs
#s(approx (+ (* x y) x) (*.f64 x y))
(*.f64 x y)
(*.f64 y x)
x
(*.f64 #s(literal 1 binary64) x)
(*.f64 x #s(literal 1 binary64))
y
(*.f64 x #s(approx (+ 1 y) #s(literal 1 binary64)))
#s(approx (+ 1 y) #s(literal 1 binary64))
#s(literal 1 binary64)
(fabs.f64 #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) #s(literal 0 binary64))
(/.f64 (+.f64 #s(literal 1 binary64) #s(literal 1 binary64)) #s(literal 2 binary64))
(cosh.f64 #s(literal 0 binary64))
(exp.f64 #s(literal 0 binary64))
(neg.f64 #s(literal -1 binary64))
(*.f64 (-.f64 y #s(literal -1 binary64)) x)
(*.f64 x (-.f64 y #s(literal -1 binary64)))
(+.f64 (*.f64 x y) x)
(+.f64 x (*.f64 x y))
(+.f64 (*.f64 x y) (neg.f64 (neg.f64 x)))
(-.f64 (*.f64 x y) (neg.f64 x))
(-.f64 (*.f64 x y) (*.f64 #s(literal -1 binary64) x))
(-.f64 x (*.f64 (neg.f64 x) y))
(-.f64 (*.f64 x y) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(-.f64 x (*.f64 (neg.f64 y) x))
(-.f64 x (neg.f64 (*.f64 x y)))
(fma.f64 y x x)
(fma.f64 x y x)
(fma.f64 #s(literal 1 binary64) x (*.f64 x y))
(fma.f64 x #s(literal 1 binary64) (*.f64 x y))
(fma.f64 x y (neg.f64 (neg.f64 x)))
(fma.f64 y x (neg.f64 (neg.f64 x)))
(neg.f64 (-.f64 (neg.f64 x) (*.f64 x y)))

eval4.0ms (0.3%)

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

Compiled 389 to 113 computations (71% saved)

prune2.0ms (0.2%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New46046
Fresh000
Picked033
Done000
Total46349
Accuracy
100.0%
Counts
49 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 y x x)
47.9%
(*.f64 x #s(approx (+ y 1) #s(literal 1 binary64)))
54.1%
#s(approx (* x (+ y 1)) (*.f64 x y))
Compiler

Compiled 20 to 17 computations (15% saved)

regimes20.0ms (1.7%)

Memory
-11.5MiB live, 35.0MiB allocated; 3ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

12 calls:

3.0ms
(+.f64 y #s(literal 1 binary64))
2.0ms
y
2.0ms
(*.f64 x (+.f64 y #s(literal 1 binary64)))
2.0ms
x
2.0ms
(+.f64 y #s(literal 1 binary64))
Results
AccuracySegmentsBranch
54.1%1x
54.1%1(*.f64 x (+.f64 y #s(literal 1 binary64)))
54.1%1(+.f64 y #s(literal 1 binary64))
54.1%1y
98.1%3(+.f64 y #s(literal 1 binary64))
82.2%3(*.f64 x (+.f64 y #s(literal 1 binary64)))
58.6%3x
98.1%3y
100.0%1(+.f64 y #s(literal 1 binary64))
100.0%1(*.f64 x (+.f64 y #s(literal 1 binary64)))
100.0%1x
100.0%1y
Compiler

Compiled 55 to 52 computations (5.5% saved)

bsearch20.0ms (1.7%)

Memory
28.8MiB live, 28.8MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
10.0ms
2.7872224252573275e-8
38018.489535640314
9.0ms
-3996.408641215409
-3.625222752066818e-5
Samples
8.0ms304×0valid
Compiler

Compiled 312 to 314 computations (-0.6% saved)

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

derivations1.0ms (0.1%)

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

Compiled 46 to 16 computations (65.2% saved)

preprocess62.0ms (5.3%)

Memory
3.9MiB live, 48.7MiB allocated; 7ms collecting garbage
Remove

(negabs x)

Compiler

Compiled 143 to 71 computations (50.3% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...