diff options
author | Albert Pham <the.sk89q@gmail.com> | 2013-06-13 15:55:12 -0700 |
---|---|---|
committer | Albert Pham <the.sk89q@gmail.com> | 2013-06-13 15:55:12 -0700 |
commit | 280ad8b8bf2942f055daf5fb6f8ae55a7f88243a (patch) | |
tree | 05b6fa56f6b826242f6a42f1f8fb2514e3d568d9 /README.md | |
download | spark-280ad8b8bf2942f055daf5fb6f8ae55a7f88243a.tar.gz spark-280ad8b8bf2942f055daf5fb6f8ae55a7f88243a.tar.bz2 spark-280ad8b8bf2942f055daf5fb6f8ae55a7f88243a.zip |
Initial commit.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..f8edd13 --- /dev/null +++ b/README.md @@ -0,0 +1,77 @@ +WarmRoast +========= + +WarmRoast is an easy-to-use CPU sampling tool for JVM applications, but particularly suited for Minecraft servers/clients. + +* Adjustable sampling frequency. +* Supports loading MCP mappings for deobfuscating class and method names. +* Web-based — perform the profiling on a remote server and view the results in your browser. + * Collapse and expand nodes to see details. + * Easily view CPU usage per method at a glance. + * Hover to highlight all child methods as a group. + * See the percentage of CPU time for each method relative to its parent methods. + * Maintains style and function with use of "File -> Save As" (in tested browsers). + +**Download Latest Version:** http://builds.enginehub.org/job/warmroast/last-successful/ + +Java 7 and above is required to use WarmRoast. + +Screenshots +----------- + +![Sample output](http://i.imgur.com/KCDYkIv.png) + +Usage +----- + +1. Note the path of your JDK. + +2. Download WarmRoast as `warmroast.jar`. + +3. Replace `/path/to/jdk` in the following command line with the path to your JDK and execute the program. + +### Linux ### + + java -Djava.library.path=/path/to/jdk/jre/bin -cp /path/to/jdk/lib/tools.jar:warmroast.jar com.sk89q.warmroast.WarmRoast + +### Windows ### + + java -Djava.library.path=/path/to/jdk/jre/bin -cp /path/to/jdk/lib/tools.jar;warmroast.jar com.sk89q.warmroast.WarmRoast + +Parameters +---------- + + warmroast.WarmRoast --help + Usage: warmroast [options] + Options: + --bind + The address to bind the HTTP server to + Default: 0.0.0.0 + -h, --help + + Default: false + --interval + The sample rate, in milliseconds + Default: 100 + -m, --mappings + A directory with joined.srg and methods.csv + --name + The name of the VM to attach to + --pid + The PID of the VM to attach to + -p, --port + The port to bind the HTTP server to + Default: 23000 + -t, --thread + Optionally specify a thread to log only + +Hint: `--thread "Server thread"` is useful for Minecraft servers. + +License +------- + +The launcher is licensed under the GNU General Public License, version 3. + +Contributions by third parties must be dual licensed under the two licenses +described within LICENSE.txt (GNU General Public License, version 3, and the +3-clause BSD license). |