[ start | index | login ]
start > Virtual Brain > Java > Profiling

Profiling

Created by stefan. Last edited by stefan, 7 years and 177 days ago. Viewed 758 times. #2
[diff] [history] [edit] [rdf]
labels
attachments
Some profiling code sniplets available here:
  • Article discusses an approach to measure the size of a datastructure (object tree) in Java. It uses a reflection based algorithm to traverse an object tree given any object as the root. Worked fine for my needs. Challenge: static values of object sizes in the code. Maybe you have to measure this for your JVM. >>http://www.javaworld.com/javaworld/javaqa/2003-12/02-qa-1226-sizeof.html
  • Article discusses size of objects in Java (Object, Integer, Arrays, ...). Contains example code to measure it in your JVM. Interesting but I didn't take the time to fully analyze the code that looked a bit complicated to me at first sight. >>http://www.javaworld.com/javaworld/javatips/jw-javatip130.html
  • A "heap-dump" utility they use in NetBeans. Maybe useful, I didn't successfully work with it yet. >>http://performance.netbeans.org/insane/
  • I was told that this is a fine Profiler that allows inspection of memory used by object and by object including child objects. It is able to compare snapshots against each other. >>http://www.yourkit.com/
Please login to post a comment.
search www.stefanrufer.ch
Google

Content

Me?


Blog Calendar

< May 2012 >
SunMonTueWedThuFriSat
12345
6789101112
13141516171819
20212223242526
2728293031

Weblog summary 2007, 2006, 2005, 2004


Content managed by SnipSnap

M

snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt