Skip to content

Commit

Permalink
Merge pull request #166 from c410-f3r/misc
Browse files Browse the repository at this point in the history
Add support for flow control
  • Loading branch information
c410-f3r authored May 8, 2024
2 parents fed950f + f177b61 commit dca01df
Show file tree
Hide file tree
Showing 42 changed files with 1,130 additions and 661 deletions.
27 changes: 19 additions & 8 deletions .github/workflows/bencher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- main
workflow_dispatch:

jobs:
benchmark_with_bencher:
Expand All @@ -11,12 +12,22 @@ jobs:
- uses: actions/checkout@v4
- uses: bencherdev/bencher@main
- name: Track Benchmarks with Bencher
continue-on-error: true
run: |
bencher run \
--branch main \
--err \
--project wtx \
--testbed ubuntu-latest \
--token "${{ secrets.BENCHER_API_TOKEN }}" \
"cargo bench --all-features"
set +e
set +o pipefail
function fun() {
bencher run \
--branch main \
--err \
--project wtx \
--testbed ubuntu-latest \
--token "${{ secrets.BENCHER_API_TOKEN }}" \
"cargo bench --all-features"
return $?
}
fun
echo $?
exit 0
3 changes: 1 addition & 2 deletions .scripts/internal-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
$rt rustfmt
$rt clippy

cargo miri test -p wtx
MIRIFLAGS="-Zmiri-tree-borrows" cargo miri test -p wtx

# WTX

Expand Down Expand Up @@ -98,5 +98,4 @@ cargo check --bin autobahn-server --features "async-send,flate2,optimization,poo

cargo check --example database-client-postgres-tokio-rustls --features "_tokio-rustls-client,postgres"
cargo check --example web-socket-client-raw-tokio-rustls --features "_tokio-rustls-client,web-socket-handshake"
cargo check --example web-socket-server-raw-tokio --features "async-send,pool,tokio,web-socket-handshake"
cargo check --example web-socket-server-raw-tokio-rustls --features "_tokio-rustls-server,web-socket-handshake"
Loading

0 comments on commit dca01df

Please sign in to comment.