Skip to content
This repository was archived by the owner on Jul 13, 2022. It is now read-only.
This repository was archived by the owner on Jul 13, 2022. It is now read-only.

Startup performance with devtools #85

@dsyer

Description

@dsyer

There might be some things we can do to improve startup times:

  • -XX:TieredStopAtLevel=1 has a big effect
  • -noverify also is appreciable
  • Run the main method, not the jar launcher (if we don't already)

Devtools restarts are already pretty fast, but the initial launch could be quicker. There are also some tricks you can play with -Xshare:on to use pre-parsed class data cached on disk. There might be other things (@aclement is a font of ideas).

See spring-projects/spring-boot#7493 for some discussion and benchmarks (also https://github.com/dsyer/spring-boot-startup-bench).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions