Skip to content

Commit a7860a1

Browse files
committed
Add applyMerge max [1..] [1..] to benchmarks
1 parent 782616a commit a7860a1

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

bench/Bench/ApplyMerge.hs

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ benchmarks =
2222
funcToBenchmark
2323
"double linear shape: applyMerge min [1..] [1..]"
2424
min,
25+
funcToBenchmark
26+
"box shape: applyMerge max [1..] [1..]"
27+
max,
2528
funcToBenchmark
2629
"triangular shape: applyMerge (+) [1..] [1..]"
2730
(+),

docs/Benchmark.md

+21
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,27 @@ We benchmark the performance of the `applyMerge` implementations on different
4848
. * * * * * * * * * * * * * *
4949
</details>
5050

51+
* Box: `applyMerge max [1..] [1..]`
52+
<details>
53+
<summary>Shape</summary>
54+
55+
. . . . . . . * * * * * * * *
56+
. . . . . . . * * * * * * * *
57+
. . . . . . . * * * * * * * *
58+
. . . . . . . * * * * * * * *
59+
. . . . . . . * * * * * * * *
60+
. . . . . . . * * * * * * * *
61+
. . . . . . . * * * * * * * *
62+
* * * * * * * * * * * * * * *
63+
* * * * * * * * * * * * * * *
64+
* * * * * * * * * * * * * * *
65+
* * * * * * * * * * * * * * *
66+
* * * * * * * * * * * * * * *
67+
* * * * * * * * * * * * * * *
68+
* * * * * * * * * * * * * * *
69+
* * * * * * * * * * * * * * *
70+
</details>
71+
5172
* Triangular `applyMerge (+) [1..] [1..]`
5273
<details>
5374
<summary>Shape</summary>

0 commit comments

Comments
 (0)