The ScalaDoc Benchmark uses ScalaDoc, the Scala documentation tool, to generate API documentation for the scalap classfile decoder. Each workload of the ScalaDoc Benchmark documents a subset of scalap’s sources.

As the JRE ScalaDoc resolves names against effectively becomes part of the input data, the necessary parts of the Apache Harmony JRE, which is released under the Apache License, Version 2.0, are distributed alongside the Scala sources. This ensures that the JRE used to run the benchmark does not affect the workload.

The ScalaDoc Benchmark is a closely related to the scalac Benchmark; the applications share their front‐end.


The ScalaDoc Benchmark is externally single‐threaded and internally multi‐threaded.