Examples of performance tuning in Java
This project has samples of code which show some common performance tuning areas, in Java.
How to measure time required - jmeter, starttime, endtime How to measure space utilized - jcmd, jconsole, eclipse MAT
- Report the PID and measure memory utilized
- Primitives Vs Reference Variables
- Loops Vs Parallel Streams
- When to multi-thread and use thread pools