This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
69
unikernel/duniverse/ocaml-caqti/benchmarks/dune
Normal file
69
unikernel/duniverse/ocaml-caqti/benchmarks/dune
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
; Singular benchmark
|
||||
|
||||
(executable
|
||||
(name benchmark_stream)
|
||||
(modules benchmark_stream)
|
||||
(libraries benchmark caqti caqti.platform lwt lwt.unix))
|
||||
|
||||
; Main benchmark suite with executables for concurrency flavours
|
||||
|
||||
(library
|
||||
(name benchmark_all)
|
||||
(flags (:standard -alert -caqti_unstable))
|
||||
(modules
|
||||
common
|
||||
benchmark_fetch_many
|
||||
benchmark_all)
|
||||
(libraries
|
||||
bechamel
|
||||
bechamel-notty
|
||||
caqti
|
||||
caqti.plugin
|
||||
notty.unix
|
||||
testlib))
|
||||
|
||||
(executable
|
||||
(name main_blocking)
|
||||
(modules main_blocking)
|
||||
(libraries
|
||||
benchmark_all
|
||||
caqti.blocking
|
||||
unix))
|
||||
|
||||
(executable
|
||||
(name main_eio_unix)
|
||||
(modules main_eio_unix)
|
||||
(enabled_if (>= %{ocaml_version} "5.0"))
|
||||
(libraries
|
||||
benchmark_all
|
||||
caqti-eio.unix
|
||||
caqti-tls-eio
|
||||
eio
|
||||
eio_main
|
||||
mirage-crypto-rng.unix))
|
||||
|
||||
(executable
|
||||
(name main_lwt_unix)
|
||||
(modules main_lwt_unix)
|
||||
(libraries
|
||||
benchmark_all
|
||||
caqti-lwt
|
||||
caqti-lwt.unix
|
||||
caqti-tls-lwt.unix
|
||||
lwt
|
||||
lwt.unix))
|
||||
|
||||
(executable
|
||||
(name main_miou_unix)
|
||||
(modules main_miou_unix)
|
||||
(libraries
|
||||
benchmark_all
|
||||
caqti-miou
|
||||
caqti_miou_unix
|
||||
caqti-tls-miou
|
||||
miou
|
||||
miou.unix
|
||||
mirage-crypto-rng-miou-unix
|
||||
threads))
|
||||
|
||||
; TODO: Can we run async under a benchamel test?
|
||||
Loading…
Add table
Add a link
Reference in a new issue