Skip to content

Commit 599b236

Browse files
committed
Last correction
1 parent 5f3bd7d commit 599b236

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/src/docs/asciidoc/end-to-end-gradle-guide.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ graalvmNative {
9090
9191
binaries.main {
9292
// options to configure the main binary
93-
imageName = 'application'
93+
imageName = 'myApp'
9494
mainClass = 'org.example.Main'
9595
buildArgs.add('-O3') // enables additional compiler optimizations
9696
}

docs/src/docs/asciidoc/end-to-end-maven-guide.adoc

+1
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ Run the build command:
299299
If the profile file has the default name and location, it will be automatically picked up.
300300
Alternatively, you can specify the file path as following: `--pgo=myprofile.iprof`.
301301

302+
If everything was done properly, you will see _"PGO: user-provided"_ in the native image build output.
302303
Once the optimized image is built, run it: `./target/optimizedApp`.
303304
The application's performance when running from this native executable should be comparable to, or even faster than, running on the JVM.
304305
Learn more about PGO https://www.graalvm.org/reference-manual/native-image/optimizations-and-performance/PGO/basic-usage[on the website].

0 commit comments

Comments
 (0)