1

In perl there is a very nice profiler available called NYTProf.

In it's report it includes a flame graph, which makes it very easy to find the bottleneck of the program

Is there an equivalent java profiler which produces the same report?

David Michael Gang
  • 7,107
  • 8
  • 53
  • 98
  • Flame graphs are pretty, but not that effective for finding bottlenecks. [*Check the end of this answer.*](http://stackoverflow.com/a/25870103/23771) – Mike Dunlavey Oct 04 '14 at 18:30
  • I used in perl this module which creates flame graphs and it was very useful for me http://search.cpan.org/~timb/Devel-NYTProf-5.06/lib/Devel/NYTProf.pm – David Michael Gang Oct 05 '14 at 11:05
  • 1
    That's because it helped you find one or a few speedups, right? That's great. Now, do you suppose there are no more to be found? They can hide from flame graphs, and if they are in there, you can go still faster if you find them, and not by just a little. Check out [*false negatives*](http://scicomp.stackexchange.com/a/2719/1262). – Mike Dunlavey Oct 05 '14 at 16:50

1 Answers1

1

Try this : https://www.npmjs.com/package/javaflamegraph

npm install javaflamegraph

npm start

saquib khan
  • 151
  • 3