mirror of
https://github.com/c-cube/iter.git
synced 2025-12-06 03:05:29 -05:00
put benchmark compilation into oasis
This commit is contained in:
parent
e1cbfedeab
commit
dcbee64684
3 changed files with 59 additions and 7005 deletions
6
Makefile
6
Makefile
|
|
@ -40,12 +40,6 @@ configure:
|
||||||
|
|
||||||
# OASIS_STOP
|
# OASIS_STOP
|
||||||
|
|
||||||
benchs: all
|
|
||||||
ocamlbuild -use-ocamlfind -pkg benchmark -pkg unix \
|
|
||||||
bench/benchs.native bench/simple_bench.native \
|
|
||||||
bench/bench_persistent.native \
|
|
||||||
bench/bench_persistent_read.native
|
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
ocamlbuild -use-ocamlfind -pkg oUnit tests/run_tests.native
|
ocamlbuild -use-ocamlfind -pkg oUnit tests/run_tests.native
|
||||||
|
|
||||||
|
|
|
||||||
28
_oasis
28
_oasis
|
|
@ -15,6 +15,10 @@ Description:
|
||||||
like `filter`, `map`, `take`, `drop` and `append` can be performed before the
|
like `filter`, `map`, `take`, `drop` and `append` can be performed before the
|
||||||
sequence is iterated/folded on.
|
sequence is iterated/folded on.
|
||||||
|
|
||||||
|
Flag bench
|
||||||
|
Description: enable benchmarks (require library Benchmark)
|
||||||
|
Default: false
|
||||||
|
|
||||||
Library "sequence"
|
Library "sequence"
|
||||||
Path: .
|
Path: .
|
||||||
Modules: Sequence
|
Modules: Sequence
|
||||||
|
|
@ -31,6 +35,30 @@ Test all
|
||||||
Type: custom
|
Type: custom
|
||||||
Command: make tests
|
Command: make tests
|
||||||
|
|
||||||
|
Executable benchs
|
||||||
|
Path: bench
|
||||||
|
Install: false
|
||||||
|
CompiledObject: native
|
||||||
|
Build$: flag(bench)
|
||||||
|
BuildDepends: sequence,benchmark
|
||||||
|
MainIs: benchs.ml
|
||||||
|
|
||||||
|
Executable bench_persistent
|
||||||
|
Path: bench
|
||||||
|
Install: false
|
||||||
|
CompiledObject: native
|
||||||
|
Build$: flag(bench)
|
||||||
|
BuildDepends: sequence,benchmark
|
||||||
|
MainIs: bench_persistent.ml
|
||||||
|
|
||||||
|
Executable bench_persistent_read
|
||||||
|
Path: bench
|
||||||
|
Install: false
|
||||||
|
CompiledObject: native
|
||||||
|
Build$: flag(bench)
|
||||||
|
BuildDepends: sequence,benchmark
|
||||||
|
MainIs: bench_persistent_read.ml
|
||||||
|
|
||||||
SourceRepository head
|
SourceRepository head
|
||||||
Type: git
|
Type: git
|
||||||
Location: https://github.com/c-cube/sequence
|
Location: https://github.com/c-cube/sequence
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue