Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Micro-experimentation Tools in Java 9

via Pluralsight

Overview

This course covers Java 9 tools JShell and JMH, designed to restore a Java engineer's flow by making it easy to explore your code base, experiment with solutions at a small scale, and roll the results into long-lasting applications with confidence.

Historically, Java engineers have been loathe to do small scale experiments during their coding because of the high ceremony of the Java language. There is so much overhead when all an engineer wants to write is a little one-line experiment that its often avoided. At the core, the JVM is so good at code optimization that experiments in the performance family are still more time consuming because of the immense number of false positives and noisy evidence that result. In this course, Micro-experimentation Tools in Java 9, you'll learn how to use JShell and JMH. First, you'll learn how to do more in-depth experimenting. Next, you’ll discover more about exploratory coding. Finally, you’ll explore how to find if your feedback loop is too slow for significant processes. When you’re finished with this course, you'll have a foundational knowledge of JShell and JMH that will help you as you move forward in restoring flow while using Java 9 micro-experimentation tools.

Syllabus

  • Course Overview 1min
  • How Noisy Experiments Are Wasting Your Precious Make Time 8mins
  • Getting Quick Feedback from Command-line JShell 47mins
  • Prototyping with JShell Scripts 14mins
  • Microbenchmarking Using JMH 32mins
  • Folding JMH into Continuous Integration 13mins

Taught by

Josh Cummings

Reviews

4.6 rating at Pluralsight based on 11 ratings

Start your review of Micro-experimentation Tools in Java 9

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.