C++ Performance Profiler
Version updated for https://github.com/boxtob/cpp-perf-action to version v1.2.0.
- This action is used across all versions by ? repositories.
Go to the GitHub Marketplace to find the latest changes.
Release notes
C++ Performance Profiler Action – Release Notes v1.2.0
- Add support for ARM64 architecture (native – Apple Silicon, Graviton, Raspberry Pi)
Example Usage
x86_64 (standard runners)
- name: Run C++ Profiler (x86_64)
uses: boxtob/cpp-perf-action@v1.2.0
with:
binaries: build/test
apt-packages: libgl1-mesa-dev libglfw3-dev
ld-library-path: /workspace/libs
valgrind-memcheck: true
valgrind-callgrind: true
valgrind-cachegrind: true
gperftools: true
fail-on-leak: true
run-args: --verbose
- name: Upload Artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: profiling-results
path: ${{ steps.profiler.outputs.artifacts }}
ARM64 (native – Apple Silicon, Graviton, Raspberry Pi)
jobs:
profile-arm64:
runs-on: ubuntu-latest-arm64
steps:
- name: Run C++ Profiler (ARM64)
uses: boxtob/cpp-perf-action@v1.2.0
with:
binaries: test-arm64
run-args: --verbose
valgrind-memcheck: true
gperftools: true
- name: Upload Artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: profiling-results
path: ${{ steps.profiler.outputs.artifacts }}
Feedback Welcome!
Try it in a test branch. Report issues here:
https://github.com/boxtob/cpp-perf-action/issues
Contributors: @boxtob