I started to program in Scala recently. I’m looking for a free Scala profiler. Reading from the language’s official site led me to YourKit, but the program was not a free one.
Googling “scala profiler” didnt give me any relevant result.
So how do I profile my program written in Scala? I prefer a graphical plugin for Netbeans or Eclipse. But if there is no such thing, then a console one will be fine.
Thanks 🙂
Given that Scala runs on the Java Virtual Machine (
JVM), you can use theJVMtoolsJConsoleandVisualVMto profile the application. Alternatively any Java profiler should work (e.g. YourKit, as you’ve already mentioned)VisualVMhas been bundled with the JDK since1.6.0_10and it is based on the NetBeans profiler. You can capture memory usage, code performance hotspots etc: