views:

600

answers:

3

Hi I want to generate running time graphs on my java program. Is there any program which makes it?

A: 

Have a look at the jfreechart library.

kgiannakakis
+1  A: 

When you mean the time each method needs/total runtime then look for a profiler (e.g. eclipse plugin TPTP). Or do you mean to display graphs of runtimes in your program itself? (The preposition "on" you use make it hard to understand for me, "in" or "for" would in my eyes clarify the thing.

flolo
+2  A: 

So, if the X-axis is time, what do want on the Y-axis?

If its memory, then you could use something jconsole or jvisualvm

toolkit
Or if he just wants a 1-dimensional graph, then a wristwatch will suffice :)
sk