cache icon indicating copy to clipboard operation
cache copied to clipboard

Large performance impact when `ACTIONS_STEP_DEBUG` is enabled

Open billyvg opened this issue 4 years ago • 2 comments

There is a large performance impact when ACTIONS_STEP_DEBUG is enabled. I have a test repo here https://github.com/billyvg/test-actions-cache/runs/3236458097?check_suite_focus=true that compares actions/cache@v1 vs actions/cache@v2 with logging enabled vs disabled. The results (with a sample size of 1 here) are as follows:

- no logging w/ logging
v1 24s 31s
v2 8s 35s

Ideally, we'd want to always have ACTIONS_STEP_DEBUG enabled, so it'd be nice to have the option of completely suppressing the logging from actions/cache.

billyvg avatar Aug 04 '21 00:08 billyvg

It looks like this is more appropriate for the toolkit repo. I will keep this issue open as there may need to be changes in this repo to pass options along when restoring.

billyvg avatar Aug 04 '21 00:08 billyvg

ACTIONS_STEP_DEBUG

glock47 avatar Oct 28 '21 09:10 glock47

This issue is stale because it has been open for 200 days with no activity. Leave a comment to avoid closing this issue in 5 days.

github-actions[bot] avatar Jan 03 '24 08:01 github-actions[bot]

This issue was closed because it has been inactive for 5 days since being marked as stale.

github-actions[bot] avatar Jan 08 '24 08:01 github-actions[bot]