Skip to content

fix: only show perf output at debug or trace level#87

Merged
not-matthias merged 1 commit intomainfrom
cod-979-redirect-perf-logs-to-file
Jun 11, 2025
Merged

fix: only show perf output at debug or trace level#87
not-matthias merged 1 commit intomainfrom
cod-979-redirect-perf-logs-to-file

Conversation

@not-matthias
Copy link
Member

No description provided.

@not-matthias not-matthias requested a review from art049 June 10, 2025 16:57
Copy link
Member

@art049 art049 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't we redirect the output to a log file we could send in the archive instead?
I think we're doing this with valgrind already: https://github.com/CodSpeedHQ/runner/blob/cbe1d74ed11ca205464595bae1a59e76a3754565/src/run/runner/valgrind/measure.rs#L107-L117

@not-matthias
Copy link
Member Author

not-matthias commented Jun 11, 2025

can't we redirect the output to a log file we could send in the archive instead? I think we're doing this with valgrind already:

Unfortunately there's no CLI argument that allows redirecting the output to a file (see man page for perf-record)

@not-matthias not-matthias requested a review from art049 June 11, 2025 08:01
@not-matthias not-matthias force-pushed the cod-979-redirect-perf-logs-to-file branch from 7073896 to 924ea15 Compare June 11, 2025 08:24
@not-matthias not-matthias merged commit 924ea15 into main Jun 11, 2025
9 checks passed
@not-matthias not-matthias deleted the cod-979-redirect-perf-logs-to-file branch June 11, 2025 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments