Data.Colour.RGBSpace.HSV:hsv from colour-2.3.3, H

Time bar (total: 2.2s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
1.7MiB live, 1.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)

sample754.0ms (33.7%)

Memory
26.5MiB live, 1 282.8MiB allocated; 299ms collecting garbage
Samples
407.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 115.0ms
ival-mult!: 57.0ms (49.4% of total)
ival-sub!: 56.0ms (48.6% of total)
adjust: 2.0ms (1.7% of total)
Bogosity

preprocess42.0ms (1.9%)

Memory
-18.5MiB live, 80.5MiB allocated; 10ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

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

(negabs x)

Compiler

Compiled 10 to 10 computations (0% saved)

series197.0ms (8.8%)

Memory
-6.7MiB live, 183.1MiB allocated; 91ms collecting garbage
Counts
5 → 12
Calls
Call 1
Inputs
(*.f64 x (-.f64 #s(literal 1 binary64) y))
x
(-.f64 #s(literal 1 binary64) y)
#s(literal 1 binary64)
y
Outputs
#s(approx (* x (- 1 y)) (*.f64 x (-.f64 #s(literal 1 binary64) y)))
#s(approx x x)
#s(approx (* x (- 1 y)) (+.f64 x (*.f64 #s(literal -1 binary64) (*.f64 x y))))
#s(approx (- 1 y) #s(literal 1 binary64))
#s(approx (- 1 y) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) y)))
#s(approx y y)
#s(approx (* x (- 1 y)) (*.f64 #s(literal -1 binary64) (*.f64 x y)))
#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 (- 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
1.0ms
x
inf
1.0ms
x
-inf
1.0ms
y
0
0.0ms
x
0
0.0ms
y
-inf

rewrite240.0ms (10.7%)

Memory
7.6MiB live, 389.2MiB allocated; 41ms collecting garbage
Counts
5 → 21
Calls
Call 1
Inputs
(*.f64 x (-.f64 #s(literal 1 binary64) y))
x
(-.f64 #s(literal 1 binary64) y)
#s(literal 1 binary64)
y
Outputs
(*.f64 x (-.f64 #s(literal 1 binary64) y))
(*.f64 (-.f64 #s(literal 1 binary64) y) x)
(*.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y)) (/.f64 x (+.f64 y #s(literal 1 binary64))))
(*.f64 (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y)) (/.f64 x (fma.f64 (+.f64 y #s(literal 1 binary64)) y #s(literal 1 binary64))))
(*.f64 (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y)) x) (fma.f64 (*.f64 (fma.f64 y y y) (fma.f64 y y y)) (fma.f64 y y y) #s(literal 1 binary64))) (fma.f64 (fma.f64 y y y) (-.f64 (fma.f64 y y y) #s(literal 1 binary64)) #s(literal 1 binary64)))
x
(*.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) y))
(*.f64 (+.f64 y #s(literal 1 binary64)) (/.f64 (-.f64 #s(literal 1 binary64) y) (+.f64 y #s(literal 1 binary64))))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y)) (fma.f64 (*.f64 y y) y #s(literal 1 binary64))) (fma.f64 y (-.f64 y #s(literal 1 binary64)) #s(literal 1 binary64)))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 y y)) (-.f64 #s(literal 1 binary64) (*.f64 y y))) (-.f64 #s(literal 1 binary64) y))
(*.f64 (fma.f64 (+.f64 y #s(literal 1 binary64)) y #s(literal 1 binary64)) (/.f64 (-.f64 #s(literal 1 binary64) y) (fma.f64 (+.f64 y #s(literal 1 binary64)) y #s(literal 1 binary64))))
#s(literal 1 binary64)
(*.f64 #s(literal 1 binary64) #s(literal 1 binary64))
(*.f64 (neg.f64 #s(literal 1 binary64)) (neg.f64 #s(literal 1 binary64)))
(*.f64 (pow.f64 (neg.f64 #s(literal 1 binary64)) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))) (pow.f64 (neg.f64 #s(literal 1 binary64)) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))))
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))))
y
(*.f64 y #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) y)
(*.f64 (neg.f64 #s(literal 1 binary64)) (neg.f64 y))
(*.f64 (neg.f64 y) (neg.f64 #s(literal 1 binary64)))

eval3.0ms (0.1%)

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

Compiled 362 to 115 computations (68.2% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New27229
Fresh000
Picked011
Done000
Total27330
Accuracy
100.0%
Counts
30 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 x (-.f64 #s(literal 1 binary64) y))
52.6%
(*.f64 x #s(approx (- 1 y) #s(literal 1 binary64)))
100.0%
#s(approx (* x (- 1 y)) (+.f64 x (*.f64 #s(literal -1 binary64) (*.f64 x y))))
Compiler

Compiled 25 to 22 computations (12% saved)

series186.0ms (8.3%)

Memory
-17.6MiB live, 163.0MiB allocated; 73ms collecting garbage
Counts
10 → 15
Calls
Call 1
Inputs
#s(approx (* x (- 1 y)) (+.f64 x (*.f64 #s(literal -1 binary64) (*.f64 x y))))
(+.f64 x (*.f64 #s(literal -1 binary64) (*.f64 x y)))
x
(*.f64 #s(literal -1 binary64) (*.f64 x y))
#s(literal -1 binary64)
(*.f64 x y)
y
(*.f64 x #s(approx (- 1 y) #s(literal 1 binary64)))
#s(approx (- 1 y) #s(literal 1 binary64))
#s(literal 1 binary64)
Outputs
#s(approx (* x (- 1 y)) (*.f64 x (-.f64 #s(literal 1 binary64) y)))
#s(approx (+ x (* -1 (* x y))) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) y))))
#s(approx x x)
#s(approx (* -1 (* x y)) (*.f64 #s(literal -1 binary64) (*.f64 x y)))
#s(approx (* x y) (*.f64 x y))
#s(approx (+ x (* -1 (* x y))) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 y #s(literal 1 binary64)))))
#s(approx (* x (- 1 y)) (+.f64 x (*.f64 #s(literal -1 binary64) (*.f64 x y))))
#s(approx y y)
#s(approx (- 1 y) #s(literal 1 binary64))
#s(approx (- 1 y) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) y)))
#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 (- 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
4.0ms
y
-inf
1.0ms
y
0
1.0ms
x
-inf
1.0ms
x
0
1.0ms
x
inf

rewrite249.0ms (11.1%)

Memory
45.0MiB live, 232.7MiB allocated; 99ms collecting garbage
Counts
10 → 35
Calls
Call 1
Inputs
#s(approx (* x (- 1 y)) (+.f64 x (*.f64 #s(literal -1 binary64) (*.f64 x y))))
(+.f64 x (*.f64 #s(literal -1 binary64) (*.f64 x y)))
x
(*.f64 #s(literal -1 binary64) (*.f64 x y))
#s(literal -1 binary64)
(*.f64 x y)
y
(*.f64 x #s(approx (- 1 y) #s(literal 1 binary64)))
#s(approx (- 1 y) #s(literal 1 binary64))
#s(literal 1 binary64)
Outputs
#s(approx (* (- 1 y) x) (-.f64 x (*.f64 x y)))
(*.f64 (+.f64 (neg.f64 y) #s(literal 1 binary64)) x)
(*.f64 (-.f64 x (*.f64 x y)) (/.f64 (fma.f64 y x x) (fma.f64 y x x)))
(*.f64 (fma.f64 (*.f64 x y) (fma.f64 y x x) (*.f64 x x)) (/.f64 (-.f64 x (*.f64 x y)) (fma.f64 (*.f64 x y) (fma.f64 y x x) (*.f64 x x))))
(*.f64 (/.f64 (*.f64 (-.f64 x (*.f64 x y)) (fma.f64 y x x)) (*.f64 (-.f64 x (*.f64 x y)) (fma.f64 y x x))) (-.f64 x (*.f64 x y)))
(*.f64 (/.f64 (*.f64 (-.f64 x (*.f64 x y)) (fma.f64 y x x)) (fma.f64 (*.f64 x x) x (*.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 y y) y)))) (fma.f64 (*.f64 x y) (fma.f64 y x (neg.f64 x)) (*.f64 x x)))
x
(*.f64 (neg.f64 #s(literal -1 binary64)) x)
(*.f64 (neg.f64 x) #s(literal -1 binary64))
(*.f64 #s(literal -1 binary64) (neg.f64 x))
(*.f64 x (neg.f64 #s(literal -1 binary64)))
(*.f64 #s(literal -1 binary64) (*.f64 x y))
(*.f64 (neg.f64 x) y)
(*.f64 (neg.f64 y) x)
(*.f64 (*.f64 x y) #s(literal -1 binary64))
(*.f64 x (neg.f64 y))
#s(literal -1 binary64)
(neg.f64 (neg.f64 #s(literal -1 binary64)))
(*.f64 x y)
(*.f64 y x)
(*.f64 (neg.f64 #s(literal -1 binary64)) (*.f64 x y))
(*.f64 (neg.f64 x) (neg.f64 y))
(*.f64 (neg.f64 y) (neg.f64 x))
y
(*.f64 y #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) y)
(*.f64 (neg.f64 y) (neg.f64 #s(literal 1 binary64)))
(*.f64 (neg.f64 #s(literal 1 binary64)) (neg.f64 y))
(*.f64 x #s(approx (- 1 y) #s(literal 1 binary64)))
#s(approx (- 1 y) #s(literal 1 binary64))
#s(literal 1 binary64)
(*.f64 #s(literal 1 binary64) #s(literal 1 binary64))
(*.f64 (neg.f64 #s(literal 1 binary64)) (neg.f64 #s(literal 1 binary64)))
(*.f64 (pow.f64 (neg.f64 #s(literal 1 binary64)) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))) (pow.f64 (neg.f64 #s(literal 1 binary64)) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))))
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))))

eval8.0ms (0.4%)

Memory
-36.7MiB live, 12.6MiB allocated; 8ms collecting garbage
Compiler

Compiled 726 to 195 computations (73.1% saved)

prune2.0ms (0.1%)

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

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New44145
Fresh000
Picked112
Done011
Total45348
Accuracy
100.0%
Counts
48 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 x (-.f64 #s(literal 1 binary64) y))
52.6%
(*.f64 x #s(approx (- 1 y) #s(literal 1 binary64)))
100.0%
#s(approx (* (- 1 y) x) (-.f64 x (*.f64 x y)))
Compiler

Compiled 23 to 20 computations (13% saved)

series153.0ms (6.8%)

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

6 calls:

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

rewrite345.0ms (15.4%)

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

eval6.0ms (0.2%)

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

Compiled 414 to 113 computations (72.7% saved)

prune3.0ms (0.2%)

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New25025
Fresh000
Picked011
Done022
Total25328
Accuracy
100.0%
Counts
28 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 x (-.f64 #s(literal 1 binary64) y))
52.6%
(*.f64 x #s(approx (- 1 y) #s(literal 1 binary64)))
100.0%
#s(approx (* (- 1 y) x) (-.f64 x (*.f64 x y)))
Compiler

Compiled 23 to 20 computations (13% saved)

regimes21.0ms (0.9%)

Memory
-6.3MiB live, 37.7MiB allocated; 8ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

8 calls:

5.0ms
(*.f64 x (-.f64 #s(literal 1 binary64) y))
3.0ms
y
2.0ms
x
2.0ms
(*.f64 x (-.f64 #s(literal 1 binary64) y))
2.0ms
(-.f64 #s(literal 1 binary64) y)
Results
AccuracySegmentsBranch
52.6%1(-.f64 #s(literal 1 binary64) y)
52.6%1(*.f64 x (-.f64 #s(literal 1 binary64) y))
52.6%1x
52.6%1y
100.0%1(-.f64 #s(literal 1 binary64) y)
100.0%1(*.f64 x (-.f64 #s(literal 1 binary64) y))
100.0%1x
100.0%1y
Compiler

Compiled 56 to 44 computations (21.4% saved)

derivations1.0ms (0%)

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

Compiled 18 to 11 computations (38.9% saved)

preprocess24.0ms (1.1%)

Memory
12.1MiB live, 64.6MiB allocated; 11ms collecting garbage
Remove

(negabs x)

Compiler

Compiled 59 to 46 computations (22% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...