Skip to content

Commit e8962c2

Browse files
committed
benchmarks updated
1 parent 08bcf25 commit e8962c2

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright Justin Le (c) 2018
1+
Copyright Justin Le (c) 2020
22

33
All rights reserved.
44

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ differentiation process to "manual" differentiation by hand. When using the
183183

184184
[bench]: https://github.com/mstksg/backprop/blob/master/bench/bench.hs
185185

186-
![benchmarks](https://i.imgur.com/7L5NV4P.png)
186+
![benchmarks](https://i.imgur.com/rLUx4x4.png)
187187

188188
Here we compare:
189189

doc/07-performance.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ differentiation with "manual" differentiation:
3333

3434
[bench]: https://github.com/mstksg/backprop/blob/master/bench/bench.hs
3535

36-
![benchmarks](https://i.imgur.com/7L5NV4P.png)
36+
![benchmarks](https://i.imgur.com/rLUx4x4.png)
3737

3838
In the above, we compare:
3939

@@ -73,8 +73,8 @@ three main sources:
7373
[Wengert tape]: https://dl.acm.org/citation.cfm?doid=355586.364791
7474

7575
In addition, usage of the "Higher-Kinded Data"-based pattern matching interface
76-
(over the lens-based accessor interface) incurs some penalties from the
77-
inefficient nature of GHC Generics in general.
76+
(over the lens-based accessor interface) seems to result in more efficient
77+
compiled code, but not by any significant amount.
7878

7979
Optimization Techniques
8080
-----------------------

stack.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# name: custom-snapshot
1717
# location: "./custom-snapshot.yaml"
1818
# resolver: nightly-2018-03-25
19-
resolver: nightly-2020-06-25
19+
resolver: lts-16.19
2020

2121
# User packages to be built.
2222
# Various formats can be used as shown in the example below.

stack.yaml.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ packages:
1313
hackage: vinyl-0.12.2
1414
snapshots:
1515
- completed:
16-
size: 503181
17-
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2020/6/25.yaml
18-
sha256: 96e98363790e62f4498da632069a03101cf588b3b47925e707f080cff4b6cfbb
19-
original: nightly-2020-06-25
16+
size: 532177
17+
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/16/19.yaml
18+
sha256: d2b828ecf50386841d0c5700b58d38566992e10d63a062af497ab29ab031faa1
19+
original: lts-16.19

0 commit comments

Comments
 (0)