Measuring the sub methods

25 views
Skip to first unread message

Adnan Ameen

unread,
Jun 24, 2014, 10:23:23 AM6/24/14
to junit-be...@googlegroups.com
Thanks team for providing a very straightforward bench-marking tool. 


I am facing a scenario, I have methods A, B, C and D. Method A is calling methods B, C,D respectively.  What I need is to measure the running time of all methods individually. I can not mark B, C and D as Test as they are dependent on A and A calls them after setting some data for each in a sequence.

Is that possible with junitbenchmark, if yes the how?

Further I need to show data in milliseconds in chars instead of seconds. How can we do so?

Thanks,
Adnan 

Dawid Weiss

unread,
Jun 25, 2014, 3:13:02 AM6/25/14
to junit-benchmarks
No, it won't be possible. Try a profiling tool, like the excellent
YourKit, for example:
http://www.yourkit.com/

Dawid
> --
> You received this message because you are subscribed to the Google Groups
> "JUnitBenchmarks: Performance Benchmarking for JUnit4" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to junit-benchmar...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages