diff --git a/README.md b/README.md index 6e936e4..f2d5649 100644 --- a/README.md +++ b/README.md @@ -99,10 +99,16 @@ GitHub Actions for running [CodSpeed](https://codspeed.io) in your CI. 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: "" + # Disable physical (resident) memory tracking in `memory` mode. + # Set to "true" to disable. Enabled by default on supported runners. + # Requires runner v5.4.0 or later. + disable-memory-track-physical: "" + + # [OPTIONAL] + # Disable allocation call stack capture in `memory` mode. + # Set to "true" to disable. Enabled by default on supported runners. + # Requires runner v5.4.0 or later. + disable-memory-capture-stack: "" ``` # Outputs diff --git a/action.yml b/action.yml index 4adc29f..0864e9e 100644 --- a/action.yml +++ b/action.yml @@ -97,10 +97,16 @@ inputs: Requires runner v5.2.0 or later. Defaults to 'false'. required: false - experimental-memory-track-physical: + disable-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'. + Disable physical (resident) memory tracking in `memory` mode. Set to 'true' to disable. + Requires runner v5.4.0 or later. Defaults to 'false' (tracking enabled). + required: false + + disable-memory-capture-stack: + description: | + Disable allocation call stack capture in `memory` mode. Set to 'true' to disable. + Requires runner v5.4.0 or later. Defaults to 'false' (capture enabled). required: false config: @@ -316,8 +322,11 @@ runs: RUNNER_ARGS+=(--simulation-track-subprocess) fi - if [ "${{ inputs.experimental-memory-track-physical }}" = "true" ]; then - RUNNER_ARGS+=(--experimental-memory-track-physical) + if [ "${{ inputs.disable-memory-track-physical }}" = "true" ]; then + RUNNER_ARGS+=(--disable-memory-track-physical) + fi + if [ "${{ inputs.disable-memory-capture-stack }}" = "true" ]; then + RUNNER_ARGS+=(--disable-memory-capture-stack) fi if [ -n "$CODSPEED_INPUT_RUN" ]; then