Skip to content
Merged
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 @@ -97,6 +97,12 @@ GitHub Actions for running [CodSpeed](https://codspeed.io) in your CI.
# Set to "true" to enable. Requires runner v5.2.0 or later.
# Defaults to "false".
simulation-track-subprocess: ""

# [OPTIONAL]
# [Experimental] Track physical (resident) memory in `memory` mode. Set to "true" to
# enable. Requires runner v5.3.0 or later.
# Defaults to "false".
experimental-memory-track-physical: ""
```

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

experimental-memory-track-physical:
description: |
[Experimental] Track physical (resident) memory in `memory` mode. Set to 'true' to enable.
Requires runner v5.3.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 @@ -302,6 +308,10 @@ runs:
RUNNER_ARGS+=(--simulation-track-subprocess)
fi

if [ "${{ inputs.experimental-memory-track-physical }}" = "true" ]; then
RUNNER_ARGS+=(--experimental-memory-track-physical)
fi

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