Skip to content

Commit df58d34

Browse files
committed
[GR-43648] Backport: Document recommendation for quick build mode.
PullRequest: graal/14724
2 parents 0f2cd7d + 65f6bab commit df58d34

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/reference-manual/native-image/BuildOutput.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,14 @@ Relevant guide: [Optimize a Native Executable with Profile-Guided Optimizations]
249249
250250
For best peak performance, also consider using the [G1 garbage collector](#recommendation-g1gc).
251251
252+
#### <a name="recommendation-qbm"></a>`QBM`: Use Quick Build Mode for Faster Builds
253+
254+
Consider using the quick build mode (`-Ob`) to speed up your builds during development.
255+
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).
256+
The quick build mode is not only useful for development, it can also cause the generated executable file to be smaller in size.
257+
Note, however, that the overall peak throughput of the executable may be lower due to the reduced number of optimizations.
258+
259+
252260
## Resource Usage Statistics
253261
254262
#### <a name="glossary-garbage-collection"></a>Garbage Collections

0 commit comments

Comments
 (0)