Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-19 18:08:58 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-19 18:08:58 +0300
commit589b674b06c4acb5c357f6444fb0b7344585fdc5 (patch)
treef09182299a438c68d7655beba776f601acc71ded /doc/development/performance.md
parent6559f0ee67c564d62e12936e91cef6abf37ce102 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/performance.md')
-rw-r--r--doc/development/performance.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/development/performance.md b/doc/development/performance.md
index 1dc7538c55b..3b59393bae6 100644
--- a/doc/development/performance.md
+++ b/doc/development/performance.md
@@ -247,8 +247,12 @@ The following configuration options can be configured:
- `STACKPROF_ENABLED`: Enables stackprof signal handler on SIGUSR2 signal.
Defaults to `false`.
-- `STACKPROF_INTERVAL_US`: Sampling interval in microseconds. Defaults to
- `10000` μs (100hz).
+- `STACKPROF_MODE`: See [sampling modes](https://github.com/tmm1/stackprof#sampling).
+ Defaults to `cpu`.
+- `STACKPROF_INTERVAL`: Sampling interval. Unit semantics depend on `STACKPROF_MODE`.
+ For `object` mode this is a per-event interval (every `n`th event will be sampled)
+ and defaults to `1000`.
+ For other modes such as `cpu` this is a frequency and defaults to `10000` μs (100hz).
- `STACKPROF_FILE_PREFIX`: File path prefix where profiles are stored. Defaults
to `$TMPDIR` (often corresponds to `/tmp`).
- `STACKPROF_TIMEOUT_S`: Profiling timeout in seconds. Profiling will