panbingkun commented on code in PR #46402:
URL: https://github.com/apache/spark/pull/46402#discussion_r1591875024


##########
docs/building-spark.md:
##########
@@ -117,6 +117,13 @@ where `spark-streaming_{{site.SCALA_BINARY_VERSION}}` is 
the `artifactId` as def
 
     ./build/mvn -Pconnect -DskipTests clean package
 
+## Building with JVM Profile support
+
+    ./build/mvn -Pjvm-profiler -DskipTests clean package
+
+**Note:** The `jvm-profiler` profile builds the assembly without including the 
dependency `ap-loader`,
+you can download it manually from maven central repo and use it together with 
`spark-profiler_{{site.SCALA_BINARY_VERSION}}`.
+

Review Comment:
   The actual effect is like this:
   <img width="968" alt="image" 
src="https://github.com/apache/spark/assets/15246973/59121d08-686d-42b6-aba3-4615c80df371";>
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to