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

Commit 8671ac3

Browse files
committed
Correct default time and restore advice
Signed-off-by: micgibso <MICGIBSO@uk.ibm.com>
1 parent afa5ed0 commit 8671ac3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/_documentations/metrics-dashboard.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ The **Profiling** tab is available only in Node.js projects. This tab pulls info
6161
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.
6262

6363
- 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.
64+
- Run the load run for a minimum of 45 seconds for enough profiling data to be gathered to generate the `profiling.json` file.
65+
- You can configure the load run time in the `config.json` file in the `load-test` directory. The default time is 3 minutes.
6466
- 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.
6567

6668
To display code highlighting:

0 commit comments

Comments
 (0)