2021-02-07 20:33:53 +00:00
|
|
|
name: Benchmark
|
2020-01-22 21:23:53 +00:00
|
|
|
|
2020-07-21 23:28:33 +00:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
types: [opened, synchronize, reopened]
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
2020-01-22 21:23:53 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
check_benchmark:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2020-08-13 07:04:50 +00:00
|
|
|
- uses: actions/checkout@v2
|
2020-01-22 21:23:53 +00: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 13:33:25 +00:00
|
|
|
args: --bench=server -- --sample-size=15
|