LoginSignup
1
2

More than 5 years have passed since last update.

IntelliJ IDEAがspring-bootの起動を高速化してくれるようになった

Last updated at Posted at 2017-02-09

対象のIDEAのバージョン

IntelliJ IDEA 2017.1 EAP
Build #IU-171.3019.7, built on February 8, 2017

かそれ以降(たぶん)

対象の人

スクリーンショット_2017-02-09_18_30_04.png

↑の青い丸から起動してる人
gradlew bootRunからだと変化なしだった

起動するとどうなる?

以下の2つのオプションが付与された状態で起動する(多分それだけ)

  • -XX:TieredStopAtLevel=1
  • -Xverify:none

gradleで起動してる人はどうすればいいの?

bootRun {
  jvmArgs '-XX:TieredStopAtLevel=1', '-Xverify:none'
}

どれ位速くなるの?

spring-bootが起動時間出してくれるのでそれを比較してみれば分かります。

スクリーンショット_2017-02-09_18_54_43.png

参考

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2