Skip to content

Commit

Permalink
driver.mld: Benchmark building 'core'
Browse files Browse the repository at this point in the history
Currently, the benchmarks are running the driver with no extra work.
  • Loading branch information
Julow authored and jonludlam committed Nov 7, 2023
1 parent faeabe8 commit 036ba73
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ publish-docs:
test :
dune runtest

# ODOC_BENCHMARK=true will cause the driver to build a larger set of libraries
# containing more edge cases.
.PHONY : bench
bench:
@dune build @bench
@ODOC_BENCHMARK=true dune build @bench

.PHONY : coverage
coverage :
Expand Down
1 change: 1 addition & 0 deletions doc/driver.mld
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ let extra_deps = [
"base_quickcheck";
"ppx_sexp_conv";
"ppx_hash";
"core";
]

let dep_libraries =
Expand Down
1 change: 1 addition & 0 deletions doc/library_mlds/core.mld
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{0 core}
1 change: 1 addition & 0 deletions odoc-bench.opam
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ depends: [
"bos"
"yojson" {>= "1.6.0"}
"mdx" {>= "2.3.0"}
"core"
]

0 comments on commit 036ba73

Please sign in to comment.