-
Notifications
You must be signed in to change notification settings - Fork 28
49 lines (34 loc) · 1.04 KB
/
benchmarks.yml
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
40
41
42
43
44
45
46
47
48
49
name: bench
run-name: "Benchmarks"
on: [push, workflow_dispatch]
env:
CARGO_TERM_COLOR: always
jobs:
ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Start RabbitMQ server
run: ./start_rabbitmq.sh
- name: run pub native
run: ./benchmarks/run_native.sh
- name: run pub criterion
run: ./benchmarks/run_criterion.sh
- name: run consume benchmark
run: ./benchmarks/run_consume_benchmark.sh
# #! issue with macos:
# #! - take long time to setup docker!
# #! - bench test take significantly much longer time!
# macos:
# runs-on: macos-11
# steps:
# - uses: actions/checkout@v3
# - uses: docker-practice/actions-setup-docker@master
# - name: Start RabbitMQ server
# run: ./start_rabbitmq.sh
# - name: run native executable
# run: ./benchmarks/run_native.sh
# - name: run bencher
# run: ./benchmarks/run_bench.sh
# - name: run criterion
# run: ./benchmarks/run_criterion.sh