Siilats Robots
Tools & data lessons

Profile Java Code in Eclipse with JProfiler

Profile Java Code in Eclipse with JProfiler. Screen-share lesson by Keith Siilats from the technical screen-share archive. The walkthrough discusses Eclipse and Java.

Watch the original lesson

Screen times follow the original lesson. Edited YouTube versions may run shorter.

At 0:50 in the original

Attach JProfiler to the Java program

Choose the process launched by the Eclipse configuration. Use a fixed workload so you can compare runs.

Screen recording at 0:50
Screen at 0:50
At 4:30 in the original

Read the call tree

Separate time in a method from time in calls it makes. Start with hot paths that recur during the workload.

Screen recording at 4:30
Screen at 4:30
At 8:20 in the original

Check a change against the baseline

Profile the same input after modifying the code. Compare the timing and confirm the program still returns the expected result.

Screen recording at 8:20
Screen at 8:20