Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Commit 4cdb56c

Browse files
kanarusjoanhey
andauthored
[rust/ohkami] Fix broken benchmarks (#10776)
* [rust/ohkami-rt_nio] Marked as broken * fix ohkami rt_nio dependency version & db error handling * unmark rt_nio as broken --------- Co-authored-by: Joan Miquel <joanhey@kumbiaphp.com>
1 parent 8597fd9 commit 4cdb56c

19 files changed

Lines changed: 3677 additions & 2229 deletions

frameworks/Rust/ohkami/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
[package]
22
name = "framework_benchmarks"
3-
version = "0.24.0"
3+
version = "0.24.5"
44
edition = "2024"
5-
authors = ["kanarus <kanarus786@gmail.com>"]
5+
authors = ["kanarus <mail@kanarus.dev>"]
66

77
[dependencies]
88
ohkami = { version = "0.24" }
9-
tokio = { optional = true, version = "1.47", features = ["rt"] }
9+
tokio = { optional = true, version = "1.49", features = ["rt"] }
1010
tokio-postgres = { optional = true, version = "0.7" }
1111
yarte = { optional = true, version = "0.15" }
1212
futures-util = { optional = true, version = "0.3" }
13-
rand = { optional = true, version = "0.8", features = ["small_rng"] }
13+
rand = { optional = true, version = "0.10" }
1414

1515
[features]
1616
rt_tokio = ["ohkami/rt_tokio", "tokio", "tokio-postgres", "yarte", "futures-util", "rand"]

frameworks/Rust/ohkami/benchmark_config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"framework": "ohkami",
3+
"maintainers": ["kanarus"],
34
"tests": [
45
{
56
"default": {
Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
1-
FROM rust:1.89-slim-bookworm AS builder
1+
FROM rust:1.93-slim-trixie AS builder
22

33
RUN apt update && apt install -y --no-install-recommends \
44
pkg-config \
55
git \
66
&& rm -rf /var/lib/apt/lists/*
77

8-
COPY ./Cargo.toml /build/
9-
COPY ./src/ /build/src/
10-
COPY ./rt_glommio/ /build/rt_glommio/
11-
128
WORKDIR /build/rt_glommio
9+
COPY ./Cargo.toml /build/
10+
COPY ./src/ /build/src/
11+
COPY ./rt_glommio/ /build/rt_glommio/
1312
ENV RUSTFLAGS="-C target-cpu=native"
1413
RUN cargo build --release
1514

1615
##########################################################
1716

1817
FROM gcr.io/distroless/cc-debian12
19-
2018
COPY --from=builder /build/rt_glommio/target/release/framework_benchmarks-glommio /app/
21-
2219
EXPOSE 8000
2320
CMD [ "/app/framework_benchmarks-glommio" ]

0 commit comments

Comments
 (0)