diff --git a/docs/plugins/sbt-plugin.html b/docs/plugins/sbt-plugin.html index 3ece081..6915f3e 100644 --- a/docs/plugins/sbt-plugin.html +++ b/docs/plugins/sbt-plugin.html @@ -59,7 +59,7 @@ of tips that users of this plugin must take into account to get reliable data.

Installation

Add the plugin into project/plugins.sbt:

-
addSbtPlugin("ch.epfl.scala" % "sbt-scalac-profiling" % "1.1.0-RC2")
+
addSbtPlugin("ch.epfl.scala" % "sbt-scalac-profiling" % "1.1.0-RC3")
 

Usage

Run the profilingWarmupCompiler task in SBT in your CI / local machine diff --git a/docs/user-guide/installation.html b/docs/user-guide/installation.html index 9658fdc..d24192c 100644 --- a/docs/user-guide/installation.html +++ b/docs/user-guide/installation.html @@ -60,20 +60,20 @@ Scala seriesSupported versionsscalac-profiling -2.12.x2.12.13, 2.12.14, 2.12.15, 2.12.16, 2.12.17, 2.12.18, 2.12.191.1.0-RC2 -2.13.x2.13.5, 2.13.6, 2.13.7, 2.13.8, 2.13.9, 2.13.10, 2.13.11, 2.13.12, 2.13.13, 2.13.141.1.0-RC2 +2.12.x2.12.13, 2.12.14, 2.12.15, 2.12.16, 2.12.17, 2.12.18, 2.12.191.1.0-RC3 +2.13.x2.13.5, 2.13.6, 2.13.7, 2.13.8, 2.13.9, 2.13.10, 2.13.11, 2.13.12, 2.13.13, 2.13.141.1.0-RC3

Add the dependency

Add the scalac compiler plugin into your build:

-
addCompilerPlugin("ch.epfl.scala" %% "scalac-profiling" % "1.1.0-RC2" cross CrossVersion.full)
+
addCompilerPlugin("ch.epfl.scala" %% "scalac-profiling" % "1.1.0-RC3" cross CrossVersion.full)
 

Also, it's required to enable compiler statistics — for Scala 2.13 the needed compiler flag is -Vstatistics, and for Scala 2.12 is -Ystatistics.

For example, for the SBT build tool, add the following settings to build.sbt:

+ inThisBuild(
 +   List(
-+     addCompilerPlugin("ch.epfl.scala" %% "scalac-profiling" % "1.1.0-RC2" cross CrossVersion.full),
++     addCompilerPlugin("ch.epfl.scala" %% "scalac-profiling" % "1.1.0-RC3" cross CrossVersion.full),
 +     ThisBuild / scalacOptions += "-Vstatistics",
 +   )
 + )
@@ -81,7 +81,7 @@ 

lazy val myproject = project .settings( -+ addCompilerPlugin("ch.epfl.scala" %% "scalac-profiling" % "1.1.0-RC2" cross CrossVersion.full), ++ addCompilerPlugin("ch.epfl.scala" %% "scalac-profiling" % "1.1.0-RC3" cross CrossVersion.full), + ThisBuild / scalacOptions += "-Vstatistics", )

diff --git a/docs/user-guide/motivation.html b/docs/user-guide/motivation.html index 093d718..0415041 100644 --- a/docs/user-guide/motivation.html +++ b/docs/user-guide/motivation.html @@ -56,7 +56,7 @@ });
Edit

What is scalac-profiling?

scalac-profiling is a compilation profiling tool for Scala 2 projects which aims to help you better understand what is slowing down compilation in your project. -As of the 1.1.0-RC2 version, it's built for Scala 2.12 and 2.13.

+As of the 1.1.0-RC3 version, it's built for Scala 2.12 and 2.13.

When to use scalac-profiling?

Using implicits and macros can significantly increase compilation time, based on their usage and your codebase organization. Suppose your project