次は最適化有りの結果を見てみよう。
result: 489261678 Flat profile of 5.40 secs (334 total ticks): main Interpreted + native Method 0.3% 0 + 1 java.io.WinNTFileSystem.getLastModifiedTime 0.3% 0 + 1 Total interpreted Compiled + native Method 99.4% 328 + 2 Test.expand 99.4% 328 + 2 Total compiled Thread-local ticks: 0.6% 2 Blocked (of total) 0.3% 1 Class loader Global summary of 5.40 seconds: 100.0% 346 Received ticks 2.0% 7 Received GC ticks 0.9% 3 Other VM operations 0.3% 1 Class loader
約5秒という結果となった。
こちらも、目に見えての向上である。
次回は、AOTでの実行結果も見ておこう。