Micro-experimentation Tools in Java 9

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.
Course info
Level
Intermediate
Updated
Nov 1, 2017
Duration
1h 56m
Table of contents
Course Overview
How Noisy Experiments Are Wasting Your Precious Make Time
Getting Quick Feedback from Command-line JShell
Prototyping with JShell Scripts
Microbenchmarking Using JMH
Folding JMH into Continuous Integration
Description
Course info
Level
Intermediate
Updated
Nov 1, 2017
Duration
1h 56m
Description

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.

About the author
About the author

Like many software craftsmen, Josh eats, sleeps, and dreams in code. He codes for fun, and his kids code for fun! Right now, Josh works as a full-time committer on Spring Security and loves every minute.

More from the author
Securing Spring Data REST APIs
Advanced
1h 41m
Feb 19, 2020
Securing Java Web Application Data
Intermediate
2h 40m
Jun 21, 2019
More courses by Josh Cummings