’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.
./mvnw test
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
./mvnw -Pnative test
./mvnw -Pnative package
target/jibber &
curl http://localhost:8080/jibber