See also discussion at #7591 and https://github.com/dsyer/spring-boot-startup-bench.
Removing Jackson means removing the actuators as well, as things
stand. But it has quite a dramatic effect (probably Thymeleaf has no
impact at all and we are just seeing Jackson in the results
of #7591). Results:
Benchmark Mode Cnt Score Error Units
PetclinicBenchmark.devtoolsRestart avgt 10 0.851 ± 0.018 s/op
PetclinicBenchmark.explodedJarMain avgt 10 2.823 ± 0.075 s/op
PetclinicBenchmark.fatJar avgt 10 3.895 ± 0.039 s/op
PetclinicBenchmark.noverify avgt 10 3.397 ± 0.060 s/op
These should be compared with the same thing but fully loaded. Here's a reminder of what
they are:
Benchmark Mode Cnt Score Error Units
PetclinicBenchmark.devtoolsRestart avgt 10 1.107 ± 0.054 s/op
PetclinicBenchmark.explodedJarMain avgt 10 3.618 ± 0.149 s/op
PetclinicBenchmark.fatJar avgt 10 5.040 ± 0.229 s/op
PetclinicBenchmark.noverify avgt 10 4.402 ± 0.149 s/op
That's pretty huge!
See also discussion at #7591 and https://github.com/dsyer/spring-boot-startup-bench.
Removing Jackson means removing the actuators as well, as things
stand. But it has quite a dramatic effect (probably Thymeleaf has no
impact at all and we are just seeing Jackson in the results
of #7591). Results:
These should be compared with the same thing but fully loaded. Here's a reminder of what
they are:
That's pretty huge!