forked from apache/arrow-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: coverage | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
row-format-bench: | ||
name: Row format bench | ||
runs-on: ubuntu-latest | ||
container: | ||
image: amd64/rust | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- name: Setup Rust toolchain | ||
uses: ./.github/actions/setup-builder | ||
- name: Install critcmp | ||
run: cargo install --force critcmp | ||
- name: Python-dev | ||
run: | | ||
apt-get update | ||
apt-get install -yq python3.11-dev | ||
- name: Benchmark branch | ||
run: | | ||
BRANCH_COMMIT=`git log -n1 --oneline` | ||
# cargo bench --all-features --bench row_format -- --save-baseline branch | ||
- name: Checkout master | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
ref: master | ||
- name: Benchmark master | ||
run: | | ||
MASTER_COMMIT=`git log -n1 --oneline` | ||
# cargo bench --all-features --bench row_format -- --save-baseline master | ||
- name: Compare | ||
run: | | ||
echo "Branch: $BRANCH_COMMIT" | ||
echo "Master: $MASTER_COMMIT" | ||
# critcmp master branch --color always |