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.
Failed to load latest commit information.

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 (or startWar.cmd) to launch the WAR file.
  4. From a different cmd/terminal window, launch (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 (, jstack, jprofiler, etc...) to see what parts of littleMock are slow.
  2. Once 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 to monitor littleMock