Skip to content

Commit

Permalink
Recommend -Vstatistics
Browse files Browse the repository at this point in the history
  • Loading branch information
SethTisue authored Nov 20, 2023
1 parent 02b068e commit 4180a07
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ addCompilerPlugin("ch.epfl.scala" %% "scalac-profiling" % "<version>" cross Cros

To learn how to use the plugin, read [Speeding Up Compilation Time with `scalac-profiling`](https://www.scala-lang.org/blog/2018/06/04/scalac-profiling.html) in the scala-lang blog.

Note that in Scala 2.13, the preferred form of the compiler option to enable statistics is `-Vstatistics`. It is part of the family of `-V` flags that enable various "verbose" behaviors. (In 2.12, the flag is called `-Ystatistics`.)

### Compiler plugin options

All the compiler plugin options are **prepended by `-P:scalac-profiling:`**.
Expand All @@ -46,4 +48,4 @@ All the compiler plugin options are **prepended by `-P:scalac-profiling:`**.

## Historical context

The historical context of this project is quite interesting. For those wondering about the details, see the [dedicated section](HISTORICALCONTEXT.md).
The historical context of this project is quite interesting. For those wondering about the details, see the [dedicated section](HISTORICALCONTEXT.md).

0 comments on commit 4180a07

Please sign in to comment.