Skip to content

Commit c203ae3

Browse files
committed
Add big-bertha in merl-an bench
1 parent 6d95435 commit c203ae3

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ promote:
1919
dune promote
2020

2121
bench:
22-
merl-an benchmark -p /projects/irmin -s 1 --data=merl-an_bench
22+
merl-an benchmark -p /projects/irmin,/projects/big-bertha -s 1 --data=merl-an_bench
2323
echo "Top 10 slowest queries:"
2424
jq -s "[ (map(.sample_id |= tostring)) + (map(.sample_id |= tostring)) | group_by(.sample_id)[] | select(length > 1) | add ] | sort_by( .responses[0].timing.clock) | reverse | .[:10]" merl-an_bench/query_responses.json merl-an_bench/commands.json
2525
echo "Benchmark result:"

bench.Dockerfile

+9-3
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,17 @@ WORKDIR /projects
2525

2626
# build irmin
2727
RUN git clone https://github.com/mirage/irmin.git
28-
WORKDIR /projects/irmin
29-
RUN sudo rm -rf examples/ test/
30-
RUN git checkout 421c09fa57784f155a3d6ad23e0ecc2c9cd0a352
3128
RUN sudo apt install -y gnuplot-x11 libgmp-dev pkg-config libffi-dev
3229
RUN opam switch import /app/bench/irmin.opam.export --no-checksums
30+
WORKDIR /projects/irmin
31+
RUN git checkout 421c09fa57784f155a3d6ad23e0ecc2c9cd0a352
32+
RUN sudo rm -rf examples/ test/
33+
RUN opam exec -- dune build
34+
35+
# build big-bertha
36+
WORKDIR /projects
37+
RUN git clone https://github.com/xvw/big-bertha.git
38+
WORKDIR /projects/big-bertha
3339
RUN opam exec -- dune build
3440

3541
WORKDIR /app

0 commit comments

Comments
 (0)