At JPL, we use model transformation techniques for our systems engineering work. We use the Eclipse QVTO implementation of OMG's QVT specification.
http://www.eclipse.org/modeling/m2m/downloads/index.php?project=qvtoml
However, the Eclipse QVTO compiler is frustratingly slow. With judicious application of Guava's cache, I've managed to make significant performance improvements to the Eclispe QVTO compiler. More could be done but with what I have, I would like to get a view of the effectiveness of the caching optimizations in place by monitoring the cache statistics at runtime; i.e, com.google.common.cache.CacheStats
Has anyone suggestions w.r.t. how to define a JProfiler custom telemetry probe to do this?
- Nicolas.
For a single cache that you can access with a static method, it's fairly easy. In the custom probe wizard, set the meta-data script to
and the telemetry script to
where
CacheTest.getSingleCache()
is the hook to get at your cache.This will get you telemetry for all cache statistics measurements, like shown in the screen shot below: