User:Chloe
From QERM Wiki
(Difference between revisions)
(New page: == Useful links == Migration Literature Review) |
(Added Java perf info) |
||
Line 1: | Line 1: | ||
+ | == Java == | ||
+ | |||
+ | === Evaluating performance on a Mac === | ||
+ | Eclipse Test & Performance Tools aren't supported on Mac OS X due to this [https://bugs.eclipse.org/bugs/show_bug.cgi?id=68111 bug]. However, Mac ships with a profiler (you need to install the development tools), Shark, that supports Java. You can find it at /Developer/Applications/Performance Tools. Here's how to get it working: | ||
+ | # Add -agentlib:Shark to your VM arguments (i.e. in the run configuration for Eclipse) | ||
+ | # Start Shark, and pick 'Java Time Profile' or another Java option in the first drop down | ||
+ | # Start your application | ||
+ | # Click Start in Shark | ||
+ | # Click Stop, or Shark should stop after 30 sec. | ||
+ | |||
== Useful links == | == Useful links == | ||
[[Migration Literature Review]] | [[Migration Literature Review]] |
Revision as of 00:17, 22 April 2009
Java
Evaluating performance on a Mac
Eclipse Test & Performance Tools aren't supported on Mac OS X due to this bug. However, Mac ships with a profiler (you need to install the development tools), Shark, that supports Java. You can find it at /Developer/Applications/Performance Tools. Here's how to get it working:
- Add -agentlib:Shark to your VM arguments (i.e. in the run configuration for Eclipse)
- Start Shark, and pick 'Java Time Profile' or another Java option in the first drop down
- Start your application
- Click Start in Shark
- Click Stop, or Shark should stop after 30 sec.