Skip to content
This repository was archived by the owner on Oct 9, 2020. It is now read-only.

Commit 19cd60c

Browse files
committed
only increate warmups and forks for noisy lines
Inspecting the data shows that increasing forks and warmups don't help in general.
1 parent 9f470b4 commit 19cd60c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

bin/plan

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ measure "tests/implicit_cache.scala" tests/implicit_cache.scala
77
measure "tests/implicit-scope-loop.scala" tests/implicit-scope-loop.scala
88
measure "tests/i1535.scala" tests/i1535.scala
99
measure "tests/i1687.scala" tests/i1687.scala
10-
measure "tests/Vector.scala" tests/Vector.scala
10+
measure "tests/Vector.scala" 20 30 3 tests/Vector.scala
1111
measure "tests/empty-class.scala" tests/empty-class.scala
1212
measure "tests/empty-object.scala" tests/empty-object.scala
1313
measure "tests/empty-file.scala" tests/empty-file.scala
14-
measure "tests/patmatexhaust.scala" tests/patmatexhaust.scala
15-
measure "tests/exhaustivity-I.scala" tests/exhaustivity-I.scala
16-
measure "tests/exhaustivity-S.scala" tests/exhaustivity-S.scala
17-
measure "tests/exhaustivity-T.scala" tests/exhaustivity-T.scala
18-
measure "tests/exhaustivity-V.scala" tests/exhaustivity-V.scala
14+
measure "tests/patmatexhaust.scala" 20 40 3 tests/patmatexhaust.scala
15+
measure "tests/exhaustivity-I.scala" 20 40 3 tests/exhaustivity-I.scala
16+
measure "tests/exhaustivity-S.scala" 20 40 3 tests/exhaustivity-S.scala
17+
measure "tests/exhaustivity-T.scala" 20 40 3 tests/exhaustivity-T.scala
18+
measure "tests/exhaustivity-V.scala" 20 40 3 tests/exhaustivity-V.scala
1919
measure "tests/implicitNums.scala" tests/implicitNums.scala
2020
source tests/scripts/scalapb

src/main/scala/Benchmarks.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ object Bench {
2525

2626
val warmup = if (intArgs.length > 0) intArgs(0).toInt else 10
2727
val iterations = if (intArgs.length > 1) intArgs(1).toInt else 20
28-
val forks = if (intArgs.length > 2) intArgs(2).toInt else 3
28+
val forks = if (intArgs.length > 2) intArgs(2).toInt else 1
2929

3030
storeCompileOptions(args1)
3131

0 commit comments

Comments
 (0)