Sign inSign up

stevenacoffman/java9-bench

By stevenacoffman

Updated almost 9 years ago

Simple benchmarking of java9 jlink, aot, and CDS features

Image
0

399

stevenacoffman/java9-bench repository overview

Smaller Java 9 apps in Docker

This project showcases what is in my opinion the coolest features in JDK 9:

  • ability to create custom runtime for your application
  • native support for Alpine Linux

This translates to less disk space and faster startup times than the full JVM. Whether or not it improves memory usage or speed after initial startup is an open question in my mind.

TL; DR version
REPOSITORY=stevenacoffman/java9-bench
docker build -t "${REPOSITORY}:latest" .
docker run -it stevenacoffman/java9-bench
Acknowledgments
Run the container image

Running the container is old news:

  docker run stevenacoffman/java9-bench

Tag summary

Content type

Image

Digest

Size

21.5 MB

Last updated

almost 9 years ago

docker pull stevenacoffman/java9-bench