Skip to content

Commit fa0f5b9

Browse files
committed
Add link to Shapeless
1 parent 6f69467 commit fa0f5b9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

blog/_posts/2018-06-04-scalac-profiling.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ better understand what is slowing down compilation in your project.
1111

1212
It turns out that the use of Scala's implicits as well as macros can greatly
1313
increase compilation times, depending on how they are used and how your
14-
codebase is organized. Codebases that make use of libraries like Shapeless,
14+
codebase is organized. Codebases that make use of libraries like [Shapeless],
1515
or which rely on typeclass derivation, may be particularly prone to these
1616
slow-downs. (As of Scala 2.12, typeclass derivation is based on
1717
implicitly-triggered macro expansions.)
@@ -82,7 +82,7 @@ it should compile in ~4 seconds.
8282
`frontend` depends on
8383
[`case-app`](https://github.com/alexarchambault/case-app/), a command-line
8484
parsing library for Scala that uses
85-
[Shapeless](https://github.com/milessabin/shapeless). This library is
85+
[Shapeless]. This library is
8686
excellent, but slows our compilation down to 30 seconds.
8787

8888
Waiting 30 seconds for a change to take effect (even under incremental
@@ -1297,3 +1297,5 @@ In the meanwhile, this blog post aims to provide all the possible data to
12971297
alleviate the compile times of users that leverage automatic typeclass
12981298
derivation. I hope this blog post helps make your team more productive with
12991299
Scala.
1300+
1301+
[Shapeless]: https://github.com/milessabin/shapeless

0 commit comments

Comments
 (0)