Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1004 Bytes

README.md

File metadata and controls

50 lines (33 loc) · 1004 Bytes

Jibber Benchmark

short link

’Twas brillig, and the slithy toves Did gyre and gimble in the wabe: All mimsy were the borogoves, And the mome raths outgrabe. Beware the Jabberwock, my son! The jaws that bite, the claws that catch!

This project demonstrates a simple Spring Boot Application that can be used to benchmark the performance of GraalVM Native Images.

The application uses a Markow Model to model the poem, The Jabberwocky, and then generate a new, random poem that ressembles the original. Useful, I know.

To Test

./mvnw test

To Build

To generate the Java application and run it:

./mvnw package
java -jar target/benchmarks-0.0.1-SNAPSHOT-exec.jar &
curl http://localhost:8080/jibber

To Run the Tests Natively

./mvnw -Pnative test

To Build a Native Image

./mvnw -Pnative package
target/jibber &
curl http://localhost:8080/jibber

To Deploy to K8s