littleMock is an easy-to-install demo environment for Java performance tuning. Runs on Windows/Mac/Linux.
Java HTML XSLT Batchfile Shell CSS Awk
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gctime
src
.gitignore
README.md
load.cmd
load.sh
loadGui.cmd
loadGui.sh
pom-load.xml
pom.xml
restart.sh
startWar.cmd
startWar.sh
stopWar.cmd

README.md

Install and Run littleMock

littleMock is demo environment for Java performance tuning. Runs on Windows/Mac/Linux, internet connection required.

  1. Make sure a 1.7+ JDK and Maven are both installed. Make sure java and mvn are in the PATH.
  2. Download zip or clone littleMock to your own machine. Use green button on the top right.
  3. Launch startWar.sh (or startWar.cmd) to launch the WAR file.
  4. From a different cmd/terminal window, launch load.sh (or load.cmd). It will apply 3 threads of load of traffic.
  5. Both of these scripts will take a few minutes to download dependencies.
  6. Screencast for install

Optimize It!

  1. Use your favorite tools (glowroot.org, jstack, jprofiler, etc...) to see what parts of littleMock are slow.
  2. Once startWar.sh is running, open http://localhost:8080/ui in your browser.
  3. Click the "Monitoring" link at the top of the page to launch Glowroot, monitoring software. It will show you the impact of the optimizations you select on the above web page.
  4. Improrve/degrade performance immediately by selecting options on this web page.
  5. Using glowroot.org to monitor littleMock