Skip to content

Commit 036ba73

Browse files
Julowjonludlam
authored andcommitted
driver.mld: Benchmark building 'core'
Currently, the benchmarks are running the driver with no extra work.
1 parent faeabe8 commit 036ba73

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ publish-docs:
1313
test :
1414
dune runtest
1515

16+
# ODOC_BENCHMARK=true will cause the driver to build a larger set of libraries
17+
# containing more edge cases.
1618
.PHONY : bench
1719
bench:
18-
@dune build @bench
20+
@ODOC_BENCHMARK=true dune build @bench
1921

2022
.PHONY : coverage
2123
coverage :

doc/driver.mld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ let extra_deps = [
323323
"base_quickcheck";
324324
"ppx_sexp_conv";
325325
"ppx_hash";
326+
"core";
326327
]
327328

328329
let dep_libraries =

doc/library_mlds/core.mld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{0 core}

odoc-bench.opam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,5 @@ depends: [
4141
"bos"
4242
"yojson" {>= "1.6.0"}
4343
"mdx" {>= "2.3.0"}
44+
"core"
4445
]

0 commit comments

Comments
 (0)