Skip to content

Commit 5fa80a2

Browse files
authored
Merge branch 'master' into modernise-haskell-bench-ghc912
2 parents cb6ed5f + eadc5d0 commit 5fa80a2

20 files changed

Lines changed: 204 additions & 39 deletions

File tree

.github/workflows/build.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,6 +1464,42 @@ jobs:
14641464
GRPC_IMAGE_NAME: ${{ needs.set-image-name.outputs.name }}
14651465

14661466

1467+
scala_proteus_ox_bench:
1468+
runs-on: ubuntu-latest
1469+
needs:
1470+
- set-image-name
1471+
- changed
1472+
if: fromJSON(needs.changed.outputs.base) || contains(needs.changed.outputs.files, 'scala_proteus_ox_bench/')
1473+
steps:
1474+
- name: Checkout
1475+
uses: actions/checkout@v4
1476+
1477+
- name: Build scala_proteus_ox_bench
1478+
run: ./build.sh scala_proteus_ox_bench
1479+
env:
1480+
GRPC_IMAGE_NAME: ${{ needs.set-image-name.outputs.name }}
1481+
1482+
- name: Benchmark scala_proteus_ox_bench
1483+
run: ./bench.sh scala_proteus_ox_bench
1484+
env:
1485+
GRPC_BENCHMARK_DURATION: 30s
1486+
GRPC_IMAGE_NAME: ${{ needs.set-image-name.outputs.name }}
1487+
1488+
- if: github.ref == 'refs/heads/master'
1489+
name: Log in to GitHub Container Registry
1490+
uses: docker/login-action@v3
1491+
with:
1492+
registry: ghcr.io
1493+
username: ${{ github.actor }}
1494+
password: ${{ secrets.GITHUB_TOKEN }}
1495+
1496+
- if: github.ref == 'refs/heads/master'
1497+
name: If on master push image to GHCR
1498+
run: docker push $GRPC_IMAGE_NAME:scala_proteus_ox_bench-complex_proto
1499+
env:
1500+
GRPC_IMAGE_NAME: ${{ needs.set-image-name.outputs.name }}
1501+
1502+
14671503
scala_zio_bench:
14681504
runs-on: ubuntu-latest
14691505
needs:

.github/workflows/issue_bench.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
if: startsWith(github.event.issue.title, 'RUN BENCHMARK')
1111
steps:
1212
- name: Accept the task
13-
uses: peter-evans/create-or-update-comment@v4
13+
uses: peter-evans/create-or-update-comment@v5
1414
with:
1515
issue-number: ${{ github.event.issue.number }}
1616
body: |

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ payload/
99

1010
# Build output
1111
build/
12+
target/
13+
project/project/

cpp_grpc_mt_bench/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM gcc:15.2.0
1+
FROM gcc:16.1.0
22

33
RUN apt-get update && apt-get install -y protobuf-compiler protobuf-compiler-grpc libgrpc++-dev libjemalloc-dev
44

cpp_grpc_st_bench/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM gcc:15.2.0
1+
FROM gcc:16.1.0
22

33
RUN apt-get update && apt-get install -y protobuf-compiler protobuf-compiler-grpc libgrpc++-dev libjemalloc-dev
44

crystal_grpc_bench/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM crystallang/crystal:1.7.2
1+
FROM crystallang/crystal:1.20.1
22

33
WORKDIR /app
44
COPY crystal_grpc_bench /app

rust_pajamax_bench_onhold/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ path = "src/helloworld.rs"
1111

1212
[dependencies]
1313
pajamax = "0.2.0"
14-
prost = "0.13.5"
14+
prost = "0.14.3"
1515

1616
[build-dependencies]
17-
pajamax-build = "0.2.0"
17+
pajamax-build = "0.3.0"
1818
prost-build = "0.14.1"

rust_wtx_bench/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scala_pekko_bench/build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ name := "pekko-grpc-quickstart-scala"
22

33
version := "1.0"
44

5-
scalaVersion := "2.13.17"
5+
scalaVersion := "2.13.18"
66

77
run / fork := true
88

9-
val pekkoVersion = "1.2.1"
10-
val pekkoHttpVersion = "1.3.0"
9+
val pekkoVersion = "2.0.0-M1"
10+
val pekkoHttpVersion = "2.0.0-M1"
1111

1212
enablePlugins(PekkoGrpcPlugin)
1313

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
addSbtPlugin("org.apache.pekko" % "pekko-grpc-sbt-plugin" % "1.2.0")
1+
addSbtPlugin("org.apache.pekko" % "pekko-grpc-sbt-plugin" % "2.0.0-M1")
22

33
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.3.1")

0 commit comments

Comments
 (0)