feat(ffi): add bindings for listening to global send queue updates #1369
Workflow file for this run
This file contains hidden or 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: Benchmarks | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
benchmarks: | |
name: Run Benchmarks | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
benchmark: | |
- crypto_bench | |
- event_cache | |
- linked_chunk | |
- store_bench | |
- timeline | |
- room_list | |
steps: | |
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 | |
- name: Setup rust toolchain, cache and cargo-codspeed binary | |
uses: moonrepo/setup-rust@ede6de059f8046a5e236c94046823e2af11ca670 | |
with: | |
channel: stable | |
cache-target: release | |
bins: cargo-codspeed | |
- name: Build the benchmark target(s) | |
run: cargo codspeed build -p benchmarks --bench ${{ matrix.benchmark }} --features codspeed | |
- name: Run the benchmarks | |
uses: CodSpeedHQ/action@6b43a0cd438f6ca5ad26f9ed03ed159ed2df7da9 | |
with: | |
run: cargo codspeed run | |
mode: "instrumentation" | |
token: ${{ secrets.CODSPEED_TOKEN }} |