Skip to main content

Timeline for Simple java code measuring

Current License: CC BY-SA 3.0

3 events
when toggle format what by license comment
May 14, 2015 at 15:29 vote accept Zavael
Mar 27, 2015 at 14:45 comment added Zavael the returning of object is because I can have some inline measurment (run1...run2...run2.stop...run1.stop), so it is important to know on which instance I am calling the stop method. But the factory method is nice simplification... I was inspired by the builder pattern when returning object from start method and so I achieved a one-liner initialization + starting (with the option to restart if needed). The dummy object is great.. will try it. Your Misc are true, there are some artifacts from previous version (duration was stoptime first - therefore it was field :) )
Mar 27, 2015 at 13:55 history answered tim CC BY-SA 3.0