summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeather Miller <heather.miller@epfl.ch>2011-08-09 20:20:03 +0000
committerHeather Miller <heather.miller@epfl.ch>2011-08-09 20:20:03 +0000
commite90ef48c1b2d771ec2ad99c668602d0a264b37e4 (patch)
tree39f6ad179fad70c3d13ad193404d550ba0a2757b
parent31827a68813545cb7184044400210c1396f5fcd3 (diff)
downloadscala-e90ef48c1b2d771ec2ad99c668602d0a264b37e4.tar.gz
scala-e90ef48c1b2d771ec2ad99c668602d0a264b37e4.tar.bz2
scala-e90ef48c1b2d771ec2ad99c668602d0a264b37e4.zip
Improves Benchmark documentation.
-rw-r--r--src/library/scala/testing/Benchmark.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/library/scala/testing/Benchmark.scala b/src/library/scala/testing/Benchmark.scala
index 90a9292db2..c8e31766ea 100644
--- a/src/library/scala/testing/Benchmark.scala
+++ b/src/library/scala/testing/Benchmark.scala
@@ -37,7 +37,8 @@ trait Benchmark {
/** this method should be implemented by the concrete benchmark.
* This method is called by the benchmarking code for a number of times.
- * The GC is called before each call to 'run'.
+ * The GC is called between "multiplier" calls to run, right after tear
+ * down.
*
* @see setUp
* @see tearDown