Skip to content

Commit

Permalink
Add wtx
Browse files Browse the repository at this point in the history
  • Loading branch information
c410-f3r committed Sep 4, 2024
1 parent 66229fa commit efb16da
Show file tree
Hide file tree
Showing 9 changed files with 702 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1356,6 +1356,42 @@ jobs:
GRPC_IMAGE_NAME: ${{ needs.set-image-name.outputs.name }}


rust_wtx_bench:
runs-on: ubuntu-latest
needs:
- set-image-name
- changed
if: fromJSON(needs.changed.outputs.base) || contains(needs.changed.outputs.files, 'rust_wtx_bench/')
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build rust_wtx_bench
run: ./build.sh rust_wtx_bench
env:
GRPC_IMAGE_NAME: ${{ needs.set-image-name.outputs.name }}

- name: Benchmark rust_wtx_bench
run: ./bench.sh rust_wtx_bench
env:
GRPC_BENCHMARK_DURATION: 30s
GRPC_IMAGE_NAME: ${{ needs.set-image-name.outputs.name }}

- if: github.ref == 'refs/heads/master'
name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- if: github.ref == 'refs/heads/master'
name: If on master push image to GHCR
run: docker push $GRPC_IMAGE_NAME:rust_wtx_bench-complex_proto
env:
GRPC_IMAGE_NAME: ${{ needs.set-image-name.outputs.name }}


scala_akka_bench:
runs-on: ubuntu-latest
needs:
Expand Down
2 changes: 2 additions & 0 deletions rust_wtx_bench/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build]
rustflags = [ "-C", "target-cpu=native" ]
Loading

0 comments on commit efb16da

Please sign in to comment.