Benchmarks #147
Workflow file for this run
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
name: bench | |
run-name: "Benchmarks" | |
on: [push, workflow_dispatch] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- 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@v4 | |
# - 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 |