Implement FCPublish/releaseStream, AMF3 shared objects, HDR colorInfo, exvideo/exaudio write, and E-RTMP v2 reconnect #837
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: | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| bench: | |
| name: cargo bench | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| persist-credentials: false | |
| - name: Install dependencies | |
| run: sudo apt-get update && sudo apt-get install -y libssl-dev pkg-config | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Run protocol benchmarks | |
| run: | | |
| cargo bench --bench protocol --features default -- --sample-size 20 --noplot 2>&1 | tee bench-protocol.txt | |
| - name: Run relay benchmarks | |
| run: | | |
| cargo bench --bench relay --features default -- --sample-size 10 --noplot 2>&1 | tee bench-relay.txt | |
| - name: Upload benchmark output | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: librtmp2-benchmarks | |
| path: bench-*.txt |