I’d like to profile some code I’ve written, to find out how much time is being spent in which functions.
Simple logging isn’t enough to help me as a lot of processing is being done in parallel, which makes it hard to track this manually.
I’ve done some googling and there doesn’t seem to be a standard answer for this. There’s http://scalameter.github.io/ but it only lets you write performance tests, it doesn’t seem like it lets you just run something and give a breakdown of which functions took the most time.
There’s also VisualVM but there are conflicting reports on whether it works with scala or not.
Something that works with Intellij would be ideal.