This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Currently, we do not have any facility which allows automated simple operation measuring from unit tests. We plan to write unit test to prevent performance regression. It seems it is enough to add special handler (similar to InstancesHandler) for time mesuring to netbeans junit extension module (Log.class).
Created attachment 64185 [details] Suggested change
[JG01] Link to http://wiki.netbeans.org/FitnessViaTimersCounters not the old http://wiki.netbeans.org/wiki/view/FitnessViaTimersCounters [JG02] It's unclear from both the Javadoc and the impl what these methods actually do. What is the msg param for? (It is unused.) Why is Object[] result computed but never used? What does time measurement have to do with logging, anyway? I think you need to look over both the implementation and the Javadoc more carefully and describe precisely what this infrastructure is for and how it works.
Y01 Write a test.
Created attachment 64422 [details] Unit test
Changed the component/subcomponent to "xtest/nbjunit".
Somehow forgotten and I am not sure if this change is needed right now. Let's leave it in bugzilla for now.