File tree Expand file tree Collapse file tree 7 files changed +49
-0
lines changed Expand file tree Collapse file tree 7 files changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ set -e
2
+
3
+ out="$PROG_HOME/tests/implicit_cache-out"
4
+ mkdir -p "$out"
5
+
6
+ compile -d "$out" "$PROG_HOME/dotty/tests/bench/implicit_cache.scala"
7
+
8
+ measure -from-tasty "$out/Test.tasty" "$out/A.tasty" "$out/Foo.tasty"
Original file line number Diff line number Diff line change
1
+ set -e
2
+
3
+ out="$PROG_HOME/tests/implicitNums-out"
4
+ mkdir -p "$out"
5
+
6
+ compile -d "$out" "$PROG_HOME/dotty/tests/bench/implicitNums.scala"
7
+
8
+ measure -from-tasty "$out/Test.tasty"
Original file line number Diff line number Diff line change
1
+ set -e
2
+
3
+ mkdir -p "$PROG_HOME/tests/power-macro/out"
4
+
5
+ compile -d "$PROG_HOME/tests/power-macro/out" "$PROG_HOME/dotty/tests/bench/power-macro/PowerMacro.scala"
6
+
7
+ measure "$PROG_HOME/dotty/tests/bench/power-macro/PowerInlined-1.scala" -classpath "$PROG_HOME/tests/power-macro/out"
Original file line number Diff line number Diff line change
1
+ set -e
2
+
3
+ mkdir -p "$PROG_HOME/tests/power-macro/out"
4
+
5
+ compile -d "$PROG_HOME/tests/power-macro/out" "$PROG_HOME/dotty/tests/bench/power-macro/PowerMacro.scala"
6
+
7
+ measure "$PROG_HOME/dotty/tests/bench/power-macro/PowerInlined-1k.scala" -classpath "$PROG_HOME/tests/power-macro/out"
Original file line number Diff line number Diff line change
1
+ set -e
2
+
3
+ mkdir -p "$PROG_HOME/tests/string-interpolation-macro/out"
4
+
5
+ compile -d "$PROG_HOME/tests/string-interpolation-macro/out" "$PROG_HOME/dotty/tests/bench/string-interpolation-macro/Macro.scala"
6
+
7
+ measure "$PROG_HOME/dotty/tests/bench/string-interpolation-macro/Test.scala" -classpath "$PROG_HOME/tests/string-interpolation-macro/out"
Original file line number Diff line number Diff line change
1
+ set -e
2
+
3
+ path=$(cs fetch -p org.scala-lang:scala-compiler:2.13.0)
4
+
5
+ measure -source 3.0-migration -classpath "$path" $(find $PROG_HOME/dotty/community-build/community-projects/scalap/src/scalap -name "*.scala")
Original file line number Diff line number Diff line change
1
+ set -e
2
+
3
+ pattern="! -name AnyVal.scala ! -name language.scala -name *.scala -o -name *.java"
4
+ stdlib213=$(find $PROG_HOME/dotty/community-build/community-projects/stdLib213/src/library/scala $pattern)
5
+ cd $PROG_HOME/dotty
6
+ measure -language:implicitConversions $stdlib213
7
+
You can’t perform that action at this time.
0 commit comments