Profiling Scala code

Profiling Scala code is trickier than one might expect. There are several JVM profilers you can use. However, you will lose some of the Scala abstraction when using them. They are primarily designed for use with Java. These include the VisualVM profiler that can be found at:

https://visualvm.java.net/

Another possible choice is Takipi, which can be found at the following web address:

https://www.takipi.com/

Get Scientific Computing with Scala now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.