summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-07-16 05:52:00 +0000
committerPaul Phillips <paulp@improving.org>2011-07-16 05:52:00 +0000
commit15df85b04760e29e137e6d57f60789d2aba22117 (patch)
tree5258d454942ea31d55de3e2a66f12e616a3651da
parent5ed007aab7896a065d25a3fea9147b1f4afc2d9d (diff)
downloadscala-15df85b04760e29e137e6d57f60789d2aba22117.tar.gz
scala-15df85b04760e29e137e6d57f60789d2aba22117.tar.bz2
scala-15df85b04760e29e137e6d57f60789d2aba22117.zip
Fix Benchmark documentation to match current ar...
Fix Benchmark documentation to match current arguments. Contributed by Josh Marcus.
-rw-r--r--src/library/scala/testing/Benchmark.scala5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/library/scala/testing/Benchmark.scala b/src/library/scala/testing/Benchmark.scala
index a7548aa844..936db014c0 100644
--- a/src/library/scala/testing/Benchmark.scala
+++ b/src/library/scala/testing/Benchmark.scala
@@ -20,10 +20,9 @@ import compat.Platform
* The `run` method has to be defined by the user, who will perform the
* timed operation there. Run the benchmark as follows:
* {{{
- * > scala sort1 5 times.log
+ * > scala sort1 5
* }}}
- * This will run the benchmark 5 times and log the execution times in
- * a file called `times.log`.
+ * This will run the benchmark 10 times, and print the execution times to stdout.
*
* @author Iulian Dragos, Burak Emir
*/