Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (476)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (532)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  can anyone recommend a good profiler?  (Read 5097 times)
0 Members and 1 Guest are viewing this topic.
Offline emzic

Senior Member





« Posted 2006-06-21 19:09:04 »

hello,

i am looking for a profiler, but since there are so many out there and i dont wanna try out every single one, i am asking you guys if you can recommend one.

i mainly want to profile, which objects take up how much memory.
secondly i want to profile, which methods take up the most time.
thirdly, i am using eclipse, so if it is an eclipse plugin, that would be great, but that is not a must.

thank you very much!

www.embege.com - personal website
webstart blendinspect - OpenGL BlendingModes visualization.
Offline Jeff

JGO Coder




Got any cats?


« Reply #1 - Posted 2006-06-22 05:55:33 »

The best free profiler I knwo of is the one for Netbeans.  (http://www.netbeans.org/products/profiler/)

I have tried a few profilers for Eclipse and basically have gotten none of them to work Sad


Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline CaptainJester

JGO Knight


Medals: 12
Projects: 2
Exp: 14 years


Make it work; make it better.


« Reply #2 - Posted 2006-06-22 14:14:37 »

http://jiprof.sourceforge.net/

Java Interactive Profiler.  Requires Java 1.5

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline funsheep

Senior Newbie




Java games rock!


« Reply #3 - Posted 2006-06-22 23:30:27 »

as mentioned in http://www.java-gaming.org/forums/index.php?topic=14127.0

a good tutorial for jip

http://www-128.ibm.com/developerworks/java/library/j-jip/?ca=dgr-lnxw01JavaProfiling#resources
Offline pepijnve

Junior Member




Java games rock!


« Reply #4 - Posted 2006-06-23 09:54:33 »

I use JProfiler. It's a commercial product, but I'm also a commercial developer, so that's not really an issue for me Wink It integrates nicely into IntelliJ IDEA, meaning running an with the profiler is just a button click away. I believe it also integrates with eclipse and netbeans too.
Offline Jeff

JGO Coder




Got any cats?


« Reply #5 - Posted 2006-06-24 23:36:28 »

If your goign commercial, Ive benea long time fan of OptimizeIt.  But its not cheap.

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline Amos Wenger

Senior Member




Everything's possible, but not everything's fun...


« Reply #6 - Posted 2006-06-25 20:11:46 »

Yourkit provides free license for open-source projects.

I haven't used it intensively but you may want to take a look at it : http://www.yourkit.com/

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Offline emzic

Senior Member





« Reply #7 - Posted 2006-06-27 13:31:49 »

thank you guys!

www.embege.com - personal website
webstart blendinspect - OpenGL BlendingModes visualization.
Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #8 - Posted 2006-06-28 05:36:23 »

The best free profiler I knwo of is the one for Netbeans.  (http://www.netbeans.org/products/profiler/)

I have tried a few profilers for Eclipse and basically have gotten none of them to work Sad

I haven't tried Eclipse profilers.. but I've had a hell of a time getting the NetBeans profiler to work consistently.  I've used it a couple times, and then a week or two later wanted to use it again and it refused to properly "connect".   It's pretty decent when it works... but it seems to be quite flakey... Not to mention the various bits of voodoo required to set it up if you are using a free-form Ant project.  That was on Windows XP, I haven't tried it on Mac.. (on Mac NetBeans has a brutal memory leak and I can't use it for more than a half hour before it swaps to death and I need to restart.)

Offline Niwak

Senior Member


Medals: 1
Projects: 1



« Reply #9 - Posted 2006-07-01 18:21:46 »

I tried TPTP (Eclipse's profiler) but it is really complex to make it works and there is a significant overhead.
Now, I use http://profiler4j.sourceforge.net/ which is very nice and intuitive.

Note that I have not yet found a profiler that allows me to get good results on the small methods that are called a lot of times (like activate of my state wrapper class, or render of my render command class) ; I also have my integrated profiling functions to narrow and validate profiler4j results.

    Vincent
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #10 - Posted 2006-07-11 15:20:34 »

As a related side-question, is -Xprof still broken on 1.6?
It seems to work, but I'm not sure the results are correct.
For me, -Xprof has always been the easiest and most efficient way to do performance profiling. Until it got broken...

Offline Ken Russell

JGO Coder




Java games rock!


« Reply #11 - Posted 2006-07-11 17:00:55 »

I'm afraid that -Xprof is still as slow on Mustang as it was on 1.5. It works, but slows down the application to the point of unusability. I would ask that you please file a bug about this and vote it up. The group which made this undesirable change in 1.5 has been unwilling to revisit the issue.
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #12 - Posted 2006-07-12 17:49:55 »

Well, I found that it slows down the program, but not nearly as much as any other profiler I tried.
JIP for example halts my application to an almost complete halt (think 0.2fps instead of 150fps).
But I'll submit a bug report because -Xprof is still much slower than in 1.4 and I'm not so sure the 1.6 profiler output is correct (it seems really strange sometimes).

Offline keldon85

Senior Member


Medals: 1



« Reply #13 - Posted 2007-02-04 18:08:32 »

I have had the same problems with the profillers in eclipse, they reduce the speed of my app from 300 fps to about 0.1! The profillers I used in C++ were pretty much seamless; I didn't even notice much of an overhead!

Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #14 - Posted 2007-06-24 14:55:18 »

Bump. I'm in need of a profiler - I usually just dump generic stats with -Xrunhprof and use HPjmeter to peek at them, but it seems that the profile dump is too large for it to handle with my current game. Sad

I'm going to try a few from here first, but are there any other suggestions?

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

pw (17 views)
2014-07-24 01:59:36

Riven (17 views)
2014-07-23 21:16:32

Riven (14 views)
2014-07-23 21:07:15

Riven (17 views)
2014-07-23 20:56:16

ctomni231 (45 views)
2014-07-18 06:55:21

Zero Volt (40 views)
2014-07-17 23:47:54

danieldean (32 views)
2014-07-17 23:41:23

MustardPeter (36 views)
2014-07-16 23:30:00

Cero (51 views)
2014-07-16 00:42:17

Riven (50 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!