2021-02-07 21:33:53 +01:00
|
|
|
name: Benchmark
|
2020-01-22 22:23:53 +01:00
|
|
|
|
2020-07-22 01:28:33 +02:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
2020-01-22 22:23:53 +01:00
|
|
|
|
2022-11-04 01:42:22 +01:00
|
|
|
permissions:
|
|
|
|
contents: read # to fetch code (actions/checkout)
|
|
|
|
|
2020-01-22 22:23:53 +01:00
|
|
|
jobs:
|
|
|
|
check_benchmark:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2020-08-13 09:04:50 +02:00
|
|
|
- uses: actions/checkout@v2
|
2020-01-22 22:23:53 +01:00
|
|
|
|
|
|
|
- name: Install Rust
|
|
|
|
uses: actions-rs/toolchain@v1
|
|
|
|
with:
|
|
|
|
toolchain: nightly
|
|
|
|
profile: minimal
|
|
|
|
override: true
|
|
|
|
|
|
|
|
- name: Check benchmark
|
|
|
|
uses: actions-rs/cargo@v1
|
|
|
|
with:
|
|
|
|
command: bench
|
2020-05-20 15:33:25 +02:00
|
|
|
args: --bench=server -- --sample-size=15
|