littleMock is demo environment for Java performance tuning. Runs on Windows/Mac/Linux, internet connection required.
- Make sure a 1.7+ JDK and Maven are both installed. Make sure java and mvn are in the PATH.
- Download zip or clone littleMock to your own machine. Use green button on the top right.
- Launch startWar.sh (or startWar.cmd) to launch the WAR file.
- From a different cmd/terminal window, launch load.sh (or load.cmd). It will apply 3 threads of load of traffic.
- Both of these scripts will take a few minutes to download dependencies.
- Use your favorite tools (glowroot.org, jstack, jprofiler, etc...) to see what parts of littleMock are slow.
- Once startWar.sh is running, open http://localhost:8080/ui in your browser.
- 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.
- Improrve/degrade performance immediately by selecting options on this web page.