You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/java-perf-flamegraph/1_setup.md
+32-14Lines changed: 32 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,67 +9,85 @@ layout: learningpathall
9
9
10
10
## Before You Begin
11
11
- There are numerous performance analysis methods and tools for Java applications, among which the call stack flame graph method is regarded as a conventional entry-level approach. Therefore, generating flame graphs is considered a basic operation.
12
-
- Various methods and tools are available for generating Java flame graphs, including async-profiler, Java Agent, jstack, JFR (Java Flight Recorder), etc.
13
-
- This LP (Learning Path) focuses on introducing two simple and easy-to-use methods: async-profiler and Java Agent.
12
+
- Various methods and tools are available for generating Java flame graphs, including `async-profiler`, `Java Agent`, `jstack`, `JFR` (Java Flight Recorder), etc.
13
+
- This Learning Path focuses on introducing two simple and easy-to-use methods: `async-profiler` and `Java Agent`.
14
14
15
15
16
16
## Setup Benchmark Server - Tomcat
17
17
-[Apache Tomcat](https://tomcat.apache.org/) is an open-source Java Servlet container that enables running Java web applications, handling HTTP requests and serving dynamic content.
18
18
- As a core component in Java web development, Apache Tomcat supports Servlet, JSP, and WebSocket technologies, providing a lightweight runtime environment for web apps.
19
19
20
-
1.So you should install Java Development Kit (JDK) first.
20
+
1.Start by installing Java Development Kit (JDK) on your Arm-based server:
21
21
```bash
22
22
sudo apt update
23
23
sudo apt install -y openjdk-21-jdk
24
24
```
25
25
26
-
2.Second, you can install Tomcat by either [building it from source](https://github.com/apache/tomcat) or downloading the pre-built package simply from [the official website](https://tomcat.apache.org/whichversion.html)
26
+
2.Next, you can install Tomcat by either [building it from source](https://github.com/apache/tomcat) or downloading the pre-built package simply from [the official website](https://tomcat.apache.org/whichversion.html)
3. If you intend to access the built-in Examples of Tomcat via an intranet IP or even an external IP, you need to modify a configuration file.
32
+
3. If you intend to access the built-in examples of Tomcat via an intranet IP or even an external IP, you need to modify a configuration file as shown:
33
33
```bash
34
34
vim apache-tomcat-11.0.9/webapps/examples/META-INF/context.xml
- wrk2 is a high-performance HTTP benchmarking tool specialized in generating constant throughput loads and measuring latency percentiles for web services.
51
-
- As an enhanced version of wrk, wrk2 provides accurate latency statistics under controlled request rates, ideal for performance testing of HTTP servers.
66
+
`wrk2` is a high-performance HTTP benchmarking tool specialized in generating constant throughput loads and measuring latency percentiles for web services. `wrk2` is an enhanced version of `wrk` that provides accurate latency statistics under controlled request rates, ideal for performance testing of HTTP servers.
52
67
53
-
1.If you intend to use wrk2, you should install some essential tools before build it.
68
+
1.To use `wrk2`, you will need to install some essential tools before you can build it:
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/java-perf-flamegraph/_index.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
---
2
-
title: Java Performance Analysis - FlameGraph
2
+
title: Analyze Java Performance on Arm servers using FlameGraphs
3
3
4
4
draft: true
5
5
cascade:
6
6
draft: true
7
7
8
8
minutes_to_complete: 30
9
9
10
-
who_is_this_for: This is an introductory guide for individuals aiming to perform performance analysis of Java applications on the ARM Neoverse platform using flame graphs.
10
+
who_is_this_for: This is an introductory topic for software developers looking to analyze the performance of their Java applications on the Arm Neoverse based servers using flame graphs.
0 commit comments