Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3056c25

Browse files
committed
cleaned up day 19, added bench marks to reflection
1 parent 7906645 commit 3056c25

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

‎reflections.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1926,21 +1926,21 @@ parse = V.fromList . map V.fromList . lines
19261926
### Day 19 Benchmarks
19271927

19281928
```
1929-
>> Day 18a
1929+
>> Day 19a
19301930
benchmarking...
1931-
time 450.8 μs (393.3 μs .. 540.9 μs)
1932-
0.898 R2 (0.849 R2 .. 0.992 R2)
1933-
mean 426.0 μs (403.0 μs .. 476.6 μs)
1934-
std dev 102.4 μs (39.56 μs .. 179.0 μs)
1935-
variance introduced by outliers: 95% (severely inflated)
1931+
time 31.26 ms (30.37 ms .. 31.99 ms)
1932+
0.993 R2 (0.978 R2 .. 0.999 R2)
1933+
mean 31.22 ms (30.63 ms .. 32.06 ms)
1934+
std dev 1.569 ms (661.8 μs .. 2.179 ms)
1935+
variance introduced by outliers: 17% (moderately inflated)
19361936
1937-
>> Day 18b
1937+
>> Day 19b
19381938
benchmarking...
1939-
time 232.5 ms (208.6 ms .. 252.2 ms)
1940-
0.991 R2 (0.962 R2 .. 1.000 R2)
1941-
mean 232.9 ms (224.5 ms .. 240.3 ms)
1942-
std dev 10.83 ms (7.343 ms .. 13.68 ms)
1943-
variance introduced by outliers: 14% (moderately inflated)]
1939+
time 28.87 ms (13.57 ms .. 37.24 ms)
1940+
0.598 R2 (0.127 R2 .. 0.898 R2)
1941+
mean 47.90 ms (38.97 ms .. 60.18 ms)
1942+
std dev 19.34 ms (13.19 ms .. 27.93 ms)
1943+
variance introduced by outliers: 92% (severely inflated)
19441944
```
19451945

19461946
Day 20

‎src/AOC2017/Day19.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module AOC2017.Day19 (day19a, day19b) where
22

33
import AOC2017.Types (Challenge)
4-
import Control.Applicative (many, empty)
4+
import Control.Applicative (many)
55
import Control.Lens (ix, (^?))
66
import Control.Monad (guard)
77
import Control.Monad.Trans.Class (lift)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /