Skip to content

Commit

Permalink
[GR-43648] Backport: Document recommendation for quick build mode.
Browse files Browse the repository at this point in the history
PullRequest: graal/14724
  • Loading branch information
fniephaus committed Jun 2, 2023
2 parents 0f2cd7d + 65f6bab commit df58d34
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/reference-manual/native-image/BuildOutput.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,14 @@ Relevant guide: [Optimize a Native Executable with Profile-Guided Optimizations]
For best peak performance, also consider using the [G1 garbage collector](#recommendation-g1gc).
#### <a name="recommendation-qbm"></a>`QBM`: Use Quick Build Mode for Faster Builds
Consider using the quick build mode (`-Ob`) to speed up your builds during development.
More precisely, this mode reduces the number of optimizations performed by the Graal compiler and thus reduces the overall time of the [compilation stage](#stage-compiling).
The quick build mode is not only useful for development, it can also cause the generated executable file to be smaller in size.
Note, however, that the overall peak throughput of the executable may be lower due to the reduced number of optimizations.
## Resource Usage Statistics
#### <a name="glossary-garbage-collection"></a>Garbage Collections
Expand Down

0 comments on commit df58d34

Please sign in to comment.