Skip to content

Commit 553e98a

Browse files
committed
Add perf workflow that runs make perf-comparison
1 parent e1f8369 commit 553e98a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/perf.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: build
2+
on:
3+
push:
4+
branches: [ "master", "develop" ]
5+
pull_request:
6+
branches: [ "master", "develop" ]
7+
8+
jobs:
9+
performance:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Install GCC 11
13+
run: sudo apt update && sudo apt install -y gcc-11
14+
- name: Checkout repository
15+
uses: actions/checkout@v3
16+
- name: Build ranges binary
17+
run: make
18+
- name: Check that ranges is more than 20x faster than Python script
19+
run: make perf-comparison

0 commit comments

Comments
 (0)