Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Commit afa5ed0

Browse files
committed
Edit
Signed-off-by: micgibso <MICGIBSO@uk.ibm.com>
1 parent d163150 commit afa5ed0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

docs/_documentations/metrics-dashboard.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,9 @@ The **Profiling** tab is available only in Node.js projects. This tab pulls info
5858

5959
## Profiling Data Support
6060

61-
In Codewind, the load test data is obtained by running a load test using the Performance Dashboard. The directory is created in your project directory if Codewind Java Profiler or Codewind Node.js profiler is installed.
62-
- For Java, the extension provides code highlighting showing relative time spent in Java methods based on profiling data collected through the Codewind load test feature. Once you execute a test, an hcd file is created in `load-test/[timestamp]/xxxx.hcd`.
63-
- For Node.js, the extension provides code highlighting showing relative time spent in JavaScript functions based on profiling data collected through the Codewind load test feature. Once you execute a test, a JSON file is created in `load-test/[timestamp]/profiling.json`.
64-
6561
In Theia or VS Code, you can use the Profiling Language Server to provide code highlighting. Code highlighting displays the relative time spent in JavaScript functions based on profiling data gathered through [load testing](performancetesting). Profiling support is only available for Node.js projects that are created through Codewind and then profiled.
6662

6763
- Profiling data is written to the workspace only on a successfully completed load run. If the load run is cancelled, it won't be written to the workspace.
68-
- Run the load run for a minimum of 45 seconds for enough profiling data to be gathered to generate the `profiling.json` file.
69-
- You can configure the load run time in the `config.json` file in the `load-test` directory. The default time is 2 minutes.
7064
- Out of all the folders that contain a `profiling.json` file, the most up-to-date `profiling.json` file is the one that is displayed. The code for the older profiling data might be out of date, such as pointing to lines that have been moved.
7165

7266
To display code highlighting:

0 commit comments

Comments
 (0)