Skip to content

Commit c0b4b4a

Browse files
committed
Upgrade to multicore-bench 0.1.2
The Stdlib benchmarks now live in multicore-bench.
1 parent 91c5771 commit c0b4b4a

File tree

7 files changed

+6
-41
lines changed

7 files changed

+6
-41
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[API Reference](https://ocaml-multicore.github.io/saturn/) ·
2-
[Benchmarks](https://bench.ci.dev/ocaml-multicore/saturn/branch/main)
2+
[Benchmarks](https://bench.ci.dev/ocaml-multicore/saturn/branch/main) ·
3+
[Stdlib Benchmarks](https://bench.ci.dev/ocaml-multicore/multicore-bench/branch/main)
34

45
<!--
56
```ocaml

bench/bench_stdlib_queue.ml

Lines changed: 0 additions & 18 deletions
This file was deleted.

bench/bench_stdlib_stack.ml

Lines changed: 0 additions & 18 deletions
This file was deleted.

bench/dune

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ let () =
1010
(test
1111
(package saturn)
1212
(name main)
13+
(action
14+
(run %{test} -brief))
1315
(libraries saturn multicore-bench multicore-magic |}
1416
^ maybe_domain_shims ^ {| ))
1517
|}

bench/main.ml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ let benchmarks =
77
("Saturn_lockfree Skiplist", Bench_skiplist.run_suite);
88
("Saturn_lockfree Stack", Bench_stack.run_suite);
99
("Saturn_lockfree Work_stealing_deque", Bench_ws_deque.run_suite);
10-
("Stdlib Queue", Bench_stdlib_queue.run_suite);
11-
("Stdlib Stack", Bench_stdlib_stack.run_suite);
1210
]
1311

1412
let () = Multicore_bench.Cmd.run ~benchmarks ()

dune-project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
(domain_shims (and (>= 0.1.0) :with-test))
1616
(saturn_lockfree (= :version))
1717
(multicore-magic (and (>= 2.1.0) :with-test))
18-
(multicore-bench (and (>= 0.1.0) :with-test))
18+
(multicore-bench (and (>= 0.1.2) :with-test))
1919
(backoff (and (>= 0.1.0) :with-test))
2020
(alcotest (and (>= 1.7.0) :with-test))
2121
(qcheck (and (>= 0.21.3) :with-test))

saturn.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ depends: [
1414
"domain_shims" {>= "0.1.0" & with-test}
1515
"saturn_lockfree" {= version}
1616
"multicore-magic" {>= "2.1.0" & with-test}
17-
"multicore-bench" {>= "0.1.0" & with-test}
17+
"multicore-bench" {>= "0.1.2" & with-test}
1818
"backoff" {>= "0.1.0" & with-test}
1919
"alcotest" {>= "1.7.0" & with-test}
2020
"qcheck" {>= "0.21.3" & with-test}

0 commit comments

Comments
 (0)