Skip to content

Commit

Permalink
Upgrade to multicore-bench 0.1.2
Browse files Browse the repository at this point in the history
The Stdlib benchmarks now live in multicore-bench.
  • Loading branch information
polytypic committed Mar 12, 2024
1 parent 611ee84 commit 969ddad
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 203 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[API reference](https://ocaml-multicore.github.io/kcas/doc/) ·
[Benchmarks](https://bench.ci.dev/ocaml-multicore/kcas/branch/main/benchmark/default)
[Benchmarks](https://bench.ci.dev/ocaml-multicore/kcas/branch/main) ·
[Stdlib Benchmarks](https://bench.ci.dev/ocaml-multicore/multicore-bench/branch/main)

<div align="center">

Expand Down
55 changes: 0 additions & 55 deletions bench/bench_atomic.ml

This file was deleted.

70 changes: 0 additions & 70 deletions bench/bench_ref.ml

This file was deleted.

72 changes: 0 additions & 72 deletions bench/bench_ref_mutex.ml

This file was deleted.

2 changes: 2 additions & 0 deletions bench/dune
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ let () =
(test
(name main)
(package kcas_data)
(action
(run %{test} -brief))
(libraries
kcas_data
multicore-bench
Expand Down
3 changes: 0 additions & 3 deletions bench/main.ml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
let benchmarks =
[
("Ref with [@poll error]", Bench_ref.run_suite);
("Ref with Mutex", Bench_ref_mutex.run_suite);
("Atomic", Bench_atomic.run_suite);
("Kcas Loc", Bench_loc.run_suite);
("Kcas Xt", Bench_xt.run_suite);
("Kcas Xt read-only", Bench_xt_ro.run_suite);
Expand Down
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
:with-test))
(multicore-bench
(and
(>= 0.1.1)
(>= 0.1.2)
:with-test))
(alcotest
(and
Expand Down
2 changes: 1 addition & 1 deletion kcas_data.opam
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ depends: [
"backoff" {>= "0.1.0" & with-test}
"domain-local-await" {>= "1.0.1" & with-test}
"domain_shims" {>= "0.1.0" & with-test}
"multicore-bench" {>= "0.1.1" & with-test}
"multicore-bench" {>= "0.1.2" & with-test}
"alcotest" {>= "1.7.0" & with-test}
"qcheck-core" {>= "0.21.2" & with-test}
"qcheck-stm" {>= "0.3" & with-test}
Expand Down

0 comments on commit 969ddad

Please # to comment.