|
Project Information
Featured
Downloads
Links
|
IntroductionJavadocsA small tool that is very handy when e.g. you design data structures and want to see how much memory each one uses. To do this, it uses a simple reflection-based object-traversing framework (ObjectExplorer). On it, it builds two facilities:
Also of interest is the synergy with this project (of yours truly) : JBenchy Put together, they allow you to easily and systematically run and analyze benchmarks regarding data structures. How to useAn extremely simple example: long memory = MemoryMeasurer.measureBytes(new HashMap()); or Footprint footprint = ObjectGraphMeasurer.measure(new HashMap()); |