Introduction

The scalac Benchmark uses scalac, the Scala compiler, to compile the scalap classfile decoder. Each workload of the scalac Benchmark compiles a subset of scalap’s sources.

As the JRE scalac compiles 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 scalac Benchmark is a closely related to the ScalaDoc Benchmark; the applications share their front‐end.

Threading

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