Memory Snapshot and cpu usage as a part of Junit Benchmark

87 views
Skip to first unread message

Murugan M

unread,
Apr 28, 2014, 8:33:31 AM4/28/14
to junit-be...@googlegroups.com
Is there any way to get the memory snapshots and CPU usage as part of Junit Benchmarking.

The requirement is get all the metrics (CPU usage,Memory,Response Time)that affect the performance under one hood .

Dawid Weiss

unread,
Apr 29, 2014, 8:45:56 AM4/29/14
to junit-benchmarks
No, there are no plans to do it either. It's quite tricky to do in
Java anyway (you can't capture any realistic memory consumption or CPU
since garbage collectors are running in parallel and are free to
devise their own memory compaction strategies).

Dawid
Reply all
Reply to author
Forward
0 new messages