Skip to content

Conversation

@not-matthias
Copy link
Member

Discovered this during the investigation of COD-1742 that we don't have the memory mapping logs inside runner.log. This information is very valuable to know where unsymbolicated addresses are located in memory.

It doesn't make much sense to check for debug mode here, because we won't show the debug logs if we're not in DEBUG mode.

@not-matthias not-matthias force-pushed the cod-1742-codspeed-go-flamegraph-not-shown-for-many-benchmarks branch from 15b5a9b to c84a798 Compare November 25, 2025 17:24
Copilot finished reviewing on behalf of not-matthias November 25, 2025 17:26
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes a redundant conditional check for debug mode when logging memory mappings, ensuring these valuable logs are always available for debugging unsymbolicated addresses.

Key Changes:

  • Removed is_codspeed_debug_enabled() check around memory mapping debug logs since the debug! macro already respects log level configuration
  • Updated test snapshots to use Git LFS storage for large binary content

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

File Description
src/run/runner/wall_time/perf/mod.rs Removed redundant debug mode check around memory mapping logs in process_memory_mappings function
src/run/runner/wall_time/perf/snapshots/*.snap Converted large snapshot files to use Git LFS storage format

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

Copy link
Contributor

@GuillaumeLagrange GuillaumeLagrange left a comment

Choose a reason for hiding this comment

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

lgtm

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.

3 participants