Skip to content

Commit 6d4097d

Browse files
committed
testing
1 parent 5db0bfa commit 6d4097d

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

bench.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ RUN opam install -y --deps-only ./js_of_ocaml-compiler.opam \
4242
# Prepare partial render table benchmark
4343
COPY --chown=opam:opam dune-project ./
4444
COPY --chown=opam:opam tools ./tools
45-
RUN opam exec -- dune exec tools/ci_setup.exe ../janestreet . \
45+
RUN opam pin add -n zarith_stubs_js 'git+https://github.com/OlivierNicole/zarith_stubs_js.git#js-strings' \
46+
&& opam exec -- dune exec tools/ci_setup.exe ../janestreet . \
4647
&& opam exec -- dune build --root ../janestreet --profile release lib/bonsai_web_components/partial_render_table/bench/bin/main.bc-for-jsoo \
4748
&& opam remove js_of_ocaml-compiler ojs \
4849
&& opam clean

benchmarks/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ bench:
1717
@date -u +"%FT%TZ - Installing dependencies"
1818
opam pin -yn --with-version=dev ..
1919
opam install -y wasm_of_ocaml-compiler js_of_ocaml-ppx gen_js_api brr
20-
$(MAKE) microbenchmarks
21-
$(MAKE) -C benchmark-fiat-crypto bench
22-
$(MAKE) -C benchmark-ocamlc bench
20+
#$(MAKE) microbenchmarks
21+
#$(MAKE) -C benchmark-fiat-crypto bench
22+
#$(MAKE) -C benchmark-ocamlc bench
2323
$(MAKE) -C benchmark-partial-render-table bench
24-
$(MAKE) -C benchmark-camlboy bench
24+
#$(MAKE) -C benchmark-camlboy bench
2525

2626
microbenchmarks:
2727
@date -u +"%FT%TZ - Microbenchmarks: starting"

benchmarks/benchmark-partial-render-table/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ bench:
1414
@date -u +"%FT%TZ - $(NAME): done"
1515

1616
perform:
17-
/usr/bin/time -f "%E %R" $(COMPILER) --debug times --opt 2 --pretty main.bc-for-jsoo -o out.js 2>&1 | \
17+
/usr/bin/time -f "%E %R" $(COMPILER) --debug times --opt 2 --pretty --enable use-js-string main.bc-for-jsoo -o out.js 2>&1 | \
1818
tee /dev/stderr | \
1919
ocaml -I +str str.cma ../utils/compilation_metrics.ml $(COMPILER) "$(NAME)" out.js | \
2020
sh ../utils/aggregate.sh $(KIND)

0 commit comments

Comments
 (0)