Skip to content

littleMock is an easy-to-install demo environment for Java performance tuning. Runs on Windows/Mac/Linux.

Notifications You must be signed in to change notification settings

stelmi/littleMock

 
 

Repository files navigation

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

About

littleMock is an easy-to-install demo environment for Java performance tuning. Runs on Windows/Mac/Linux.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 72.0%
  • HTML 22.1%
  • XSLT 4.7%
  • Batchfile 0.6%
  • Shell 0.3%
  • CSS 0.2%
  • Awk 0.1%