Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ GitHub Actions for running [CodSpeed](https://codspeed.io) in your CI.
# enable. Requires runner v5.3.0 or later.
# Defaults to "false".
experimental-memory-track-physical: ""

# [OPTIONAL]
# [Experimental] Capture allocation call stacks in `memory` mode. Set to "true" to
# enable. Requires runner v5.4.0 or later.
# Defaults to "false".
experimental-memory-capture-stack: ""
```

# Example usage
Expand Down
9 changes: 9 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ inputs:
Requires runner v5.3.0 or later. Defaults to 'false'.
required: false

experimental-memory-capture-stack:
description: |
[Experimental] Capture allocation call stacks in `memory` mode. Set to 'true' to enable.
Requires runner v5.4.0 or later. Defaults to 'false'.
required: false

config:
description: "Path to a CodSpeed configuration file (codspeed.yml). If not specified, the runner will look for a codspeed.yml file in the repository root."
required: false
Expand Down Expand Up @@ -311,6 +317,9 @@ runs:
if [ "${{ inputs.experimental-memory-track-physical }}" = "true" ]; then
RUNNER_ARGS+=(--experimental-memory-track-physical)
fi
if [ "${{ inputs.experimental-memory-capture-stack }}" = "true" ]; then
RUNNER_ARGS+=(--experimental-memory-capture-stack)
fi

if [ -n "$CODSPEED_INPUT_RUN" ]; then
RUNNER_ARGS+=(-- "$CODSPEED_INPUT_RUN")
Expand Down
Loading