File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
benchmark-partial-render-table Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ RUN opam install -y --deps-only ./js_of_ocaml-compiler.opam \
42
42
# Prepare partial render table benchmark
43
43
COPY --chown=opam:opam dune-project ./
44
44
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 . \
46
47
&& opam exec -- dune build --root ../janestreet --profile release lib/bonsai_web_components/partial_render_table/bench/bin/main.bc-for-jsoo \
47
48
&& opam remove js_of_ocaml-compiler ojs \
48
49
&& opam clean
Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ bench:
17
17
@date -u +" %FT%TZ - Installing dependencies"
18
18
opam pin -yn --with-version=dev ..
19
19
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
23
23
$(MAKE ) -C benchmark-partial-render-table bench
24
- $(MAKE ) -C benchmark-camlboy bench
24
+ # $(MAKE) -C benchmark-camlboy bench
25
25
26
26
microbenchmarks :
27
27
@date -u +" %FT%TZ - Microbenchmarks: starting"
Original file line number Diff line number Diff line change 14
14
@date -u +" %FT%TZ - $( NAME) : done"
15
15
16
16
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 | \
18
18
tee /dev/stderr | \
19
19
ocaml -I +str str.cma ../utils/compilation_metrics.ml $(COMPILER ) " $( NAME) " out.js | \
20
20
sh ../utils/aggregate.sh $(KIND )
You can’t perform that action at this time.
0 commit comments