From 431591ffc24c5f4d6425678707f59e58ce672d44 Mon Sep 17 00:00:00 2001 From: Etienne Perot Date: Mon, 1 May 2023 17:24:00 -0700 Subject: [PATCH] Add `wrk2` Docker image for benchmarks. `wrk2` is a fork of `wrk` with finer-grained calibration and more statistics. It is not currently used in benchmarks. PiperOrigin-RevId: 528618354 --- images/benchmarks/wrk2/Dockerfile.x86_64 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 images/benchmarks/wrk2/Dockerfile.x86_64 diff --git a/images/benchmarks/wrk2/Dockerfile.x86_64 b/images/benchmarks/wrk2/Dockerfile.x86_64 new file mode 100644 index 000000000..fd701d831 --- /dev/null +++ b/images/benchmarks/wrk2/Dockerfile.x86_64 @@ -0,0 +1,11 @@ +FROM ubuntu:20.04 as build +RUN apt-get update && apt-get install -y git build-essential libssl-dev libz-dev +RUN git clone https://github.com/giltene/wrk2.git /tmp/wrk2 && cd /tmp/wrk2 && make + +FROM ubuntu:20.04 +RUN set -x \ + && apt-get update \ + && apt-get install -y \ + wget \ + && rm -rf /var/lib/apt/lists/* +COPY --from=build /tmp/wrk2/wrk /bin/wrk2