Skip to content

Commit 195b13a

Browse files
authored
Add performance chart steps for TLSF and System Malloc
Updated benchmark action steps to include TLSF Allocator and System Malloc performance charts with specific filtering.
1 parent 2d31370 commit 195b13a

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,29 @@ jobs:
4848
fi
4949
shell: bash
5050

51-
- name: Store benchmark result
51+
- name: TLSF Allocator Performance Chart
5252
uses: benchmark-action/github-action-benchmark@v1
5353
with:
54-
tool: 'googlecpp'
55-
output-file-path: ${{github.workspace}}/build/bin/benchmark_result.json
56-
github-token: ${{ secrets.GITHUB_TOKEN }}
57-
auto-push: true
54+
name: '^AllocatorFixture.*'
55+
tool: 'googlecpp'
56+
output-file-path: ${{github.workspace}}/build/bin/benchmark_result.json
57+
github-token: ${{ secrets.GITHUB_TOKEN }}
58+
gh-pages-branch: 'gh-pages'
59+
auto-push: true
60+
# ONLY RUNS ON UBUNTU: Prevents redundant pushes from the Windows job
61+
if: success() && matrix.os == 'ubuntu-latest'
62+
63+
# 2. System Malloc Performance Chart (The Baseline)
64+
# This step is explicitly filtered to only include tests starting with 'BM_System_Malloc'
65+
- name: System Malloc Performance (Baseline)
66+
uses: benchmark-action/github-action-benchmark@v1
67+
with:
68+
name: '^BM_System_Malloc.*'
69+
tool: 'googlecpp'
70+
output-file-path: ${{github.workspace}}/build/bin/benchmark_result.json
71+
github-token: ${{ secrets.GITHUB_TOKEN }}
72+
gh-pages-branch: 'gh-pages'
73+
auto-push: true
74+
# ONLY RUNS ON UBUNTU: Prevents redundant pushes from the Windows job
75+
if: success() && matrix.os == 'ubuntu-latest'
5876

0 commit comments

Comments
 (0)