My expectations on how it should work or be tested:
After you run mvn clean verify -Pparser-native you should see pretty-printed table with rows like
"Parser.parse", "NativeParsersFacade.parseRValue", "NativeParsersFacade.parse", etc
and columns like "name", "count", "total", "min", "max", "avg" sorted by total time, descending
My expectations on how it should work or be tested: After you run
mvn clean verify -Pparser-native
you should see pretty-printed table with rows like "Parser.parse", "NativeParsersFacade.parseRValue", "NativeParsersFacade.parse", etc and columns like "name", "count", "total", "min", "max", "avg" sorted by total time, descendingCoding recommendations: This library is good for adding performance meters: https://github.com/dropwizard/metrics
This library MAY be good for printing stats out: https://github.com/vdmeer/asciitable
dropwizard should have good spring aop integration and there are many ways to add on-shutdown logic in spring: https://www.baeldung.com/spring-shutdown-callbacks