-
-
Notifications
You must be signed in to change notification settings - Fork 26
39 lines (31 loc) · 744 Bytes
/
benchmark.yaml
File metadata and controls
39 lines (31 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Benchmark
on: [push, pull_request]
jobs:
test:
runs-on: ${{matrix.os}}-latest
strategy:
matrix:
os:
- ubuntu
ruby:
- head
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
bundler-cache: true
- name: Build extensions
timeout-minutes: 5
run: bundle exec bake build
- name: Install packages
timeout-minutes: 5
run: |
git clone https://github.com/ioquatix/wrk
cd wrk
make
- name: Run benchmarks
timeout-minutes: 5
env:
WRK: ./wrk/wrk
run: bundle exec bake -b benchmark/server/bake.rb