From 4180a0704df035cfc6378dda6c200f5a1ff0c435 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Mon, 20 Nov 2023 10:20:03 -0800 Subject: [PATCH] Recommend `-Vstatistics` --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b429b10..f750c6b 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,8 @@ addCompilerPlugin("ch.epfl.scala" %% "scalac-profiling" % "" 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:`**. @@ -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). \ No newline at end of file +The historical context of this project is quite interesting. For those wondering about the details, see the [dedicated section](HISTORICALCONTEXT.md).