Skip to content

Commit 2acb4ef

Browse files
committed
Add runtime benchmarks to default profile
1 parent 7dfaa60 commit 2acb4ef

File tree

3 files changed

+26
-2
lines changed

3 files changed

+26
-2
lines changed

profiles/default.js

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

profiles/default.plan

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,9 @@ measure $PROG_HOME/tests/tuple22-apply.scala
8484
set-key tuple22-size
8585
measure $PROG_HOME/tests/tuple22-size.scala
8686

87+
set-key tuple-reverse
88+
measure-run TupleOps.reverse
89+
90+
set-key tuple-flatMap
91+
measure-run TupleOps.flatMap
92+

profiles/default.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,17 @@ charts:
153153
url: https://github.com/lampepfl/bench/blob/master/tests/tuple22-size.scala
154154
lines:
155155
- key: tuple22-size
156-
label: bootstrapped
156+
label: bootstrapped
157+
158+
- name: "Tuple reverse (Runtime)"
159+
lines:
160+
- key: tuple-reverse
161+
label: bootstrapped
162+
163+
- name: "Tuple flatMap (Runtime)"
164+
lines:
165+
- key: tuple-flatMap
166+
label: bootstrapped
157167

158168
scripts:
159169
dotty:
@@ -243,5 +253,11 @@ scripts:
243253
tuple22-size:
244254
- measure $PROG_HOME/tests/tuple22-size.scala
245255

256+
tuple-reverse:
257+
- measure-run TupleOps.reverse
258+
259+
tuple-flatMap:
260+
- measure-run TupleOps.flatMap
261+
246262
config:
247263
pr_base_url: "https://github.com/lampepfl/dotty/pull/"

0 commit comments

Comments
 (0)