Skip to content

Commit e5df14a

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents a5ba8f2 + b1a3e6d commit e5df14a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+868
-199
lines changed

bench/profiles/ci.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
scripts:
2+
3+
re2s:
4+
- measure 1 1 1 $(find $PROG_HOME/tests/re2s/src -name *.scala)
5+
6+
implicit-cache:
7+
- measure 1 1 1 $PROG_HOME/dotty/tests/bench/implicit_cache.scala
8+
9+
implicit-cache-from-tasty:
10+
- source $PROG_HOME/dotty/bench/scripts/implicit-cache-from-tasty
11+
12+
implicit-scope-loop:
13+
- measure 1 1 1 $PROG_HOME/dotty/tests/bench/implicit-scope-loop.scala
14+
15+
i1535:
16+
- measure 1 1 1 $PROG_HOME/dotty/tests/bench/i1535.scala
17+
18+
i1687:
19+
- measure 1 1 1 $PROG_HOME/dotty/tests/bench/i1687.scala
20+
21+
empty-class:
22+
- measure 1 1 1 $PROG_HOME/dotty/tests/bench/empty-class.scala
23+
24+
empty-object:
25+
- measure 1 1 1 $PROG_HOME/dotty/tests/bench/empty-object.scala
26+
27+
empty-file:
28+
- measure 1 1 1 $PROG_HOME/dotty/tests/bench/empty-file.scala
29+
30+
patmatexhaust:
31+
- measure 1 1 1 $PROG_HOME/dotty/tests/bench/patmatexhaust.scala
32+
33+
exhaustivity-I:
34+
- measure 1 1 1 $PROG_HOME/dotty/tests/bench/exhaustivity-I.scala
35+
36+
exhaustivity-S:
37+
- measure 1 1 1 $PROG_HOME/dotty/tests/bench/exhaustivity-S.scala
38+
39+
exhaustivity-T:
40+
- measure 1 1 1 $PROG_HOME/dotty/tests/bench/exhaustivity-T.scala
41+
42+
exhaustivity-V:
43+
- measure 1 1 1 $PROG_HOME/dotty/tests/bench/exhaustivity-V.scala
44+
45+
implicitNums:
46+
- measure 1 1 1 $PROG_HOME/dotty/tests/bench/implicitNums.scala
47+
48+
implicitNums-from-tasty:
49+
- source $PROG_HOME/dotty/bench/scripts/implicitNums-from-tasty
50+
51+
inductive-implicits:
52+
- measure 1 1 1 $PROG_HOME/dotty/tests/bench/inductive-implicits.scala
53+
54+
scalap:
55+
- source $PROG_HOME/dotty/bench/scripts/scalap
56+
57+
power-macro-power-inlined-1:
58+
- source $PROG_HOME/dotty/bench/scripts/power-macro-1
59+
60+
power-macro-power-inlined-1k:
61+
- source $PROG_HOME/dotty/bench/scripts/power-macro-1k

bench/profiles/default.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
includes:
2+
- projects.yml
3+
- implicits.yml
4+
- typing.yml
5+
- exhaustivity.yml
6+
- misc.yml
7+
- empty.yml
8+
- quotes.yml
9+
- tuples.yml
10+
11+
12+
config:
13+
pr_base_url: "https://github.com/lampepfl/dotty/pull/"

bench/profiles/empty.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
charts:
2+
3+
- name: "empty class"
4+
url: https://github.com/lampepfl/dotty/blob/master/tests/bench/empty-class.scala
5+
lines:
6+
- key: empty-class
7+
label: bootstrapped
8+
9+
- name: "empty object"
10+
url: https://github.com/lampepfl/dotty/blob/master/tests/bench/empty-object.scala
11+
lines:
12+
- key: empty-object
13+
label: bootstrapped
14+
15+
- name: "empty file"
16+
url: https://github.com/lampepfl/dotty/blob/master/tests/bench/empty-file.scala
17+
lines:
18+
- key: empty-file
19+
label: bootstrapped
20+
21+
scripts:
22+
23+
empty-class:
24+
- measure $PROG_HOME/dotty/tests/bench/empty-class.scala
25+
26+
empty-object:
27+
- measure $PROG_HOME/dotty/tests/bench/empty-object.scala
28+
29+
empty-file:
30+
- measure $PROG_HOME/dotty/tests/bench/empty-file.scala
31+
32+
config:
33+
pr_base_url: "https://github.com/lampepfl/dotty/pull/"

bench/profiles/exhaustivity.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
charts:
2+
- name: "exhaustivity check"
3+
url: https://github.com/lampepfl/dotty/blob/master/tests/bench/patmatexhaust.scala
4+
lines:
5+
- key: patmatexhaust
6+
label: bootstrapped
7+
8+
- name: "exhaustivity I"
9+
url: https://github.com/lampepfl/dotty/blob/master/tests/bench/exhaustivity-I.scala
10+
lines:
11+
- key: exhaustivity-I
12+
label: bootstrapped
13+
14+
- name: "exhaustivity S"
15+
url: https://github.com/lampepfl/dotty/blob/master/tests/bench/exhaustivity-S.scala
16+
lines:
17+
- key: exhaustivity-S
18+
label: bootstrapped
19+
20+
- name: "exhaustivity T"
21+
url: https://github.com/lampepfl/dotty/blob/master/tests/bench/exhaustivity-T.scala
22+
lines:
23+
- key: exhaustivity-T
24+
label: bootstrapped
25+
26+
- name: "exhaustivity V"
27+
url: https://github.com/lampepfl/dotty/blob/master/tests/bench/exhaustivity-V.scala
28+
lines:
29+
- key: exhaustivity-V
30+
label: bootstrapped
31+
32+
- name: "exhaustivity MIPS"
33+
url: https://github.com/lampepfl/dotty/blob/master/tests/patmat/i7186.scala
34+
lines:
35+
- key: exhaustivity-mips
36+
label: bootstrapped
37+
38+
scripts:
39+
40+
patmatexhaust:
41+
- measure 20 40 3 $PROG_HOME/dotty/tests/bench/patmatexhaust.scala
42+
43+
exhaustivity-I:
44+
- measure 20 40 3 $PROG_HOME/dotty/tests/bench/exhaustivity-I.scala
45+
46+
exhaustivity-S:
47+
- measure 20 40 3 $PROG_HOME/dotty/tests/bench/exhaustivity-S.scala
48+
49+
exhaustivity-T:
50+
- measure 20 40 3 $PROG_HOME/dotty/tests/bench/exhaustivity-T.scala
51+
52+
exhaustivity-V:
53+
- measure 20 40 3 $PROG_HOME/dotty/tests/bench/exhaustivity-V.scala
54+
55+
exhaustivity-mips:
56+
- measure 20 40 3 $PROG_HOME/dotty/tests/patmat/i7186.scala
57+
58+
config:
59+
pr_base_url: "https://github.com/lampepfl/dotty/pull/"

bench/profiles/implicits.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
charts:
2+
- name: "implicit cache I"
3+
url: https://github.com/lampepfl/dotty/blob/master/tests/bench/implicit_cache.scala
4+
lines:
5+
- key: implicit-cache
6+
label: bootstrapped
7+
- key: implicit-cache-from-tasty
8+
label: from tasty
9+
10+
- name: "implicit cache II"
11+
url: https://github.com/lampepfl/dotty/blob/master/tests/bench/implicitNums.scala
12+
lines:
13+
- key: implicitNums
14+
label: bootstrapped
15+
- key: implicitNums-from-tasty
16+
label: from tasty
17+
18+
- name: "implicit scope loop"
19+
url: https://github.com/lampepfl/dotty/blob/master/tests/bench/implicit-scope-loop.scala
20+
lines:
21+
- key: implicit-scope-loop
22+
label: bootstrapped
23+
24+
- name: "inductive implicits"
25+
url: https://github.com/lampepfl/dotty/blob/master/tests/bench/inductive-implicits.scala
26+
lines:
27+
- key: inductive-implicits
28+
label: bootstrapped
29+
30+
scripts:
31+
32+
implicit-cache:
33+
- measure $PROG_HOME/dotty/tests/bench/implicit_cache.scala
34+
35+
implicit-cache-from-tasty:
36+
- source $PROG_HOME/dotty/bench/scripts/implicit-cache-from-tasty
37+
38+
implicit-scope-loop:
39+
- measure $PROG_HOME/dotty/tests/bench/implicit-scope-loop.scala
40+
41+
inductive-implicits:
42+
- measure $PROG_HOME/dotty/tests/bench/inductive-implicits.scala
43+
44+
implicitNums:
45+
- measure $PROG_HOME/dotty/tests/bench/implicitNums.scala
46+
47+
implicitNums-from-tasty:
48+
- source $PROG_HOME/dotty/bench/scripts/implicitNums-from-tasty
49+
50+
config:
51+
pr_base_url: "https://github.com/lampepfl/dotty/pull/"

bench/profiles/misc.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
charts:
2+
3+
- name: "issue #1535"
4+
url: https://github.com/lampepfl/dotty/blob/master/tests/bench/i1535.scala
5+
lines:
6+
- key: i1535
7+
label: bootstrapped
8+
9+
- name: "issue #1687"
10+
url: https://github.com/lampepfl/dotty/blob/master/tests/bench/i1687.scala
11+
lines:
12+
- key: i1687
13+
label: bootstrapped
14+
15+
scripts:
16+
17+
i1535:
18+
- measure $PROG_HOME/dotty/tests/bench/i1535.scala
19+
20+
i1687:
21+
- measure $PROG_HOME/dotty/tests/bench/i1687.scala

bench/profiles/projects.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
charts:
2+
- name: "dotty (source changes over time)"
3+
url: https://github.com/lampepfl/dotty
4+
lines:
5+
- key: dotty
6+
label: bootstrapped
7+
8+
- name: "scala stdlib-2.13"
9+
url: https://github.com/dotty-staging/scala/commits/stdLib213-dotty-community-build
10+
lines:
11+
- key: stdlib213
12+
label: bootstrapped
13+
14+
- name: scalap
15+
url: https://github.com/dotty-staging/scala/commits/scalap-dotty-community-build-2.13
16+
lines:
17+
- key: scalap
18+
label: bootstrapped
19+
20+
- name: re2
21+
url: https://github.com/lampepfl/bench/blob/master/tests/re2s
22+
lines:
23+
- key: re2s
24+
label: bootstrapped
25+
26+
27+
scripts:
28+
dotty:
29+
- measure -with-compiler $(find $PROG_HOME/dotty/compiler/src/dotty -name *.scala -o -name *.java)
30+
31+
re2s:
32+
- measure $(find $PROG_HOME/tests/re2s/src -name *.scala)
33+
34+
# scalapb:
35+
# - source $PROG_HOME/dotty/bench/scripts/scalapb
36+
37+
scalap:
38+
- source $PROG_HOME/dotty/bench/scripts/scalap
39+
40+
stdlib213:
41+
- source $PROG_HOME/dotty/bench/scripts/stdlib213
42+
43+
config:
44+
pr_base_url: "https://github.com/lampepfl/dotty/pull/"

bench/profiles/pull.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
includes:
2+
- projects.yml
3+
- quotes.yml
4+
- misc.yml
5+
- empty.yml
6+
7+
config:
8+
pr_base_url: "https://github.com/lampepfl/dotty/pull/"

bench/profiles/quotes.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
charts:
2+
- name: "Inline a quote"
3+
url: https://github.com/lampepfl/dotty/blob/master/tests/bench/power-macro/PowerInlined-1.scala
4+
lines:
5+
- key: power-macro-power-inlined-1
6+
label: bootstrapped
7+
8+
- name: "Inline 1k quotes"
9+
url: https://github.com/lampepfl/dotty/blob/master/tests/bench/power-macro/PowerInlined-1k.scala
10+
lines:
11+
- key: power-macro-power-inlined-1k
12+
label: bootstrapped
13+
14+
- name: "Quote String interpolation matching"
15+
url: https://github.com/lampepfl/dotty/blob/master/tests/bench/string-interpolation-macro/Test.scala
16+
lines:
17+
- key: quote-string-interpolation-matching
18+
label: bootstrapped
19+
20+
scripts:
21+
22+
power-macro-power-inlined-1:
23+
- source $PROG_HOME/dotty/bench/scripts/power-macro-1
24+
25+
power-macro-power-inlined-1k:
26+
- source $PROG_HOME/dotty/bench/scripts/power-macro-1k
27+
28+
quote-string-interpolation-matching:
29+
- source $PROG_HOME/dotty/bench/scripts/quote-string-interpolation-matching
30+
31+
config:
32+
pr_base_url: "https://github.com/lampepfl/dotty/pull/"

bench/profiles/sbt.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
charts:
2+
- name: "dotty (source changes over time)"
3+
url: https://github.com/lampepfl/dotty
4+
lines:
5+
- key: dotty
6+
label: bootstrapped
7+
- key: dotty-sbt
8+
label: with sbt phases
9+
10+
scripts:
11+
dotty-sbt:
12+
- measure -with-compiler -Yforce-sbt-phases -with-dotty $(find $PROG_HOME/dotty/compiler/src/dotty -name *.scala -o -name *.java)
13+
14+
config:
15+
pr_base_url: "https://github.com/lampepfl/dotty/pull/"

0 commit comments

Comments
 (0)