Skip to content

Commit

Permalink
Update bench scripts sbt module
Browse files Browse the repository at this point in the history
  • Loading branch information
lolgab committed Sep 25, 2023
1 parent 7ebfdd2 commit a81f2b6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bench-run/src/main/scala/dotty/tools/benchmarks/Main.scala
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ object Bench {
println()
println("Usage:")
println()
println("dotty-bench-run/jmh:run [<warmup>] [<iterations>] [<forks>] <regexp> [<input>|--] [<output>]")
println("scala3-bench-run/jmh:run [<warmup>] [<iterations>] [<forks>] <regexp> [<input>|--] [<output>]")
println()
println("warmup: warmup iterations. defaults to 20.")
println("iterations: benchmark iterations. defaults to 20.")
Expand Down
2 changes: 1 addition & 1 deletion bench/scripts/collection-vector.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
sbt "dotty-bench-bootstrapped/jmh:run 40 40 3 bench/tests/Vector.scala"
sbt "scala3-bench-bootstrapped/jmh:run 40 40 3 bench/tests/Vector.scala"
2 changes: 1 addition & 1 deletion bench/scripts/compiler-cold.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
find compiler/src/ -type f \( -name "*.scala" -or -name "*.java" \) -exec echo "dotty-bench-bootstrapped/jmh:run 0 1 10" {} + | sbt
find compiler/src/ -type f \( -name "*.scala" -or -name "*.java" \) -exec echo "scala3-bench-bootstrapped/jmh:run 0 1 10" {} + | sbt
2 changes: 1 addition & 1 deletion bench/scripts/compiler.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
find compiler/src/ -type f \( -name "*.scala" -or -name "*.java" \) -exec echo "dotty-bench-bootstrapped/jmh:run 5 10" {} + | sbt
find compiler/src/ -type f \( -name "*.scala" -or -name "*.java" \) -exec echo "scala3-bench-bootstrapped/jmh:run 5 10" {} + | sbt
2 changes: 1 addition & 1 deletion bench/scripts/library-cold.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
find library/src/ -type f \( -name "*.scala" -or -name "*.java" \) -exec echo "dotty-bench-bootstrapped/jmh:run 0 1 10" {} + | sbt
find library/src/ -type f \( -name "*.scala" -or -name "*.java" \) -exec echo "scala3-bench-bootstrapped/jmh:run 0 1 10" {} + | sbt
2 changes: 1 addition & 1 deletion bench/scripts/library.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
find library/src/ -type f \( -name "*.scala" -or -name "*.java" \) -exec echo "dotty-bench-bootstrapped/jmh:run 40 30" {} + | sbt
find library/src/ -type f \( -name "*.scala" -or -name "*.java" \) -exec echo "scala3-bench-bootstrapped/jmh:run 40 30" {} + | sbt

0 comments on commit a81f2b6

Please sign in to comment.