Skip to content

Conversation

@mingxwa
Copy link
Member

@mingxwa mingxwa commented Mar 7, 2025

Example:

Environment

Operating System Kernel Version Architecture Compiler
MSVC on Windows Server Microsoft Windows Server 2025 Datacenter 10.0.26100 AMD64 Microsoft (R) C/C++ Optimizing Compiler Version 19.43.34808 for x64
GCC on Ubuntu Ubuntu 24.04.2 LTS 6.8.0-1021-azure x86_64 g++-14 (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0
Clang on Ubuntu Ubuntu 24.04.2 LTS 6.8.0-1021-azure x86_64 Ubuntu clang version 19.1.1 (1ubuntu1~24.04.2)
Apple Clang on macOS macOS 15.3.1 24.3.0 arm64 Apple clang version 16.0.0 (clang-1600.0.26.3)
NVIDIA HPC on Ubuntu Ubuntu 24.04.2 LTS 6.8.0-1021-azure x86_64 nvc++ 24.9-0 64-bit target on x86-64 Linux -tp znver3

Tested locally. No functional changes.

@mingxwa mingxwa requested review from Copilot, guominrui and tian-lt March 7, 2025 06:10
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.

PR Overview

This PR attaches build environment information to the benchmarking reports by adding steps in each CI workflow to dump the environment details into an output file and updating paths accordingly.

  • Add new steps to create a drop folder and dump environment info via scripts
  • Update benchmark execution commands to output results into the new drop folder
  • Modify artifact names/paths to reflect the changes

Reviewed Changes

File Description
.github/workflows/bvt-msvc.yml Adds cl.exe to PATH and a step to dump environment info; updates benchmark output path and artifact name
.github/workflows/bvt-appleclang.yml Introduces environment dump step and changes benchmark result path and artifact name
.github/workflows/bvt-gcc.yml Integrates a step to dump environment info and updates benchmarking artifact paths
.github/workflows/bvt-nvhpc.yml Adds environment info dump step and revises benchmark output and artifact naming
.github/workflows/bvt-clang.yml Inserts step to dump build environment and changes benchmark execution and artifact path

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

Comments suppressed due to low confidence (5)

.github/workflows/bvt-msvc.yml:24

  • [nitpick] Consider defining a variable for the 'build\drop' directory so that the folder path is maintained consistently and any future changes only require an update in one place.
mkdir build\drop > $null

.github/workflows/bvt-appleclang.yml:26

  • [nitpick] Consider abstracting the 'build/drop' directory path into a variable to reduce duplication and ease future maintenance.
mkdir build/drop

.github/workflows/bvt-gcc.yml:29

  • [nitpick] Consider defining a centralized variable for the build drop directory to ensure directory paths remain uniform and easier to update.
mkdir build/drop

.github/workflows/bvt-nvhpc.yml:29

  • [nitpick] Consider refactoring the drop folder creation into a reusable variable or step to maintain consistency across workflows.
mkdir build/drop

.github/workflows/bvt-clang.yml:29

  • [nitpick] Consider centralizing the definition of the 'build/drop' directory by using a variable, which can help prevent issues if the path needs updating in the future.
mkdir build/drop

tian-lt
tian-lt previously approved these changes Mar 7, 2025
@mingxwa mingxwa merged commit 4f6d5f9 into microsoft:main Mar 7, 2025
8 checks passed
@mingxwa mingxwa deleted the user/mingxwa/improve-benchmarking-report branch March 7, 2025 06:53
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