2025-06-26 08:08.30: New job: test ocaml-multicore/picos https://github.com/ocaml-multicore/picos.git#refs/heads/add-queue (5ccff961edd79574b3a091c3155e85486a7d2293) (linux-x86_64:alpine-3.21-5.3_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-5.3@sha256:3343dcc8eef8cc135210194424c75ebe26927358b1a48d0c3c0860cfe43df613
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/picos.git" -b "add-queue" && cd "picos" && git reset --hard 5ccff961
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-5.3@sha256:3343dcc8eef8cc135210194424c75ebe26927358b1a48d0c3c0860cfe43df613
# alpine-3.21-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 21b17a8f9847fdf52ae23be247cfbfd712e9e405 || git fetch origin master) && git reset -q --hard 21b17a8f9847fdf52ae23be247cfbfd712e9e405 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 picos_std.opam picos_mux.opam picos_meta.opam picos_lwt.opam picos_io_cohttp.opam picos_io.opam picos_aux.opam picos.opam ./
RUN opam pin add -yn picos_std.dev './' && \
opam pin add -yn picos_mux.dev './' && \
opam pin add -yn picos_meta.dev './' && \
opam pin add -yn picos_lwt.dev './' && \
opam pin add -yn picos_io_cohttp.dev './' && \
opam pin add -yn picos_io.dev './' && \
opam pin add -yn picos_aux.dev './' && \
opam pin add -yn picos.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 backoff.0.1.1 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs.1.0.1 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.1.1 cohttp-lwt.6.1.1 cohttp-lwt-unix.6.1.1 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-npm.1 conf-pkg-config.4 containers.3.16 cppo.1.8.0 csexp.1.5.2 digestif.1.3.0 domain-local-await.1.0.1 domain-name.0.4.1 domain_shims.0.1.0 dscheck.0.5.0 dune.3.19.1 dune-configurator.3.19.1 duration.0.2.1 either.1.0.0 eqaf.0.10 fmt.0.10.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 http.6.1.1 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.6.0.1 js_of_ocaml-compiler.6.0.1 kdf.1.0.0 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 magic-mime.1.3.1 mdx.2.5.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-crypto.2.0.1 mirage-crypto-ec.2.0.1 mirage-crypto-pk.2.0.1 mirage-crypto-rng.2.0.1 mtime.2.1.0 multicore-bench.0.1.7 multicore-magic.2.3.1 multicore-magic-dscheck.2.3.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 oseq.0.5.1 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.0 ppxlib.0.35.0 ppxlib_jane.v0.17.2 psq.0.2.1 ptime.1.2.0 qcheck-core.0.25 qcheck-multicoretests-util.0.8 qcheck-stm.0.8 re.1.12.0 result.1.5 rresult.0.7.0 sedlex.3.6 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 stringext.1.6.0 thread-local-storage.0.2 thread-table.1.0.0 topkg.1.0.8 tsort.2.2.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.4 x509.1.0.6 yojson.3.0.0 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y picos_std.dev picos_mux.dev picos_meta.dev picos_lwt.dev picos_io_cohttp.dev picos_io.dev picos_aux.dev picos.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-06-26 08:08.30: Using cache hint "ocaml-multicore/picos-ocaml/opam:alpine-3.21-ocaml-5.3@sha256:3343dcc8eef8cc135210194424c75ebe26927358b1a48d0c3c0860cfe43df613-alpine-3.21-5.3_opam-2.3-4e1841dd3f4157d1ea3bf252a3a19a17"
2025-06-26 08:08.30: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:3343dcc8eef8cc135210194424c75ebe26927358b1a48d0c3c0860cfe43df613)
(comment alpine-3.21-5.3_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 21b17a8f9847fdf52ae23be247cfbfd712e9e405 || git fetch origin master) && git reset -q --hard 21b17a8f9847fdf52ae23be247cfbfd712e9e405 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src picos_std.opam picos_mux.opam picos_meta.opam picos_lwt.opam picos_io_cohttp.opam picos_io.opam picos_aux.opam picos.opam)
(dst ./))
(run (network host)
(shell "opam pin add -yn picos_std.dev './' && \
\nopam pin add -yn picos_mux.dev './' && \
\nopam pin add -yn picos_meta.dev './' && \
\nopam pin add -yn picos_lwt.dev './' && \
\nopam pin add -yn picos_io_cohttp.dev './' && \
\nopam pin add -yn picos_io.dev './' && \
\nopam pin add -yn picos_aux.dev './' && \
\nopam pin add -yn picos.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.0 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 backoff.0.1.1 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs.1.0.1 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.1.1 cohttp-lwt.6.1.1 cohttp-lwt-unix.6.1.1 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-npm.1 conf-pkg-config.4 containers.3.16 cppo.1.8.0 csexp.1.5.2 digestif.1.3.0 domain-local-await.1.0.1 domain-name.0.4.1 domain_shims.0.1.0 dscheck.0.5.0 dune.3.19.1 dune-configurator.3.19.1 duration.0.2.1 either.1.0.0 eqaf.0.10 fmt.0.10.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 http.6.1.1 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.6.0.1 js_of_ocaml-compiler.6.0.1 kdf.1.0.0 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 magic-mime.1.3.1 mdx.2.5.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-crypto.2.0.1 mirage-crypto-ec.2.0.1 mirage-crypto-pk.2.0.1 mirage-crypto-rng.2.0.1 mtime.2.1.0 multicore-bench.0.1.7 multicore-magic.2.3.1 multicore-magic-dscheck.2.3.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 oseq.0.5.1 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.0 ppxlib.0.35.0 ppxlib_jane.v0.17.2 psq.0.2.1 ptime.1.2.0 qcheck-core.0.25 qcheck-multicoretests-util.0.8 qcheck-stm.0.8 re.1.12.0 result.1.5 rresult.0.7.0 sedlex.3.6 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 stringext.1.6.0 thread-local-storage.0.2 thread-table.1.0.0 topkg.1.0.8 tsort.2.2.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.4 x509.1.0.6 yojson.3.0.0 zarith.1.14")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y picos_std.dev picos_mux.dev picos_meta.dev picos_lwt.dev picos_io_cohttp.dev picos_io.dev picos_aux.dev picos.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-06-26 08:08.30: Waiting for resource in pool OCluster
2025-06-26 08:27.43: Waiting for worker…
2025-06-26 08:35.11: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 5ccff96 Add `Picos_std_sync.Queue`
(from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:3343dcc8eef8cc135210194424c75ebe26927358b1a48d0c3c0860cfe43df613)
2025-06-26 08:35.12 ---> using "3141b9cf5ba038771635d2742247938bc41e269100016f85aeafaf7cfcddc947" from cache
/: (comment alpine-3.21-5.3_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-26 08:35.12 ---> using "80b751ed47c43451e88cd0293ed9a635ccea08011eeda4114e7ec036c06c48a3" from cache
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-26 08:35.12 ---> using "6c30ca4e379a499434293ac7ae4ccb6757139c93d8bc5916b7557572123e5ba0" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-06-26 08:35.12 ---> using "a3df42546ff5706a2753d5e221aadf5e7ea87ec715342ceb488042e5402600c3" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-26 08:35.12 ---> using "17ab95ba4820eaae0552c498f14e3328c5320ed844b460f0519c8783adab646a" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 21b17a8f9847fdf52ae23be247cfbfd712e9e405 || git fetch origin master) && git reset -q --hard 21b17a8f9847fdf52ae23be247cfbfd712e9e405 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
bc726805e3..21b17a8f98 master -> origin/master
21b17a8f98 Merge pull request #28084 from smuenzel/ppxlib-jane-5.4
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-06-26 08:35.12 ---> using "bba952613080d65312b22eb17529ec1d98b9385834371cd6fa7427ddc4b63329" from cache
/src: (copy (src picos_std.opam picos_mux.opam picos_meta.opam picos_lwt.opam picos_io_cohttp.opam picos_io.opam picos_aux.opam picos.opam)
(dst ./))
2025-06-26 08:35.12 ---> using "8c49f9d6d8218910a0810d7cc652da3021512c549b147de1da645a9302755057" from cache
/src: (run (network host)
(shell "opam pin add -yn picos_std.dev './' && \
\nopam pin add -yn picos_mux.dev './' && \
\nopam pin add -yn picos_meta.dev './' && \
\nopam pin add -yn picos_lwt.dev './' && \
\nopam pin add -yn picos_io_cohttp.dev './' && \
\nopam pin add -yn picos_io.dev './' && \
\nopam pin add -yn picos_aux.dev './' && \
\nopam pin add -yn picos.dev './'"))
[picos_std.dev] synchronised (file:///src)
picos_std is now pinned to file:///src (version dev)
[picos_mux.dev] synchronised (file:///src)
picos_mux is now pinned to file:///src (version dev)
[picos_meta.dev] synchronised (file:///src)
picos_meta is now pinned to file:///src (version dev)
[picos_lwt.dev] synchronised (file:///src)
picos_lwt is now pinned to file:///src (version dev)
[picos_io_cohttp.dev] synchronised (file:///src)
picos_io_cohttp is now pinned to file:///src (version dev)
[picos_io.dev] synchronised (file:///src)
picos_io is now pinned to file:///src (version dev)
[picos_aux.dev] synchronised (file:///src)
picos_aux is now pinned to file:///src (version dev)
[picos.dev] synchronised (file:///src)
picos is now pinned to file:///src (version dev)
2025-06-26 08:35.12 ---> using "d63bf29be58a4959641e04cf224897afa68adee870a1837414b1d77d1eacfd6c" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-26 08:35.12 ---> using "2d1f7a6597f57630ec7a9028bb274ef10b202e3476d9ccf25d42acefb1a0efe9" from cache
/src: (env DEPS "alcotest.1.9.0 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 backoff.0.1.1 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs.1.0.1 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.1.1 cohttp-lwt.6.1.1 cohttp-lwt-unix.6.1.1 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-npm.1 conf-pkg-config.4 containers.3.16 cppo.1.8.0 csexp.1.5.2 digestif.1.3.0 domain-local-await.1.0.1 domain-name.0.4.1 domain_shims.0.1.0 dscheck.0.5.0 dune.3.19.1 dune-configurator.3.19.1 duration.0.2.1 either.1.0.0 eqaf.0.10 fmt.0.10.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 http.6.1.1 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.6.0.1 js_of_ocaml-compiler.6.0.1 kdf.1.0.0 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 magic-mime.1.3.1 mdx.2.5.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-crypto.2.0.1 mirage-crypto-ec.2.0.1 mirage-crypto-pk.2.0.1 mirage-crypto-rng.2.0.1 mtime.2.1.0 multicore-bench.0.1.7 multicore-magic.2.3.1 multicore-magic-dscheck.2.3.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 oseq.0.5.1 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.0 ppxlib.0.35.0 ppxlib_jane.v0.17.2 psq.0.2.1 ptime.1.2.0 qcheck-core.0.25 qcheck-multicoretests-util.0.8 qcheck-stm.0.8 re.1.12.0 result.1.5 rresult.0.7.0 sedlex.3.6 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 stringext.1.6.0 thread-local-storage.0.2 thread-table.1.0.0 topkg.1.0.8 tsort.2.2.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.4 x509.1.0.6 yojson.3.0.0 zarith.1.14")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y picos_std.dev picos_mux.dev picos_meta.dev picos_lwt.dev picos_io_cohttp.dev picos_io.dev picos_aux.dev picos.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.3-612-gd8580ac27b8 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-612-gd8580ac27b8 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v3.23.0_alpha20250612-852-gc444abf181f [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-855-gdcbe02546cc [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-848-g076e86f62ab [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 58837 distinct packages available
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[picos.dev] synchronised (file:///src)
[picos_aux.dev] synchronised (file:///src)
[picos_io.dev] synchronised (file:///src)
[picos_io_cohttp.dev] synchronised (file:///src)
[picos_lwt.dev] synchronised (file:///src)
[picos_meta.dev] synchronised (file:///src)
[picos_mux.dev] synchronised (file:///src)
[picos_std.dev] synchronised (file:///src)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following system packages will first need to be installed:
gmp-dev npm
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apk" "add" "gmp-dev" "npm"
- (1/9) Installing libgmpxx (6.3.0-r2)
- (2/9) Installing gmp-dev (6.3.0-r2)
- (3/9) Installing ada-libs (2.9.2-r1)
- (4/9) Installing icu-data-en (74.2-r0)
- Executing icu-data-en-74.2-r0.post-install
- *
- * If you need ICU with non-English locales and legacy charset support, install
- * package icu-data-full.
- *
- (5/9) Installing icu-libs (74.2-r0)
- (6/9) Installing simdjson (3.10.1-r0)
- (7/9) Installing simdutf (5.6.3-r0)
- (8/9) Installing nodejs (22.15.1-r0)
- (9/9) Installing npm (10.9.1-r0)
- Executing busybox-1.37.0-r12.trigger
- OK: 375 MiB in 111 packages
2025-06-26 08:35.12 ---> using "f1e9fb19292ce841a9986ea39f5343b778ada8b0028cd1663c86853c67c3fa9c" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 99 packages
- install alcotest 1.9.0
- install angstrom 0.16.1
- install asn1-combinators 0.3.2
- install astring 0.8.5
- install backoff 0.1.1
- install base v0.17.3
- install base-bytes base
- install base64 3.5.1
- install bigstringaf 0.10.0
- install bos 0.2.1
- install ca-certs 1.0.1
- install camlp-streams 5.0.1
- install cmdliner 1.3.0
- install cohttp 6.1.1
- install cohttp-lwt 6.1.1
- install cohttp-lwt-unix 6.1.1
- install conduit 8.0.0
- install conduit-lwt 8.0.0
- install conduit-lwt-unix 8.0.0
- install conf-gmp 5
- install conf-gmp-powm-sec 4
- install conf-npm 1
- install conf-pkg-config 4
- install containers 3.16
- install cppo 1.8.0
- install csexp 1.5.2
- install digestif 1.3.0
- install domain-local-await 1.0.1
- install domain-name 0.4.1
- install domain_shims 0.1.0
- install dscheck 0.5.0
- install dune 3.19.1
- install dune-configurator 3.19.1
- install duration 0.2.1
- install either 1.0.0
- install eqaf 0.10
- install fmt 0.10.0
- install fpath 0.7.3
- install gen 1.1
- install gmap 0.3.0
- install http 6.1.1
- install ipaddr 5.6.0
- install ipaddr-sexp 5.6.0
- install js_of_ocaml 6.0.1
- install js_of_ocaml-compiler 6.0.1
- install kdf 1.0.0
- install logs 0.8.0
- install lwt 5.9.1
- install macaddr 5.6.0
- install magic-mime 1.3.1
- install mdx 2.5.0
- install menhir 20240715
- install menhirCST 20240715
- install menhirLib 20240715
- install menhirSdk 20240715
- install mirage-crypto 2.0.1
- install mirage-crypto-ec 2.0.1
- install mirage-crypto-pk 2.0.1
- install mirage-crypto-rng 2.0.1
- install mtime 2.1.0
- install multicore-bench 0.1.7
- install multicore-magic 2.3.1
- install multicore-magic-dscheck 2.3.1
- install ocaml-compiler-libs v0.17.0
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 4.0.1
- install ocaml_intrinsics_kernel v0.17.1
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ocplib-endian 1.2
- install ohex 0.2.0
- install oseq 0.5.1
- install ppx_derivers 1.2.1
- install ppx_sexp_conv v0.17.0
- install ppxlib 0.35.0
- install ppxlib_jane v0.17.2
- install psq 0.2.1
- install ptime 1.2.0
- install qcheck-core 0.25
- install qcheck-multicoretests-util 0.8
- install qcheck-stm 0.8
- install re 1.12.0
- install result 1.5
- install rresult 0.7.0
- install sedlex 3.6
- install seq base
- install sexplib0 v0.17.0
- install stdlib-shims 0.3.0
- install stringext 1.6.0
- install thread-local-storage 0.2
- install thread-table 1.0.0
- install topkg 1.0.8
- install tsort 2.2.0
- install uri 4.4.0
- install uri-sexp 4.4.0
- install uutf 1.0.4
- install x509 1.0.6
- install yojson 3.0.0
- install zarith 1.14
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved asn1-combinators.0.3.2 (cached)
-> retrieved angstrom.0.16.1 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved backoff.0.1.1 (cached)
-> retrieved base64.3.5.1 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved alcotest.1.9.0 (cached)
-> retrieved base.v0.17.3 (cached)
-> retrieved bos.0.2.1 (cached)
-> retrieved ca-certs.1.0.1 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved conf-gmp.5 (cached)
-> retrieved conf-gmp-powm-sec.4 (cached)
-> retrieved conduit.8.0.0, conduit-lwt.8.0.0, conduit-lwt-unix.8.0.0 (cached)
-> retrieved cohttp.6.1.1, cohttp-lwt.6.1.1, cohttp-lwt-unix.6.1.1, http.6.1.1 (cached)
-> retrieved containers.3.16 (cached)
-> installed conf-gmp.5
-> installed conf-npm.1
-> installed conf-pkg-config.4
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-gmp-powm-sec.4
-> retrieved domain-local-await.1.0.1 (cached)
-> retrieved domain-name.0.4.1 (cached)
-> retrieved domain_shims.0.1.0 (cached)
-> retrieved dscheck.0.5.0 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved eqaf.0.10 (cached)
-> retrieved fmt.0.10.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved gen.1.1 (cached)
-> retrieved gmap.0.3.0 (cached)
-> retrieved ipaddr.5.6.0, ipaddr-sexp.5.6.0, macaddr.5.6.0 (cached)
-> retrieved digestif.1.3.0 (cached)
-> retrieved kdf.1.0.0 (cached)
-> retrieved logs.0.8.0 (cached)
-> retrieved lwt.5.9.1 (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1 (cached)
-> retrieved js_of_ocaml.6.0.1, js_of_ocaml-compiler.6.0.1 (cached)
-> retrieved magic-mime.1.3.1 (cached)
-> retrieved mdx.2.5.0 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved mtime.2.1.0 (cached)
-> installed cmdliner.1.3.0
-> retrieved multicore-bench.0.1.7 (cached)
-> retrieved multicore-magic.2.3.1, multicore-magic-dscheck.2.3.1 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.4.0.1 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved ohex.0.2.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved oseq.0.5.1 (cached)
-> retrieved ppx_sexp_conv.v0.17.0 (cached)
-> retrieved ppxlib_jane.v0.17.2 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved qcheck-core.0.25 (cached)
-> retrieved qcheck-multicoretests-util.0.8, qcheck-stm.0.8 (cached)
-> retrieved mirage-crypto.2.0.1, mirage-crypto-ec.2.0.1, mirage-crypto-pk.2.0.1, mirage-crypto-rng.2.0.1 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved rresult.0.7.0 (cached)
-> retrieved sedlex.3.6 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved stringext.1.6.0 (cached)
-> retrieved thread-local-storage.0.2 (cached)
-> retrieved thread-table.1.0.0 (cached)
-> retrieved tsort.2.2.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved uri.4.4.0, uri-sexp.4.4.0 (cached)
-> retrieved x509.1.0.6 (cached)
-> retrieved yojson.3.0.0 (cached)
-> retrieved zarith.1.14 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed zarith.1.14
-> installed topkg.1.0.8
-> installed rresult.0.7.0
-> installed mtime.2.1.0
-> installed uutf.1.0.4
-> installed ptime.1.2.0
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.19.1
-> installed backoff.0.1.1
-> installed base64.3.5.1
-> installed csexp.1.5.2
-> installed asn1-combinators.0.3.2
-> installed camlp-streams.5.0.1
-> installed domain-name.0.4.1
-> installed domain_shims.0.1.0
-> installed duration.0.2.1
-> installed either.1.0.0
-> installed eqaf.0.10
-> installed gen.1.1
-> installed gmap.0.3.0
-> installed http.6.1.1
-> installed macaddr.5.6.0
-> installed cppo.1.8.0
-> installed magic-mime.1.3.1
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed multicore-magic.2.3.1
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml-version.4.0.1
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ocaml-syntax-shims.1.0.0
-> installed ohex.0.2.0
-> installed oseq.0.5.1
-> installed ppx_derivers.1.2.1
-> installed psq.0.2.1
-> installed result.1.5
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed thread-local-storage.0.2
-> installed thread-table.1.0.0
-> installed tsort.2.2.0
-> installed yojson.3.0.0
-> installed ocplib-endian.1.2
-> installed re.1.12.0
-> installed ipaddr.5.6.0
-> installed qcheck-core.0.25
-> installed domain-local-await.1.0.1
-> installed digestif.1.3.0
-> installed qcheck-multicoretests-util.0.8
-> installed multicore-bench.0.1.7
-> installed alcotest.1.9.0
-> installed dune-configurator.3.19.1
-> installed qcheck-stm.0.8
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed containers.3.16
-> installed mirage-crypto.2.0.1
-> installed dscheck.0.5.0
-> installed kdf.1.0.0
-> installed multicore-magic-dscheck.2.3.1
-> installed uri.4.4.0
-> installed lwt.5.9.1
-> installed base.v0.17.3
-> installed menhir.20240715
-> installed ppxlib.0.35.0
-> installed ppxlib_jane.v0.17.2
-> installed sedlex.3.6
-> installed ppx_sexp_conv.v0.17.0
-> installed ipaddr-sexp.5.6.0
-> installed uri-sexp.4.4.0
-> installed js_of_ocaml-compiler.6.0.1
-> installed logs.0.8.0
-> installed mirage-crypto-rng.2.0.1
-> installed mirage-crypto-pk.2.0.1
-> installed conduit.8.0.0
-> installed mdx.2.5.0
-> installed cohttp.6.1.1
-> installed bos.0.2.1
-> installed conduit-lwt.8.0.0
-> installed cohttp-lwt.6.1.1
-> installed mirage-crypto-ec.2.0.1
-> installed x509.1.0.6
-> installed ca-certs.1.0.1
-> installed conduit-lwt-unix.8.0.0
-> installed cohttp-lwt-unix.6.1.1
-> installed js_of_ocaml.6.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-26 08:37.52 ---> saved as "b499e5e8eceb70d82953f7e9d2cf0fc908279ccb2de8cb482add5d3b72919d3c"
/src: (copy (src .) (dst /src))
2025-06-26 08:37.53 ---> saved as "f0e43bf7894b08a101840156670100386ee765a2c029aa32bcc4a988d9fbb123"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/example && ./guards.exe)
Testing with scheduler: fifos ~quota:35
Ran guarded case statement examples.
(cd _build/default/test && ./test_lwt_unix.exe)
Testing `Picos_lwt'.
This run has ID `9Y1DJ03L'.
[OK] Basics 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_lwt'.
Test Successful in 0.073s. 1 test run.
(cd _build/default/test && ./test_server_and_client.exe)
Using blocking sockets and fibers on OCaml 5:
Looping server running
Server listening
Server accepting
Client B running
Client B connected
Client B wrote 100
Server accepted client
Server read 100
Server wrote 50
Client A running
Client A connected
Client A wrote 100
Server accepting
Server accepted client
Client B read 50
Server read 100
Server wrote 50
Server accepting
Client A read 50
Server and Client test: OK
(cd _build/default/test && ./test_finally.exe)
Testing `Picos_finally'.
This run has ID `1S9HN2OV'.
[OK] move 0 is lazy.
[OK] borrow 0 returns resource.
Full test results in `/src/_build/default/test/_build/_tests/Picos_finally'.
Test Successful in 0.021s. 2 tests run.
(cd _build/default/test && ./test_io_with_lwt.exe)
Testing `Picos_io_with_lwt'.
This run has ID `TWVERKHC'.
[OK] Unix 0 system.
Full test results in `/src/_build/default/test/_build/_tests/Picos_io_with_lwt'.
Test Successful in 2.108s. 1 test run.
(cd _build/default/test && ./test_picos_lwt_unix_with_cohttp.exe)
Uri: //127.0.0.1:8000/hello-lwt
Method: GET
host: 127.0.0.1:8000
user-agent: ocaml-cohttp/v6.1.1
content-length: 0
Body:
(cd _build/default/test && ./test_structured.exe)
Testing `Picos_structured'.
This run has ID `SKHCLWFZ'.
[OK] Bundle 0 fork after terminate.
[OK] Bundle 1 fork after escape.
[OK] Bundle 2 exception in child terminates.
[OK] Bundle 3 cancelation awaits children.
[OK] Bundle 4 block raises when forbidden.
[OK] Bundle 5 block raises Sys_error when fiber finishes.
[OK] Bundle 6 termination nests.
[OK] Bundle 7 promise cancelation does not terminate.
[OK] Bundle 8 error in promise terminates.
[OK] Bundle 9 can wait promises.
[OK] Bundle 10 can select promises.
[OK] Run 0 any and all errors.
[OK] Run 1 any and all returns.
[OK] Run 2 race any.
Full test results in `/src/_build/default/test/_build/_tests/Picos_structured'.
Test Successful in 2.471s. 14 tests run.
(cd _build/default/test && ./test_sync.exe -- '^Mutex and Condition$' 0)
Testing `Picos_sync'.
This run has ID `DHNUUGJQ'.
[OK] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[SKIP] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Barrier 0 basics.
[SKIP] Barrier 1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 1.237s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- '^Mutex and Condition$' 1)
Testing `Picos_sync'.
This run has ID `B281CA98'.
[SKIP] Mutex and Condition 0 basics.
[OK] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[SKIP] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Barrier 0 basics.
[SKIP] Barrier 1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.013s. 1 test run.
(cd _build/default/test && ./test_io.exe)
Testing `Picos_io'.
This run has ID `GG37UTCH'.
[OK] Unix 0 openfile and read.
[OK] Unix 1 sleepf.
[OK] Unix 2 select empty timeout.
[OK] Unix 3 select empty ∞.
[OK] Unix 4 select.
[OK] Unix 5 system.
Full test results in `/src/_build/default/test/_build/_tests/Picos_io'.
Test Successful in 0.748s. 6 tests run.
(cd _build/default/test && ./test_select.exe)
Testing `Picos_select'.
This run has ID `M17OUS66'.
[OK] Intr 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_select'.
Test Successful in 9.125s. 1 test run.
(cd _build/default/test && ./test_io_cohttp.exe)
Uri: //127.0.0.1:35987/hello-io-cohttp
Method: POST
host: 127.0.0.1:35987
user-agent: ocaml-cohttp/v6.1.1
content-length: 17
Body: It's-a-Me, Picos!
(cd _build/default/test && ./test_picos_dscheck.exe)
Testing `Picos DSCheck'.
This run has ID `FTWU0G9C'.
[OK] Trigger 0 basic contract.
[OK] Computation 0 basic contract.
[OK] Computation 1 removes triggers.
Full test results in `/src/_build/default/test/_build/_tests/Picos DSCheck'.
Test Successful in 7.923s. 3 tests run.
(cd _build/default/test && ./test_sync.exe -- '^Mutex and Condition$' 2)
Testing `Picos_sync'.
This run has ID `FD083S61'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[OK] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[SKIP] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Barrier 0 basics.
[SKIP] Barrier 1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 13.030s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- '^Lock and Lock.Condition$' 0)
Testing `Picos_sync'.
This run has ID `EO15LPRJ'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[OK] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[SKIP] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Barrier 0 basics.
[SKIP] Barrier 1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.126s. 1 test run.
(cd _build/default/test && ./test_mpmcq_dscheck.exe)
Testing `Picos_mpmcq DSCheck'.
This run has ID `0B6HBSN3'.
[OK] Multiple pushes and pops 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_mpmcq DSCheck'.
Test Successful in 18.423s. 1 test run.
(cd _build/default/test && /usr/bin/node test_js_of_ocaml.bc.js)
Hello, from js_of_ocaml with Picos!
(cd _build/default/bench && ./main.exe -brief 'Picos Computation')
Picos Computation:
attach detach pairs over time/1 worker:
0.18 M/s
attach detach pairs over time/2 workers:
0.77 M/s
attach detach pairs over time/4 workers:
0.28 M/s
attach detach pairs over time/trivial:
0.39 M/s
time per attach detach pair/1 worker:
5415.94 ns
time per attach detach pair/2 workers:
2593.52 ns
time per attach detach pair/4 workers:
14039.41 ns
time per attach detach pair/trivial:
2578.15 ns
(cd _build/default/bench && ./main.exe -brief 'Picos Current')
Picos Current:
ops over time/1 worker:
1.62 M/s
ops over time/2 workers:
4.82 M/s
ops over time/4 workers:
3.86 M/s
time per op/1 worker:
617.48 ns
time per op/2 workers:
415.23 ns
time per op/4 workers:
1035.78 ns
(cd _build/default/test && ./test_picos.exe)
Testing `Picos'.
This run has ID `951L47TA'.
[OK] Trigger 0 basics.
[OK] Computation 0 basics.
[OK] Computation 1 tx.
[OK] Computation 2 signals in order.
[OK] Fiber.FLS 0 basics.
[OK] Cancel 0
[OK] Cancel after 0
Full test results in `/src/_build/default/test/_build/_tests/Picos'.
Test Successful in 60.396s. 7 tests run.
(cd _build/default/test && ./test_mpmcq.exe)
random seed: 2483836200439060467
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Mpmcq sequential
[ ] 0 0 0 0 / 32 0.0s Mpmcq sequential (generating)
[✓] 32 0 0 32 / 32 0.0s Mpmcq sequential
[ ] 0 0 0 0 / 32 0.0s Mpmcq parallel
[ ] 1 0 0 1 / 32 5.1s Mpmcq parallel
[ ] 2 0 0 2 / 32 6.9s Mpmcq parallel
[ ] 3 0 0 3 / 32 8.7s Mpmcq parallel
[ ] 4 0 0 4 / 32 10.7s Mpmcq parallel
[ ] 5 0 0 5 / 32 12.6s Mpmcq parallel
[ ] 6 0 0 6 / 32 13.9s Mpmcq parallel
[ ] 7 0 0 7 / 32 15.3s Mpmcq parallel
[ ] 8 0 0 8 / 32 16.7s Mpmcq parallel
[ ] 9 0 0 9 / 32 18.8s Mpmcq parallel
[ ] 10 0 0 10 / 32 20.5s Mpmcq parallel
[ ] 11 0 0 11 / 32 22.5s Mpmcq parallel
[ ] 12 0 0 12 / 32 23.9s Mpmcq parallel
[ ] 13 0 0 13 / 32 25.2s Mpmcq parallel
[ ] 14 0 0 14 / 32 26.0s Mpmcq parallel
[ ] 15 0 0 15 / 32 27.3s Mpmcq parallel
[ ] 16 0 0 16 / 32 28.4s Mpmcq parallel
[ ] 17 0 0 17 / 32 32.1s Mpmcq parallel
[ ] 18 0 0 18 / 32 32.8s Mpmcq parallel
[ ] 19 0 0 19 / 32 34.8s Mpmcq parallel
[ ] 20 0 0 20 / 32 36.6s Mpmcq parallel
[ ] 21 0 0 21 / 32 38.0s Mpmcq parallel
[ ] 22 0 0 22 / 32 39.9s Mpmcq parallel
[ ] 23 0 0 23 / 32 41.6s Mpmcq parallel
[ ] 24 0 0 24 / 32 43.2s Mpmcq parallel
[ ] 25 0 0 25 / 32 45.3s Mpmcq parallel
[ ] 26 0 0 26 / 32 47.0s Mpmcq parallel
[ ] 27 0 0 27 / 32 48.8s Mpmcq parallel
[ ] 28 0 0 28 / 32 50.5s Mpmcq parallel
[ ] 29 0 0 29 / 32 56.9s Mpmcq parallel
[ ] 30 0 0 30 / 32 58.2s Mpmcq parallel
[ ] 31 0 0 31 / 32 59.4s Mpmcq parallel
[ ] 32 0 0 32 / 32 61.0s Mpmcq parallel
[✓] 32 0 0 32 / 32 61.0s Mpmcq parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test && ./test_lock.exe)
random seed: 3481394469189065835
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Lock sequential
[ ] 0 0 0 0 / 32 0.0s Lock sequential (generating)
[✓] 32 0 0 32 / 32 0.0s Lock sequential
[ ] 0 0 0 0 / 32 0.0s Lock parallel
[ ] 1 0 0 1 / 32 3.6s Lock parallel
[ ] 2 0 0 2 / 32 5.6s Lock parallel
[ ] 3 0 0 3 / 32 7.4s Lock parallel
[ ] 4 0 0 4 / 32 8.9s Lock parallel
[ ] 5 0 0 5 / 32 10.5s Lock parallel
[ ] 6 0 0 6 / 32 12.8s Lock parallel
[ ] 7 0 0 7 / 32 14.0s Lock parallel
[ ] 8 0 0 8 / 32 15.6s Lock parallel
[ ] 9 0 0 9 / 32 17.3s Lock parallel
[ ] 10 0 0 10 / 32 18.9s Lock parallel
[ ] 11 0 0 11 / 32 21.0s Lock parallel
[ ] 12 0 0 12 / 32 22.8s Lock parallel
[ ] 13 0 0 13 / 32 24.4s Lock parallel
[ ] 14 0 0 14 / 32 25.8s Lock parallel
[ ] 15 0 0 15 / 32 28.9s Lock parallel
[ ] 16 0 0 16 / 32 30.1s Lock parallel
[ ] 17 0 0 17 / 32 33.5s Lock parallel
[ ] 18 0 0 18 / 32 35.4s Lock parallel
[ ] 19 0 0 19 / 32 36.8s Lock parallel
[ ] 20 0 0 20 / 32 38.6s Lock parallel
[ ] 21 0 0 21 / 32 42.2s Lock parallel
[ ] 22 0 0 22 / 32 44.2s Lock parallel
[ ] 23 0 0 23 / 32 46.7s Lock parallel
[ ] 24 0 0 24 / 32 48.5s Lock parallel
[ ] 25 0 0 25 / 32 49.9s Lock parallel
[ ] 26 0 0 26 / 32 51.1s Lock parallel
[ ] 27 0 0 27 / 32 52.5s Lock parallel
[ ] 28 0 0 28 / 32 54.0s Lock parallel
[ ] 29 0 0 29 / 32 55.3s Lock parallel
[ ] 30 0 0 30 / 32 57.3s Lock parallel
[ ] 31 0 0 31 / 32 59.1s Lock parallel
[ ] 32 0 0 32 / 32 60.7s Lock parallel
[✓] 32 0 0 32 / 32 60.7s Lock parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test && ./test_htbl.exe)
random seed: 3602634582614190983
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Htbl sequential
[ ] 0 0 0 0 / 32 0.0s Htbl sequential (generating)
[✓] 32 0 0 32 / 32 0.0s Htbl sequential
[ ] 0 0 0 0 / 32 0.0s Htbl parallel
[ ] 1 0 0 1 / 32 2.4s Htbl parallel
[ ] 2 0 0 2 / 32 5.0s Htbl parallel
[ ] 3 0 0 3 / 32 7.7s Htbl parallel
[ ] 4 0 0 4 / 32 9.6s Htbl parallel
[ ] 5 0 0 5 / 32 11.7s Htbl parallel
[ ] 6 0 0 6 / 32 13.5s Htbl parallel
[ ] 7 0 0 7 / 32 15.3s Htbl parallel
[ ] 8 0 0 8 / 32 16.4s Htbl parallel
[ ] 9 0 0 9 / 32 18.8s Htbl parallel
[ ] 10 0 0 10 / 32 20.4s Htbl parallel
[ ] 11 0 0 11 / 32 22.5s Htbl parallel
[ ] 12 0 0 12 / 32 24.0s Htbl parallel
[ ] 13 0 0 13 / 32 25.6s Htbl parallel
[ ] 14 0 0 14 / 32 26.8s Htbl parallel
[ ] 15 0 0 15 / 32 28.6s Htbl parallel
[ ] 16 0 0 16 / 32 30.3s Htbl parallel
[ ] 17 0 0 17 / 32 31.8s Htbl parallel
[ ] 18 0 0 18 / 32 32.9s Htbl parallel
[ ] 19 0 0 19 / 32 34.4s Htbl parallel
[ ] 20 0 0 20 / 32 35.9s Htbl parallel
[ ] 21 0 0 21 / 32 37.9s Htbl parallel
[ ] 22 0 0 22 / 32 39.5s Htbl parallel
[ ] 23 0 0 23 / 32 42.1s Htbl parallel
[ ] 24 0 0 24 / 32 44.1s Htbl parallel
[ ] 25 0 0 25 / 32 47.9s Htbl parallel
[ ] 26 0 0 26 / 32 52.2s Htbl parallel
[ ] 27 0 0 27 / 32 53.2s Htbl parallel
[ ] 28 0 0 28 / 32 55.1s Htbl parallel
[ ] 29 0 0 29 / 32 60.9s Htbl parallel
[ ] 30 0 0 30 / 32 62.4s Htbl parallel
[ ] 31 0 0 31 / 32 64.1s Htbl parallel
[ ] 32 0 0 32 / 32 65.7s Htbl parallel
[✓] 32 0 0 32 / 32 65.7s Htbl parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test && ./test_sem.exe)
random seed: 37160781768756539
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Sem sequential
[ ] 0 0 0 0 / 32 0.0s Sem sequential (generating)
[✓] 32 0 0 32 / 32 0.0s Sem sequential
[ ] 0 0 0 0 / 32 0.0s Sem parallel
[ ] 1 0 0 1 / 32 2.6s Sem parallel
[ ] 2 0 0 2 / 32 8.6s Sem parallel
[ ] 3 0 0 3 / 32 10.4s Sem parallel
[ ] 4 0 0 4 / 32 11.9s Sem parallel
[ ] 5 0 0 5 / 32 13.4s Sem parallel
[ ] 6 0 0 6 / 32 16.1s Sem parallel
[ ] 7 0 0 7 / 32 17.6s Sem parallel
[ ] 8 0 0 8 / 32 18.7s Sem parallel
[ ] 9 0 0 9 / 32 20.0s Sem parallel
[ ] 10 0 0 10 / 32 21.3s Sem parallel
[ ] 11 0 0 11 / 32 23.0s Sem parallel
[ ] 12 0 0 12 / 32 24.1s Sem parallel
[ ] 13 0 0 13 / 32 25.2s Sem parallel
[ ] 14 0 0 14 / 32 27.1s Sem parallel
[ ] 15 0 0 15 / 32 28.6s Sem parallel
[ ] 16 0 0 16 / 32 33.7s Sem parallel
[ ] 17 0 0 17 / 32 35.0s Sem parallel
[ ] 18 0 0 18 / 32 36.2s Sem parallel
[ ] 19 0 0 19 / 32 37.7s Sem parallel
[ ] 20 0 0 20 / 32 38.8s Sem parallel
[ ] 21 0 0 21 / 32 40.1s Sem parallel
[ ] 22 0 0 22 / 32 41.1s Sem parallel
[ ] 23 0 0 23 / 32 42.3s Sem parallel
[ ] 24 0 0 24 / 32 43.4s Sem parallel
[ ] 25 0 0 25 / 32 44.8s Sem parallel
[ ] 26 0 0 26 / 32 45.9s Sem parallel
[ ] 27 0 0 27 / 32 47.3s Sem parallel
[ ] 28 0 0 28 / 32 48.4s Sem parallel
[ ] 29 0 0 29 / 32 55.1s Sem parallel
[ ] 30 0 0 30 / 32 58.2s Sem parallel
[ ] 31 0 0 31 / 32 60.0s Sem parallel
[ ] 32 0 0 32 / 32 66.1s Sem parallel
[✓] 32 0 0 32 / 32 66.1s Sem parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test && ./test_schedulers.exe)
Testing with scheduler: multififos ~quota:2 ~n_domains:63
Fairness of 100 fibers performing at least 10000 yields:
sd: 0.183561 -- ideally 0
mean: 1.396890 -- ideally 1
median: 1.414500 -- ideally 1
Testing `Picos schedulers'.
This run has ID `SMASGTYY'.
[OK] Trivial main returns 0
[OK] Scheduler completes main computation 0
[OK] Current 0
[OK] Cancel_after 0 basic.
[OK] Cancel_after 1 long timeout.
[OK] Operation on canceled fiber raises 0
[OK] Cross scheduler wakeup 0
[OK] Fatal exception terminates scheduler 0
Full test results in `/src/_build/default/test/_build/_tests/Picos schedulers'.
Test Successful in 60.333s. 8 tests run.
(cd _build/default/bench && ./main.exe -brief 'Picos FLS (excluding Current)')
Picos FLS (excluding Current):
gets over time/1 worker:
73.12 M/s
gets over time/2 workers:
33.86 M/s
gets over time/4 workers:
42.39 M/s
sets over time/1 worker:
10.86 M/s
sets over time/2 workers:
29.22 M/s
sets over time/4 workers:
38.69 M/s
time per get/1 worker:
13.68 ns
time per get/2 workers:
59.07 ns
time per get/4 workers:
94.36 ns
time per set/1 worker:
92.10 ns
time per set/2 workers:
68.45 ns
time per set/4 workers:
103.39 ns
(cd _build/default/test && ./test_sync.exe -- '^Lock and Lock.Condition$' 1)
Testing `Picos_sync'.
This run has ID `HP20IJIA'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[OK] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[SKIP] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Barrier 0 basics.
[SKIP] Barrier 1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 60.254s. 1 test run.
Mutex cancelation steps: [1607300, 1607289, 783212, 824077, 11]
(cd _build/default/test && ./test_sync.exe -- '^Lock and Lock.Condition$' 2)
Testing `Picos_sync'.
This run has ID `BEL5E11T'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[OK] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[SKIP] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Barrier 0 basics.
[SKIP] Barrier 1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.169s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- '^Lock and Lock.Condition$' 3)
Testing `Picos_sync'.
This run has ID `9URAO351'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[OK] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[SKIP] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Barrier 0 basics.
[SKIP] Barrier 1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.024s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- '^Rwlock and Rwlock.Condition$' 0)
Testing `Picos_sync'.
This run has ID `9HLLHJW7'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[OK] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[SKIP] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Barrier 0 basics.
[SKIP] Barrier 1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.101s. 1 test run.
(cd _build/default/bench && ./main.exe -brief 'Picos TLS')
Picos TLS:
gets over time/1 worker:
12.70 M/s
gets over time/2 workers:
20.20 M/s
gets over time/4 workers:
39.38 M/s
sets over time/1 worker:
21.42 M/s
sets over time/2 workers:
14.30 M/s
sets over time/4 workers:
13.26 M/s
time per get/1 worker:
78.73 ns
time per get/2 workers:
99.01 ns
time per get/4 workers:
101.57 ns
time per set/1 worker:
46.69 ns
time per set/2 workers:
139.84 ns
time per set/4 workers:
301.63 ns
(cd _build/default/test && ./test_sync_queue.exe)
random seed: 3945873359553087841
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Picos_std_sync.Queue sequential
[ ] 0 0 0 0 / 32 0.0s Picos_std_sync.Queue sequential (generating)
[✓] 32 0 0 32 / 32 0.0s Picos_std_sync.Queue sequential
[ ] 0 0 0 0 / 32 0.0s Picos_std_sync.Queue parallel
[ ] 1 0 0 1 / 32 1.8s Picos_std_sync.Queue parallel
[ ] 2 0 0 2 / 32 4.0s Picos_std_sync.Queue parallel
[ ] 3 0 0 3 / 32 6.6s Picos_std_sync.Queue parallel
[ ] 4 0 0 4 / 32 8.6s Picos_std_sync.Queue parallel
[ ] 5 0 0 5 / 32 10.0s Picos_std_sync.Queue parallel
[ ] 6 0 0 6 / 32 11.9s Picos_std_sync.Queue parallel
[ ] 7 0 0 7 / 32 13.8s Picos_std_sync.Queue parallel
[ ] 8 0 0 8 / 32 15.6s Picos_std_sync.Queue parallel
[ ] 9 0 0 9 / 32 17.2s Picos_std_sync.Queue parallel
[ ] 10 0 0 10 / 32 19.0s Picos_std_sync.Queue parallel
[ ] 11 0 0 11 / 32 21.1s Picos_std_sync.Queue parallel
[ ] 12 0 0 12 / 32 22.9s Picos_std_sync.Queue parallel
[ ] 13 0 0 13 / 32 25.3s Picos_std_sync.Queue parallel
[ ] 14 0 0 14 / 32 27.2s Picos_std_sync.Queue parallel
[ ] 15 0 0 15 / 32 28.5s Picos_std_sync.Queue parallel
[ ] 16 0 0 16 / 32 30.1s Picos_std_sync.Queue parallel
[ ] 17 0 0 17 / 32 31.2s Picos_std_sync.Queue parallel
[ ] 18 0 0 18 / 32 34.9s Picos_std_sync.Queue parallel
[ ] 19 0 0 19 / 32 36.2s Picos_std_sync.Queue parallel
[ ] 20 0 0 20 / 32 37.9s Picos_std_sync.Queue parallel
[ ] 21 0 0 21 / 32 39.6s Picos_std_sync.Queue parallel
[ ] 22 0 0 22 / 32 41.0s Picos_std_sync.Queue parallel
[ ] 23 0 0 23 / 32 43.0s Picos_std_sync.Queue parallel
[ ] 24 0 0 24 / 32 44.5s Picos_std_sync.Queue parallel
[ ] 25 0 0 25 / 32 46.0s Picos_std_sync.Queue parallel
[ ] 26 0 0 26 / 32 48.2s Picos_std_sync.Queue parallel
[ ] 27 0 0 27 / 32 49.9s Picos_std_sync.Queue parallel
[ ] 28 0 0 28 / 32 51.4s Picos_std_sync.Queue parallel
[ ] 29 0 0 29 / 32 52.7s Picos_std_sync.Queue parallel
[ ] 30 0 0 30 / 32 53.9s Picos_std_sync.Queue parallel
[ ] 31 0 0 31 / 32 54.8s Picos_std_sync.Queue parallel
[ ] 32 0 0 32 / 32 56.2s Picos_std_sync.Queue parallel
[✓] 32 0 0 32 / 32 56.2s Picos_std_sync.Queue parallel
================================================================================
success (ran 2 tests)
random seed: 1006231737677914608
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Picos_std_sync.Queue sequential
[✓] 32 0 0 32 / 32 0.0s Picos_std_sync.Queue sequential
[ ] 0 0 0 0 / 32 0.0s Picos_std_sync.Queue parallel
[ ] 1 0 0 1 / 32 0.9s Picos_std_sync.Queue parallel
[ ] 2 0 0 2 / 32 3.2s Picos_std_sync.Queue parallel
[ ] 3 0 0 3 / 32 4.8s Picos_std_sync.Queue parallel
[ ] 4 0 0 4 / 32 7.2s Picos_std_sync.Queue parallel
[ ] 5 0 0 5 / 32 8.6s Picos_std_sync.Queue parallel
[ ] 6 0 0 6 / 32 10.2s Picos_std_sync.Queue parallel
[ ] 7 0 0 7 / 32 11.4s Picos_std_sync.Queue parallel
[ ] 8 0 0 8 / 32 12.6s Picos_std_sync.Queue parallel
[ ] 9 0 0 9 / 32 13.7s Picos_std_sync.Queue parallel
[ ] 10 0 0 10 / 32 14.8s Picos_std_sync.Queue parallel
[ ] 11 0 0 11 / 32 16.0s Picos_std_sync.Queue parallel
[ ] 12 0 0 12 / 32 17.0s Picos_std_sync.Queue parallel
[ ] 13 0 0 13 / 32 18.0s Picos_std_sync.Queue parallel
[ ] 14 0 0 14 / 32 19.0s Picos_std_sync.Queue parallel
[ ] 15 0 0 15 / 32 20.1s Picos_std_sync.Queue parallel
[ ] 16 0 0 16 / 32 20.9s Picos_std_sync.Queue parallel
[ ] 17 0 0 17 / 32 22.1s Picos_std_sync.Queue parallel
[ ] 18 0 0 18 / 32 23.0s Picos_std_sync.Queue parallel
[ ] 19 0 0 19 / 32 24.9s Picos_std_sync.Queue parallel
[ ] 20 0 0 20 / 32 26.3s Picos_std_sync.Queue parallel
[ ] 21 0 0 21 / 32 27.3s Picos_std_sync.Queue parallel
[ ] 22 0 0 22 / 32 28.2s Picos_std_sync.Queue parallel
[ ] 23 0 0 23 / 32 29.8s Picos_std_sync.Queue parallel
[ ] 24 0 0 24 / 32 31.5s Picos_std_sync.Queue parallel
[ ] 25 0 0 25 / 32 33.5s Picos_std_sync.Queue parallel
[ ] 26 0 0 26 / 32 34.8s Picos_std_sync.Queue parallel
[ ] 27 0 0 27 / 32 36.0s Picos_std_sync.Queue parallel
[ ] 28 0 0 28 / 32 37.2s Picos_std_sync.Queue parallel
[ ] 29 0 0 29 / 32 38.3s Picos_std_sync.Queue parallel
[ ] 30 0 0 30 / 32 39.8s Picos_std_sync.Queue parallel
[ ] 31 0 0 31 / 32 41.6s Picos_std_sync.Queue parallel
[ ] 32 0 0 32 / 32 42.9s Picos_std_sync.Queue parallel
[✓] 32 0 0 32 / 32 42.9s Picos_std_sync.Queue parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test && ./test_mutex.exe)
random seed: 28817321005284032
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Mutex sequential
[ ] 0 0 0 0 / 32 0.0s Mutex sequential (generating)
[✓] 32 0 0 32 / 32 0.0s Mutex sequential
[ ] 0 0 0 0 / 32 0.0s Mutex parallel
[ ] 1 0 0 1 / 32 1.8s Mutex parallel
[ ] 2 0 0 2 / 32 4.4s Mutex parallel
[ ] 3 0 0 3 / 32 7.1s Mutex parallel
[ ] 4 0 0 4 / 32 9.1s Mutex parallel
[ ] 5 0 0 5 / 32 11.2s Mutex parallel
[ ] 6 0 0 6 / 32 13.1s Mutex parallel
[ ] 7 0 0 7 / 32 15.2s Mutex parallel
[ ] 8 0 0 8 / 32 17.0s Mutex parallel
[ ] 9 0 0 9 / 32 18.9s Mutex parallel
[ ] 10 0 0 10 / 32 20.6s Mutex parallel
[ ] 11 0 0 11 / 32 22.3s Mutex parallel
[ ] 12 0 0 12 / 32 24.3s Mutex parallel
[ ] 13 0 0 13 / 32 25.8s Mutex parallel
[ ] 14 0 0 14 / 32 27.2s Mutex parallel
[ ] 15 0 0 15 / 32 28.8s Mutex parallel
[ ] 16 0 0 16 / 32 30.2s Mutex parallel
[ ] 17 0 0 17 / 32 32.0s Mutex parallel
[ ] 18 0 0 18 / 32 33.4s Mutex parallel
[ ] 19 0 0 19 / 32 34.5s Mutex parallel
[ ] 20 0 0 20 / 32 35.8s Mutex parallel
[ ] 21 0 0 21 / 32 36.9s Mutex parallel
[ ] 22 0 0 22 / 32 38.9s Mutex parallel
[ ] 23 0 0 23 / 32 40.1s Mutex parallel
[ ] 24 0 0 24 / 32 42.1s Mutex parallel
[ ] 25 0 0 25 / 32 43.6s Mutex parallel
[ ] 26 0 0 26 / 32 45.6s Mutex parallel
[ ] 27 0 0 27 / 32 48.8s Mutex parallel
[ ] 28 0 0 28 / 32 50.2s Mutex parallel
[ ] 29 0 0 29 / 32 51.5s Mutex parallel
[ ] 30 0 0 30 / 32 52.9s Mutex parallel
[ ] 31 0 0 31 / 32 54.9s Mutex parallel
[ ] 32 0 0 32 / 32 56.7s Mutex parallel
[✓] 32 0 0 32 / 32 56.7s Mutex parallel
================================================================================
success (ran 2 tests)
random seed: 2248544748842044598
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Mutex sequential
[✓] 32 0 0 32 / 32 0.0s Mutex sequential
[ ] 0 0 0 0 / 32 0.0s Mutex parallel
[ ] 1 0 0 1 / 32 1.1s Mutex parallel
[ ] 2 0 0 2 / 32 2.2s Mutex parallel
[ ] 3 0 0 3 / 32 3.9s Mutex parallel
[ ] 4 0 0 4 / 32 5.5s Mutex parallel
[ ] 5 0 0 5 / 32 7.3s Mutex parallel
[ ] 6 0 0 6 / 32 8.6s Mutex parallel
[ ] 7 0 0 7 / 32 10.2s Mutex parallel
[ ] 8 0 0 8 / 32 12.1s Mutex parallel
[ ] 9 0 0 9 / 32 14.2s Mutex parallel
[ ] 10 0 0 10 / 32 15.5s Mutex parallel
[ ] 11 0 0 11 / 32 17.0s Mutex parallel
[ ] 12 0 0 12 / 32 18.2s Mutex parallel
[ ] 13 0 0 13 / 32 19.3s Mutex parallel
[ ] 14 0 0 14 / 32 20.4s Mutex parallel
[ ] 15 0 0 15 / 32 21.7s Mutex parallel
[ ] 16 0 0 16 / 32 23.1s Mutex parallel
[ ] 17 0 0 17 / 32 24.7s Mutex parallel
[ ] 18 0 0 18 / 32 25.5s Mutex parallel
[ ] 19 0 0 19 / 32 27.6s Mutex parallel
[ ] 20 0 0 20 / 32 29.5s Mutex parallel
[ ] 21 0 0 21 / 32 30.9s Mutex parallel
[ ] 22 0 0 22 / 32 31.9s Mutex parallel
[ ] 23 0 0 23 / 32 34.3s Mutex parallel
[ ] 24 0 0 24 / 32 38.0s Mutex parallel
[ ] 25 0 0 25 / 32 39.1s Mutex parallel
[ ] 26 0 0 26 / 32 40.1s Mutex parallel
[ ] 27 0 0 27 / 32 41.3s Mutex parallel
[ ] 28 0 0 28 / 32 42.5s Mutex parallel
[ ] 29 0 0 29 / 32 43.5s Mutex parallel
[ ] 30 0 0 30 / 32 44.2s Mutex parallel
[ ] 31 0 0 31 / 32 45.7s Mutex parallel
[ ] 32 0 0 32 / 32 46.8s Mutex parallel
[✓] 32 0 0 32 / 32 46.8s Mutex parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test && ./test_rwlock.exe)
random seed: 941739630444711737
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Rwlock sequential
[ ] 0 0 0 0 / 32 0.0s Rwlock sequential (generating)
[✓] 32 0 0 32 / 32 0.0s Rwlock sequential
[ ] 0 0 0 0 / 32 0.0s Rwlock parallel
[ ] 1 0 0 1 / 32 1.8s Rwlock parallel
[ ] 2 0 0 2 / 32 3.9s Rwlock parallel
[ ] 3 0 0 3 / 32 5.5s Rwlock parallel
[ ] 4 0 0 4 / 32 7.1s Rwlock parallel
[ ] 5 0 0 5 / 32 9.9s Rwlock parallel
[ ] 6 0 0 6 / 32 11.2s Rwlock parallel
[ ] 7 0 0 7 / 32 13.1s Rwlock parallel
[ ] 8 0 0 8 / 32 15.1s Rwlock parallel
[ ] 9 0 0 9 / 32 16.6s Rwlock parallel
[ ] 10 0 0 10 / 32 18.3s Rwlock parallel
[ ] 11 0 0 11 / 32 19.5s Rwlock parallel
[ ] 12 0 0 12 / 32 21.4s Rwlock parallel
[ ] 13 0 0 13 / 32 23.4s Rwlock parallel
[ ] 14 0 0 14 / 32 25.2s Rwlock parallel
[ ] 15 0 0 15 / 32 26.9s Rwlock parallel
[ ] 16 0 0 16 / 32 28.1s Rwlock parallel
[ ] 17 0 0 17 / 32 29.4s Rwlock parallel
[ ] 18 0 0 18 / 32 30.7s Rwlock parallel
[ ] 19 0 0 19 / 32 31.9s Rwlock parallel
[ ] 20 0 0 20 / 32 32.9s Rwlock parallel
[ ] 21 0 0 21 / 32 35.5s Rwlock parallel
[ ] 22 0 0 22 / 32 37.9s Rwlock parallel
[ ] 23 0 0 23 / 32 39.4s Rwlock parallel
[ ] 24 0 0 24 / 32 40.6s Rwlock parallel
[ ] 25 0 0 25 / 32 42.1s Rwlock parallel
[ ] 26 0 0 26 / 32 45.9s Rwlock parallel
[ ] 27 0 0 27 / 32 47.4s Rwlock parallel
[ ] 28 0 0 28 / 32 48.9s Rwlock parallel
[ ] 29 0 0 29 / 32 50.9s Rwlock parallel
[ ] 30 0 0 30 / 32 52.0s Rwlock parallel
[ ] 31 0 0 31 / 32 53.4s Rwlock parallel
[ ] 32 0 0 32 / 32 54.9s Rwlock parallel
[✓] 32 0 0 32 / 32 54.9s Rwlock parallel
================================================================================
success (ran 2 tests)
random seed: 1746547282238034363
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Rwlock sequential
[✓] 32 0 0 32 / 32 0.0s Rwlock sequential
[ ] 0 0 0 0 / 32 0.0s Rwlock parallel
[ ] 1 0 0 1 / 32 4.2s Rwlock parallel
[ ] 2 0 0 2 / 32 6.2s Rwlock parallel
[ ] 3 0 0 3 / 32 7.9s Rwlock parallel
[ ] 4 0 0 4 / 32 8.7s Rwlock parallel
[ ] 5 0 0 5 / 32 11.6s Rwlock parallel
[ ] 6 0 0 6 / 32 13.1s Rwlock parallel
[ ] 7 0 0 7 / 32 14.8s Rwlock parallel
[ ] 8 0 0 8 / 32 15.7s Rwlock parallel
[ ] 9 0 0 9 / 32 16.7s Rwlock parallel
[ ] 10 0 0 10 / 32 17.8s Rwlock parallel
[ ] 11 0 0 11 / 32 18.6s Rwlock parallel
[ ] 12 0 0 12 / 32 19.5s Rwlock parallel
[ ] 13 0 0 13 / 32 21.1s Rwlock parallel
[ ] 14 0 0 14 / 32 22.2s Rwlock parallel
[ ] 15 0 0 15 / 32 23.8s Rwlock parallel
[ ] 16 0 0 16 / 32 24.8s Rwlock parallel
[ ] 17 0 0 17 / 32 26.3s Rwlock parallel
[ ] 18 0 0 18 / 32 27.6s Rwlock parallel
[ ] 19 0 0 19 / 32 29.3s Rwlock parallel
[ ] 20 0 0 20 / 32 31.6s Rwlock parallel
[ ] 21 0 0 21 / 32 33.5s Rwlock parallel
[ ] 22 0 0 22 / 32 35.5s Rwlock parallel
[ ] 23 0 0 23 / 32 37.4s Rwlock parallel
[ ] 24 0 0 24 / 32 38.9s Rwlock parallel
[ ] 25 0 0 25 / 32 40.4s Rwlock parallel
[ ] 26 0 0 26 / 32 42.0s Rwlock parallel
[ ] 27 0 0 27 / 32 43.3s Rwlock parallel
[ ] 28 0 0 28 / 32 44.8s Rwlock parallel
[ ] 29 0 0 29 / 32 45.8s Rwlock parallel
[ ] 30 0 0 30 / 32 48.1s Rwlock parallel
[ ] 31 0 0 31 / 32 49.5s Rwlock parallel
[ ] 32 0 0 32 / 32 50.4s Rwlock parallel
[✓] 32 0 0 32 / 32 50.4s Rwlock parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test && ./test_mpscq.exe)
random seed: 4280582591701033928
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Mpscq sequential
[ ] 0 0 0 0 / 32 0.0s Mpscq sequential (generating)
[✓] 32 0 0 32 / 32 0.0s Mpscq sequential
[ ] 0 0 0 0 / 32 0.0s Mpscq parallel
[ ] 1 0 0 1 / 32 3.4s Mpscq parallel
[ ] 2 0 0 2 / 32 7.9s Mpscq parallel
[ ] 3 0 0 3 / 32 12.2s Mpscq parallel
[ ] 4 0 0 4 / 32 15.4s Mpscq parallel
[ ] 5 0 0 5 / 32 21.7s Mpscq parallel
[ ] 6 0 0 6 / 32 24.6s Mpscq parallel
[ ] 7 0 0 7 / 32 27.3s Mpscq parallel
[ ] 8 0 0 8 / 32 30.7s Mpscq parallel
[ ] 9 0 0 9 / 32 33.5s Mpscq parallel
[ ] 10 0 0 10 / 32 36.7s Mpscq parallel
[ ] 11 0 0 11 / 32 40.3s Mpscq parallel
[ ] 12 0 0 12 / 32 43.0s Mpscq parallel
[ ] 13 0 0 13 / 32 45.7s Mpscq parallel
[ ] 14 0 0 14 / 32 48.6s Mpscq parallel
[ ] 15 0 0 15 / 32 52.0s Mpscq parallel
[ ] 16 0 0 16 / 32 54.9s Mpscq parallel
[ ] 17 0 0 17 / 32 57.7s Mpscq parallel
[ ] 18 0 0 18 / 32 61.0s Mpscq parallel
[ ] 19 0 0 19 / 32 64.3s Mpscq parallel
[ ] 20 0 0 20 / 32 66.8s Mpscq parallel
[ ] 21 0 0 21 / 32 69.5s Mpscq parallel
[ ] 22 0 0 22 / 32 74.6s Mpscq parallel
[ ] 23 0 0 23 / 32 76.7s Mpscq parallel
[ ] 24 0 0 24 / 32 79.4s Mpscq parallel
[ ] 25 0 0 25 / 32 81.9s Mpscq parallel
[ ] 26 0 0 26 / 32 84.7s Mpscq parallel
[ ] 27 0 0 27 / 32 88.2s Mpscq parallel
[ ] 28 0 0 28 / 32 91.9s Mpscq parallel
[ ] 29 0 0 29 / 32 94.6s Mpscq parallel
[ ] 30 0 0 30 / 32 97.2s Mpscq parallel
[ ] 31 0 0 31 / 32 99.5s Mpscq parallel
[ ] 32 0 0 32 / 32 105.1s Mpscq parallel
[✓] 32 0 0 32 / 32 105.1s Mpscq parallel
================================================================================
success (ran 2 tests)
(cd _build/default/bench && ./main.exe -brief 'Picos DLS')
Picos DLS:
gets over time/1 worker:
12.53 M/s
gets over time/2 workers:
14.48 M/s
gets over time/4 workers:
39.87 M/s
sets over time/1 worker:
9.12 M/s
sets over time/2 workers:
13.07 M/s
sets over time/4 workers:
35.31 M/s
time per get/1 worker:
79.78 ns
time per get/2 workers:
138.13 ns
time per get/4 workers:
100.33 ns
time per set/1 worker:
109.62 ns
time per set/2 workers:
152.98 ns
time per set/4 workers:
113.27 ns
(cd _build/default/test && ./test_sync.exe -- '^Rwlock and Rwlock.Condition$' 1)
Testing `Picos_sync'.
This run has ID `9YS333RJ'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[OK] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[SKIP] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Barrier 0 basics.
[SKIP] Barrier 1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 60.035s. 1 test run.
Mutex cancelation steps: [4728533, 4728005, 2797577, 1930428, 528]
(cd _build/default/test && ./test_sync.exe -- '^Rwlock and Rwlock.Condition$' 2)
Testing `Picos_sync'.
This run has ID `FZSPHVDV'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[OK] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[SKIP] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Barrier 0 basics.
[SKIP] Barrier 1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.012s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- '^Rwlock and Rwlock.Condition$' 3)
Testing `Picos_sync'.
This run has ID `STL20T36'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[OK] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[SKIP] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Barrier 0 basics.
[SKIP] Barrier 1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.016s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- '^Rwlock and Rwlock.Condition$' 4)
Testing `Picos_sync'.
This run has ID `AE4YAM1V'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[OK] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[SKIP] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Barrier 0 basics.
[SKIP] Barrier
1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.013s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- '^Rwlock and Rwlock.Condition$' 5)
Testing `Picos_sync'.
This run has ID `YXF3PS11'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[OK] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[SKIP] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Barrier 0 basics.
[SKIP] Barrier 1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.010s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- '^Rwlock and Rwlock.Condition$' 6)
Testing `Picos_sync'.
This run has ID `RD0AY5Y7'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[OK] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[SKIP] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Barrier 0 basics.
[SKIP] Barrier 1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.024s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- ^Semaphore$ 0)
Testing `Picos_sync'.
This run has ID `FW2ECEE8'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[OK] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[SKIP] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Barrier 0 basics.
[SKIP] Barrier 1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.008s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- ^Semaphore$ 1)
Testing `Picos_sync'.
This run has ID `443UIJOQ'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[OK] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[SKIP] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Barrier 0 basics.
[SKIP] Barrier 1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 1.282s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- ^Sem$ 0)
Testing `Picos_sync'.
This run has ID `SENBYW9U'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[OK] Sem 0 basics.
[SKIP] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Barrier 0 basics.
[SKIP] Barrier 1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.012s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- ^Sem$ 1)
Testing `Picos_sync'.
This run has ID `D8K1P5IZ'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[OK] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Barrier 0 basics.
[SKIP] Barrier 1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 2.101s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- ^Sem$ 2)
Testing `Picos_sync'.
This run has ID `WNQQUMFU'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[SKIP] Sem 1 stress.
[OK] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Barrier 0 basics.
[SKIP] Barrier 1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.006s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- ^Sem$ 3)
Testing `Picos_sync'.
This run has ID `B8O81VX5'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[SKIP] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[OK] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Barrier 0 basics.
[SKIP] Barrier 1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.027s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- ^Lazy$ 0)
Testing `Picos_sync'.
This run has ID `ZZXUUCS8'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[SKIP] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[OK] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Barrier 0 basics.
[SKIP] Barrier 1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.020s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- ^Lazy$ 1)
Testing `Picos_sync'.
This run has ID `EYGF8N3X'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[SKIP] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[OK] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Barrier 0 basics.
[SKIP] Barrier 1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.080s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- ^Event$ 0)
Testing `Picos_sync'.
This run has ID `XXBTWNYA'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[SKIP] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[OK] Event 0 basics.
[SKIP] Barrier 0 basics.
[SKIP] Barrier 1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.106s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- ^Barrier$ 0)
Testing `Picos_sync'.
This run has ID `9UNGUDVA'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[SKIP] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[OK] Barrier 0 basics.
[SKIP] Barrier 1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.186s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- ^Barrier$ 1)
Testing `Picos_sync'.
This run has ID `JLB80XDG'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[SKIP] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Barrier 0 basics.
[OK] Barrier 1 poisoning.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.136s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- '^Non-cancelable ops$' 0)
Testing `Picos_sync'.
This run has ID `R478QAPH'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Lock and Lock.Condition 0 basics.
[SKIP] Lock and Lock.Condition 1 cancelation.
[SKIP] Lock and Lock.Condition 2 poisoning.
[SKIP] Lock and Lock.Condition 3 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 0 basics.
[SKIP] Rwlock and Rwlock.Condition 1 cancelation.
[SKIP] Rwlock and Rwlock.Condition 2 poisoning.
[SKIP] Rwlock and Rwlock.Condition 3 freezing.
[SKIP] Rwlock and Rwlock.Condition 4 try_acquire.
[SKIP] Rwlock and Rwlock.Condition 5 try_acquire_shared.
[SKIP] Rwlock and Rwlock.Condition 6 sharing.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Sem 0 basics.
[SKIP] Sem 1 stress.
[SKIP] Sem 2 poisoning.
[SKIP] Sem 3 try_acquire.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Barrier 0 basics.
[SKIP] Barrier 1 poisoning.
[OK] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.006s. 1 test run.
(cd _build/default/bench && ./main.exe -brief 'Yield with Picos_std_sync')
Yield with Picos_std_sync:
locked yields over time/1024 fibers with Lock:
0.15 M/s
locked yields over time/1024 fibers with Rwlock:
0.14 M/s
locked yields over time/1024 fibers with Sem:
0.14 M/s
locked yields over time/1024 fibers with Sem 2:
0.38 M/s
locked yields over time/1024 fibers with Sem 3:
0.67 M/s
locked yields over time/1024 fibers with Sem 4:
0.37 M/s
locked yields over time/1 fiber with Lock:
0.81 M/s
locked yields over time/1 fiber with Rwlock:
1.09 M/s
locked yields over time/1 fiber with Sem:
1.50 M/s
locked yields over time/1 fiber with Sem 2:
3.08 M/s
locked yields over time/1 fiber with Sem 3:
2.77 M/s
locked yields over time/1 fiber with Sem 4:
3.10 M/s
locked yields over time/256 fibers with Lock:
0.10 M/s
locked yields over time/256 fibers with Rwlock:
0.16 M/s
locked yields over time/256 fibers with Sem:
0.12 M/s
locked yields over time/256 fibers with Sem 2:
0.32 M/s
locked yields over time/256 fibers with Sem 3:
0.74 M/s
locked yields over time/256 fibers with Sem 4:
0.81 M/s
locked yields over time/2 domains with Lock:
0.48 M/s
locked yields over time/2 domains with Rwlock:
0.56 M/s
locked yields over time/2 domains with Sem:
0.90 M/s
locked yields over time/2 domains with Sem 2:
3.40 M/s
locked yields over time/2 domains with Sem 3:
2.24 M/s
locked yields over time/2 domains with Sem 4:
3.77 M/s
locked yields over time/2 fibers with Lock:
0.24 M/s
locked yields over time/2 fibers with Rwlock:
0.18 M/s
locked yields over time/2 fibers with Sem:
0.17 M/s
locked yields over time/2 fibers with Sem 2:
1.22 M/s
locked yields over time/2 fibers with Sem 3:
1.73 M/s
locked yields over time/2 fibers with Sem 4:
2.07 M/s
locked yields over time/3 domains with Lock:
1.23 M/s
locked yields over time/3 domains with Rwlock:
0.33 M/s
locked yields over time/3 domains with Sem:
0.46 M/s
locked yields over time/3 domains with Sem 2:
0.34 M/s
locked yields over time/3 domains with Sem 3:
3.01 M/s
locked yields over time/3 domains with Sem 4:
2.86 M/s
locked yields over time/3 fibers with Lock:
0.12 M/s
locked yields over time/3 fibers with Rwlock:
0.15 M/s
locked yields over time/3 fibers with Sem:
0.26 M/s
locked yields over time/3 fibers with Sem 2:
1.28 M/s
locked yields over time/3 fibers with Sem 3:
1.68 M/s
locked yields over time/3 fibers with Sem 4:
1.81 M/s
locked yields over time/4 domains with Lock:
0.18 M/s
locked yields over time/4 domains with Rwlock:
0.56 M/s
locked yields over time/4 domains with Sem:
0.19 M/s
locked yields over time/4 domains with Sem 2:
0.62 M/s
locked yields over time/4 domains with Sem 3:
1.84 M/s
locked yields over time/4 domains with Sem 4:
1.30 M/s
locked yields over time/4 fibers with Lock:
0.12 M/s
locked yields over time/4 fibers with Rwlock:
0.13 M/s
locked yields over time/4 fibers with Sem:
0.12 M/s
locked yields over time/4 fibers with Sem 2:
0.38 M/s
locked yields over time/4 fibers with Sem 3:
0.91 M/s
locked yields over time/4 fibers with Sem 4:
2.05 M/s
locked yields over time/512 fibers with Lock:
0.22 M/s
locked yields over time/512 fibers with Rwlock:
0.23 M/s
locked yields over time/512 fibers with Sem:
0.11 M/s
locked yields over time/512 fibers with Sem 2:
0.40 M/s
locked yields over time/512 fibers with Sem 3:
0.62 M/s
locked yields over time/512 fibers with Sem 4:
0.59 M/s
locked yields over time/8 domains with Lock:
0.15 M/s
locked yields over time/8 domains with Rwlock:
0.14 M/s
locked yields over time/8 domains with Sem:
0.22 M/s
locked yields over time/8 domains with Sem 2:
1.10 M/s
locked yields over time/8 domains with Sem 3:
0.94 M/s
locked yields over time/8 domains with Sem 4:
1.06 M/s
locked yields over time/8 fibers with Lock:
0.15 M/s
locked yields over time/8 fibers with Rwlock:
0.20 M/s
locked yields over time/8 fibers with Sem:
0.13 M/s
locked yields over time/8 fibers with Sem 2:
0.60 M/s
locked yields over time/8 fibers with Sem 3:
1.01 M/s
locked yields over time/8 fibers with Sem 4:
0.92 M/s
time per locked yield/1024 fibers with Lock:
6625.17 ns
time per locked yield/1024 fibers with Rwlock:
7397.11 ns
time per locked yield/1024 fibers with Sem:
7121.81 ns
time per locked yield/1024 fibers with Sem 2:
2610.02 ns
time per locked yield/1024 fibers with Sem 3:
1499.89 ns
time per locked yield/1024 fibers with Sem 4:
2693.11 ns
time per locked yield/1 fiber with Lock:
1235.56 ns
time per locked yield/1 fiber with Rwlock:
917.85 ns
time per locked yield/1 fiber with Sem:
666.56 ns
time per locked yield/1 fiber with Sem 2:
324.22 ns
time per locked yield/1 fiber with Sem 3:
360.46 ns
time per locked yield/1 fiber with Sem 4:
322.59 ns
time per locked yield/256 fibers with Lock:
9698.77 ns
time per locked yield/256 fibers with Rwlock:
6397.73 ns
time per locked yield/256 fibers with Sem:
8497.86 ns
time per locked yield/256 fibers with Sem 2:
3164.58 ns
time per locked yield/256 fibers with Sem 3:
1347.87 ns
time per locked yield/256 fibers with Sem 4:
1231.94 ns
time per locked yield/2 domains with Lock:
4184.33 ns
time per locked yield/2 domains with Rwlock:
3542.26 ns
time per locked yield/2 domains with Sem:
2224.65 ns
time per locked yield/2 domains with Sem 2:
588.19 ns
time per locked yield/2 domains with Sem 3:
891.93 ns
time per locked yield/2 domains with Sem 4:
530.71 ns
time per locked yield/2 fibers with Lock:
4176.44 ns
time per locked yield/2 fibers with Rwlock:
5479.39 ns
time per locked yield/2 fibers with Sem:
5820.56 ns
time per locked yield/2 fibers with Sem 2:
822.36 ns
time per locked yield/2 fibers with Sem 3:
579.32 ns
time per locked yield/2 fibers with Sem 4:
483.85 ns
time per locked yield/3 domains with Lock:
2446.65 ns
time per locked yield/3 domains with Rwlock:
9003.60 ns
time per locked yield/3 domains with Sem:
6555.86 ns
time per locked yield/3 domains with Sem 2:
8864.16 ns
time per locked yield/3 domains with Sem 3:
998.09 ns
time per locked yield/3 domains with Sem 4:
1048.74 ns
time per locked yield/3 fibers with Lock:
8607.32 ns
time per locked yield/3 fibers with Rwlock:
6863.23 ns
time per locked yield/3 fibers with Sem:
3845.36 ns
time per locked yield/3 fibers with Sem 2:
780.65 ns
time per locked yield/3 fibers with Sem 3:
594.86 ns
time per locked yield/3 fibers with Sem 4:
551.36 ns
time per locked yield/4 domains with Lock:
22812.48 ns
time per locked yield/4 domains with Rwlock:
7145.39 ns
time per locked yield/4 domains with Sem:
20807.55 ns
time per locked yield/4 domains with Sem 2:
6457.81 ns
time per locked yield/4 domains with Sem 3:
2176.28 ns
time per locked yield/4 domains with Sem 4:
3065.47 ns
time per locked yield/4 fibers with Lock:
8186.02 ns
time per locked yield/4 fibers with Rwlock:
7867.97 ns
time per locked yield/4 fibers with Sem:
8655.07 ns
time per locked yield/4 fibers with Sem 2:
2640.82 ns
time per locked yield/4 fibers with Sem 3:
1093.87 ns
time per locked yield/4 fibers with Sem 4:
487.61 ns
time per locked yield/512 fibers with Lock:
4496.12 ns
time per locked yield/512 fibers with Rwlock:
4340.71 ns
time per locked yield/512 fibers with Sem:
8743.46 ns
time per locked yield/512 fibers with Sem 2:
2493.55 ns
time per locked yield/512 fibers with Sem 3:
1601.39 ns
time per locked yield/512 fibers with Sem 4:
1681.12 ns
time per locked yield/8 domains with Lock:
51828.08 ns
time per locked yield/8 domains with Rwlock:
55687.95 ns
time per locked yield/8 domains with Sem:
36672.19 ns
time per locked yield/8 domains with Sem 2:
7261.79 ns
time per locked yield/8 domains with Sem 3:
8544.28 ns
time per locked yield/8 domains with Sem 4:
7572.35 ns
time per locked yield/8 fibers with Lock:
6795.15 ns
time per locked yield/8 fibers with Rwlock:
4993.43 ns
time per locked yield/8 fibers with Sem:
7572.83 ns
time per locked yield/8 fibers with Sem 2:
1671.84 ns
time per locked yield/8 fibers with Sem 3:
991.47 ns
time per locked yield/8 fibers with Sem 4:
1085.09 ns
(cd _build/default/bench && ./main.exe -brief 'Picos Spawn')
Picos Spawn:
spawns over time/with packed computation:
2.05 M/s
time per spawn/with packed computation:
488.08 ns
(cd _build/default/bench && ./main.exe -brief 'Picos Queue')
Picos Queue:
messages over time/1 nb adder, 1 nb taker:
24.59 M/s
messages over time/1 nb adder, 2 nb takers:
18.09 M/s
messages over time/1 nb adder, 4 nb takers:
4.97 M/s
messages over time/2 nb adders, 1 nb taker:
7.94 M/s
messages over time/2 nb adders, 2 nb takers:
9.66 M/s
messages over time/2 nb adders, 4 nb takers:
1.28 M/s
messages over time/4 nb adders, 1 nb taker:
3.26 M/s
messages over time/4 nb adders, 2 nb takers:
6.67 M/s
messages over time/4 nb adders, 4 nb takers:
1.92 M/s
messages over time/one domain:
11.84 M/s
time per message/1 nb adder, 1 nb taker:
81.33 ns
time per message/1 nb adder, 2 nb takers:
165.85 ns
time per message/1 nb adder, 4 nb takers:
1007.00 ns
time per message/2 nb adders, 1 nb taker:
377.69 ns
time per message/2 nb adders, 2 nb takers:
414.10 ns
time per message/2 nb adders, 4 nb takers:
4699.81 ns
time per message/4 nb adders, 1 nb taker:
1534.98 ns
time per message/4 nb adders, 2 nb takers:
899.94 ns
time per message/4 nb adders, 4 nb takers:
4160.76 ns
time per message/one domain:
84.44 ns
(cd _build/default/bench && ./main.exe -brief 'Picos Yield')
Picos Yield:
time per yield/10000 fibers:
743.15 ns
time per yield/1000 fibers:
474.48 ns
time per yield/100 fibers:
210.78 ns
time per yield/10 fibers:
260.29 ns
time per yield/1 fiber:
272.00 ns
yields over time/10000 fibers:
1.35 M/s
yields over time/1000 fibers:
2.11 M/s
yields over time/100 fibers:
4.74 M/s
yields over time/10 fibers:
3.84 M/s
yields over time/1 fiber:
3.68 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos Cancel_after with Picos_select')
Picos Cancel_after with Picos_select:
async round-trips over time/1 worker:
0.11 M/s
async round-trips over time/2 workers:
0.14 M/s
async round-trips over time/4 workers:
0.07 M/s
round-trips over time/1 worker:
0.03 M/s
round-trips over time/2 workers:
0.10 M/s
round-trips over time/4 workers:
0.15 M/s
time per async round-trip/1 worker:
8816.52 ns
time per async round-trip/2 workers:
14371.14 ns
time per async round-trip/4 workers:
59662.21 ns
time per round-trip/1 worker:
34241.48 ns
time per round-trip/2 workers:
20566.67 ns
time per round-trip/4 workers:
26842.08 ns
(cd _build/default/bench && ./main.exe -brief 'Ref with Picos_std_sync')
Ref with Picos_std_sync:
ops over time/cas int with Lock:
16.73 M/s
ops over time/cas int with Rwlock:
11.26 M/s
ops over time/cas int with Sem:
22.15 M/s
ops over time/get with Lock:
19.05 M/s
ops over time/get with Rwlock:
26.25 M/s
ops over time/get with Sem:
26.04 M/s
ops over time/incr with Lock:
22.53 M/s
ops over time/incr with Rwlock:
14.67 M/s
ops over time/incr with Sem:
24.42 M/s
ops over time/push & pop with Lock:
11.54 M/s
ops over time/push & pop with Rwlock:
8.87 M/s
ops over time/push & pop with Sem:
17.06 M/s
ops over time/swap with Lock:
13.10 M/s
ops over time/swap with Rwlock:
9.42 M/s
ops over time/swap with Sem:
15.82 M/s
ops over time/xchg int with Lock:
15.73 M/s
ops over time/xchg int with Rwlock:
15.31 M/s
ops over time/xchg int with Sem:
22.18 M/s
time per op/cas int with Lock:
59.76 ns
time per op/cas int with Rwlock:
88.79 ns
time per op/cas int with Sem:
45.14 ns
time per op/get with Lock:
52.50 ns
time per op/get with Rwlock:
38.09 ns
time per op/get with Sem:
38.40 ns
time per op/incr with Lock:
44.39 ns
time per op/incr with Rwlock:
68.19 ns
time per op/incr with Sem:
40.95 ns
time per op/push & pop with Lock:
86.67 ns
time per op/push & pop with Rwlock:
112.72 ns
time per op/push & pop with Sem:
58.62 ns
time per op/swap with Lock:
76.34 ns
time per op/swap with Rwlock:
106.15 ns
time per op/swap with Sem:
63.21 ns
time per op/xchg int with Lock:
63.56 ns
time per op/xchg int with Rwlock:
65.30 ns
time per op/xchg int with Sem:
45.09 ns
(cd _build/default/bench && ./main.exe -brief Picos_mpmcq)
Picos_mpmcq:
messages over time/1 nb adder, 1 nb taker:
20.00 M/s
messages over time/1 nb adder, 2 nb takers:
16.30 M/s
messages over time/1 nb adder, 4 nb takers:
1.20 M/s
messages over time/2 nb adders, 1 nb taker:
8.59 M/s
messages over time/2 nb adders, 2 nb takers:
2.61 M/s
messages over time/2 nb adders, 4 nb takers:
1.25 M/s
messages over time/4 nb adders, 1 nb taker:
1.58 M/s
messages over time/4 nb adders, 2 nb takers:
1.65 M/s
messages over time/4 nb adders, 4 nb takers:
1.15 M/s
messages over time/one domain:
12.00 M/s
time per message/1 nb adder, 1 nb taker:
100.01 ns
time per message/1 nb adder, 2 nb takers:
184.00 ns
time per message/1 nb adder, 4 nb takers:
4151.39 ns
time per message/2 nb adders, 1 nb taker:
349.20 ns
time per message/2 nb adders, 2 nb takers:
1532.63 ns
time per message/2 nb adders, 4 nb takers:
4793.46 ns
time per message/4 nb adders, 1 nb taker:
3162.58 ns
time per message/4 nb adders, 2 nb takers:
3642.41 ns
time per message/4 nb adders, 4 nb takers:
6942.96 ns
time per message/one domain:
83.36 ns
(cd _build/default/bench && ./main.exe -brief Picos_mpscq)
Picos_mpscq:
messages over time/1 nb adder, 1 nb taker:
5.45 M/s
messages over time/2 nb adders, 1 nb taker:
5.17 M/s
messages over time/4 nb adders, 1 nb taker:
2.14 M/s
messages over time/one domain:
12.30 M/s
time per message/1 nb adder, 1 nb taker:
367.00 ns
time per message/2 nb adders, 1 nb taker:
579.78 ns
time per message/4 nb adders, 1 nb taker:
2341.14 ns
time per message/one domain:
81.33 ns
(cd _build/default/bench && ./main.exe -brief Picos_htbl)
Picos_htbl:
operations over time/1 worker, 10% reads:
7.14 M/s
operations over time/1 worker, 50% reads:
8.92 M/s
operations over time/1 worker, 90% reads:
12.17 M/s
operations over time/2 workers, 10% reads:
10.71 M/s
operations over time/2 workers, 50% reads:
13.28 M/s
operations over time/2 workers, 90% reads:
21.97 M/s
operations over time/4 workers, 10% reads:
10.73 M/s
operations over time/4 workers, 50% reads:
13.55 M/s
operations over time/4 workers, 90% reads:
22.86 M/s
operations over time/8 workers, 10% reads:
9.87 M/s
operations over time/8 workers, 50% reads:
13.69 M/s
operations over time/8 workers, 90% reads:
28.70 M/s
time per operation/1 worker, 10% reads:
140.01 ns
time per operation/1 worker, 50% reads:
112.13 ns
time per operation/1 worker, 90% reads:
82.18 ns
time per operation/2 workers, 10% reads:
186.82 ns
time per operation/2 workers, 50% reads:
150.59 ns
time per operation/2 workers, 90% reads:
91.03 ns
time per operation/4 workers, 10% reads:
372.69 ns
time per operation/4 workers, 50% reads:
295.21 ns
time per operation/4 workers, 90% reads:
175.00 ns
time per operation/8 workers, 10% reads:
810.93 ns
time per operation/8 workers, 50% reads:
584.30 ns
time per operation/8 workers, 90% reads:
278.70 ns
(cd _build/default/bench && ./main.exe -brief 'Hashtbl with Picos_std_sync')
Hashtbl with Picos_std_sync:
operations over time/1 worker, 10% reads with Lock:
3.41 M/s
operations over time/1 worker, 10% reads with Rwlock:
2.64 M/s
operations over time/1 worker, 10% reads with Sem:
4.03 M/s
operations over time/1 worker, 100% reads with Lock:
4.22 M/s
operations over time/1 worker, 100% reads with Rwlock:
3.28 M/s
operations over time/1 worker, 100% reads with Sem:
5.98 M/s
operations over time/1 worker, 50% reads with Lock:
3.72 M/s
operations over time/1 worker, 50% reads with Rwlock:
3.79 M/s
operations over time/1 worker, 50% reads with Sem:
4.77 M/s
operations over time/1 worker, 90% reads with Lock:
4.20 M/s
operations over time/1 worker, 90% reads with Rwlock:
4.56 M/s
operations over time/1 worker, 90% reads with Sem:
4.77 M/s
operations over time/1 worker, 95% reads with Lock:
4.07 M/s
operations over time/1 worker, 95% reads with Rwlock:
3.25 M/s
operations over time/1 worker, 95% reads with Sem:
5.24 M/s
operations over time/2 workers, 10% reads with Lock:
4.66 M/s
operations over time/2 workers, 10% reads with Rwlock:
4.26 M/s
operations over time/2 workers, 10% reads with Sem:
4.63 M/s
operations over time/2 workers, 100% reads with Lock:
4.99 M/s
operations over time/2 workers, 100% reads with Rwlock:
5.56 M/s
operations over time/2 workers, 100% reads with Sem:
4.16 M/s
operations over time/2 workers, 50% reads with Lock:
3.85 M/s
operations over time/2 workers, 50% reads with Rwlock:
4.49 M/s
operations over time/2 workers, 50% reads with Sem:
4.85 M/s
operations over time/2 workers, 90% reads with Lock:
6.03 M/s
operations over time/2 workers, 90% reads with Rwlock:
5.04 M/s
operations over time/2 workers, 90% reads with Sem:
4.99 M/s
operations over time/2 workers, 95% reads with Lock:
5.13 M/s
operations over time/2 workers, 95% reads with Rwlock:
6.20 M/s
operations over time/2 workers, 95% reads with Sem:
5.25 M/s
operations over time/4 workers, 10% reads with Lock:
4.56 M/s
operations over time/4 workers, 10% reads with Rwlock:
5.17 M/s
operations over time/4 workers, 10% reads with Sem:
4.83 M/s
operations over time/4 workers, 100% reads with Lock:
4.91 M/s
operations over time/4 workers, 100% reads with Rwlock:
6.92 M/s
operations over time/4 workers, 100% reads with Sem:
4.80 M/s
operations over time/4 workers, 50% reads with Lock:
4.97 M/s
operations over time/4 workers, 50% reads with Rwlock:
4.36 M/s
operations over time/4 workers, 50% reads with Sem:
5.39 M/s
operations over time/4 workers, 90% reads with Lock:
4.72 M/s
operations over time/4 workers, 90% reads with Rwlock:
4.85 M/s
operations over time/4 workers, 90% reads with Sem:
4.52 M/s
operations over time/4 workers, 95% reads with Lock:
5.19 M/s
operations over time/4 workers, 95% reads with Rwlock:
5.52 M/s
operations over time/4 workers, 95% reads with Sem:
4.65 M/s
operations over time/8 workers, 10% reads with Lock:
4.22 M/s
operations over time/8 workers, 10% reads with Rwlock:
4.73 M/s
operations over time/8 workers, 10% reads with Sem:
3.40 M/s
operations over time/8 workers, 100% reads with Lock:
3.99 M/s
operations over time/8 workers, 100% reads with Rwlock:
7.41 M/s
operations over time/8 workers, 100% reads with Sem:
4.20 M/s
operations over time/8 workers, 50% reads with Lock:
3.83 M/s
operations over time/8 workers, 50% reads with Rwlock:
4.16 M/s
operations over time/8 workers, 50% reads with Sem:
3.97 M/s
operations over time/8 workers, 90% reads with Lock:
4.71 M/s
operations over time/8 workers, 90% reads with Rwlock:
5.13 M/s
operations over time/8 workers, 90% reads with Sem:
4.54 M/s
operations over time/8 workers, 95% reads with Lock:
4.11 M/s
operations over time/8 workers, 95% reads with Rwlock:
4.80 M/s
operations over time/8 workers, 95% reads with Sem:
4.18 M/s
time per operation/1 worker, 10% reads with Lock:
293.04 ns
time per operation/1 worker, 10% reads with Rwlock:
378.88 ns
time per operation/1 worker, 10% reads with Sem:
248.23 ns
time per operation/1 worker, 100% reads with Lock:
237.15 ns
time per operation/1 worker, 100% reads with Rwlock:
304.59 ns
time per operation/1 worker, 100% reads with Sem:
167.35 ns
time per operation/1 worker, 50% reads with Lock:
268.47 ns
time per operation/1 worker, 50% reads with Rwlock:
263.62 ns
time per operation/1 worker, 50% reads with Sem:
209.70 ns
time per operation/1 worker, 90% reads with Lock:
237.88 ns
time per operation/1 worker, 90% reads with Rwlock:
219.45 ns
time per operation/1 worker, 90% reads with Sem:
209.76 ns
time per operation/1 worker, 95% reads with Lock:
245.52 ns
time per operation/1 worker, 95% reads with Rwlock:
307.41 ns
time per operation/1 worker, 95% reads with Sem:
190.75 ns
time per operation/2 workers, 10% reads with Lock:
429.63 ns
time per operation/2 workers, 10% reads with Rwlock:
469.06 ns
time per operation/2 workers, 10% reads with Sem:
432.13 ns
time per operation/2 workers, 100% reads with Lock:
400.46 ns
time per operation/2 workers, 100% reads with Rwlock:
359.80 ns
time per operation/2 workers, 100% reads with Sem:
480.30 ns
time per operation/2 workers, 50% reads with Lock:
519.77 ns
time per operation/2 workers, 50% reads with Rwlock:
445.09 ns
time per operation/2 workers, 50% reads with Sem:
412.20 ns
time per operation/2 workers, 90% reads with Lock:
331.84 ns
time per operation/2 workers, 90% reads with Rwlock:
396.83 ns
time per operation/2 workers, 90% reads with Sem:
400.79 ns
time per operation/2 workers, 95% reads with Lock:
389.91 ns
time per operation/2 workers, 95% reads with Rwlock:
322.70 ns
time per operation/2 workers, 95% reads with Sem:
380.86 ns
time per operation/4 workers, 10% reads with Lock:
877.44 ns
time per operation/4 workers, 10% reads with Rwlock:
773.91 ns
time per operation/4 workers, 10% reads with Sem:
828.94 ns
time per operation/4 workers, 100% reads with Lock:
814.89 ns
time per operation/4 workers, 100% reads with Rwlock:
578.34 ns
time per operation/4 workers, 100% reads with Sem:
832.87 ns
time per operation/4 workers, 50% reads with Lock:
804.06 ns
time per operation/4 workers, 50% reads with Rwlock:
918.34 ns
time per operation/4 workers, 50% reads with Sem:
742.72 ns
time per operation/4 workers, 90% reads with Lock:
847.14 ns
time per operation/4 workers, 90% reads with Rwlock:
824.94 ns
time per operation/4 workers, 90% reads with Sem:
885.35 ns
time per operation/4 workers, 95% reads with Lock:
771.17 ns
time per operation/4 workers, 95% reads with Rwlock:
724.43 ns
time per operation/4 workers, 95% reads with Sem:
859.73 ns
time per operation/8 workers, 10% reads with Lock:
1893.84 ns
time per operation/8 workers, 10% reads with Rwlock:
1691.05 ns
time per operation/8 workers, 10% reads with Sem:
2355.65 ns
time per operation/8 workers, 100% reads with Lock:
2007.07 ns
time per operation/8 workers, 100% reads with Rwlock:
1080.19 ns
time per operation/8 workers, 100% reads with Sem:
1903.87 ns
time per operation/8 workers, 50% reads with Lock:
2088.78 ns
time per operation/8 workers, 50% reads with Rwlock:
1922.78 ns
time per operation/8 workers, 50% reads with Sem:
2016.63 ns
time per operation/8 workers, 90% reads with Lock:
1698.04 ns
time per operation/8 workers, 90% reads with Rwlock:
1559.17 ns
time per operation/8 workers, 90% reads with Sem:
1760.22 ns
time per operation/8 workers, 95% reads with Lock:
1948.54 ns
time per operation/8 workers, 95% reads with Rwlock:
1667.91 ns
time per operation/8 workers, 95% reads with Sem:
1914.77 ns
(cd _build/default/bench && ./main.exe -brief Picos_stdio)
Picos_stdio:
blocking reads over time/1 worker:
0.04 M/s
blocking reads over time/2 workers:
0.06 M/s
blocking reads over time/4 workers:
0.09 M/s
non-blocking reads over time/1 worker:
0.39 M/s
non-blocking reads over time/2 workers:
0.75 M/s
non-blocking reads over time/4 workers:
1.21 M/s
time per blocking read/1 worker:
26830.54 ns
time per blocking read/2 workers:
35120.17 ns
time per blocking read/4 workers:
46455.93 ns
time per non-blocking read/1 worker:
2595.99 ns
time per non-blocking read/2 workers:
2663.08 ns
time per non-blocking read/4 workers:
3307.85 ns
(cd _build/default/bench && ./main.exe -brief 'Picos_sync Stream')
Picos_sync Stream:
messages over time/1 nb pusher, 1 nb reader:
1.69 M/s
messages over time/2 nb pushers, 1 nb reader:
1.29 M/s
messages over time/4 nb pushers, 1 nb reader:
1.05 M/s
messages over time/one domain:
2.58 M/s
time per message/1 nb pusher, 1 nb reader:
1186.13 ns
time per message/2 nb pushers, 1 nb reader:
2332.58 ns
time per message/4 nb pushers, 1 nb reader:
4780.70 ns
time per message/one domain:
388.35 ns
(cd _build/default/bench && ./main.exe -brief Fib)
Fib:
spawns over time/1 mfifo, fib 20:
0.26 M/s
spawns over time/2 mfifos, fib 20:
0.44 M/s
spawns over time/4 mfifos, fib 20:
0.30 M/s
spawns over time/8 mfifos, fib 20:
0.25 M/s
time per spawn/1 mfifo, fib 20:
3814.56 ns
time per spawn/2 mfifos, fib 20:
4556.36 ns
time per spawn/4 mfifos, fib 20:
13479.23 ns
time per spawn/8 mfifos, fib 20:
31658.50 ns
(cd _build/default/bench && ./main.exe -brief 'Picos binaries')
Picos binaries:
binary size/picos:
95.31 kB
binary size/picos.domain:
5.16 kB
binary size/picos.thread:
4.60 kB
binary size/picos_aux.htbl:
58.28 kB
binary size/picos_aux.mpmcq:
17.18 kB
binary size/picos_aux.mpscq:
20.56 kB
binary size/picos_aux.rc:
20.22 kB
binary size/picos_io:
116.29 kB
binary size/picos_io.fd:
10.81 kB
binary size/picos_io.select:
67.17 kB
binary size/picos_io_cohttp:
48.64 kB
binary size/picos_lwt:
30.12 kB
binary size/picos_lwt.unix:
16.20 kB
binary size/picos_mux.fifo:
30.44 kB
binary size/picos_mux.multififo:
67.68 kB
binary size/picos_mux.random:
53.16 kB
binary size/picos_mux.thread:
26.88 kB
binary size/picos_std.awaitable:
36.58 kB
binary size/picos_std.event:
26.30 kB
binary size/picos_std.finally:
20.88 kB
binary size/picos_std.structured:
94.91 kB
binary size/picos_std.sync:
235.23 kB
(cd _build/default/bench && ./main.exe -brief 'Bounded_q with Picos_std_sync')
Bounded_q with Picos_std_sync:
messages over time/1 adder, 1 taker with Lock:
1.50 M/s
messages over time/1 adder, 2 takers with Lock:
0.41 M/s
messages over time/1 adder, 4 takers with Lock:
0.26 M/s
messages over time/2 adders, 1 taker with Lock:
0.90 M/s
messages over time/2 adders, 2 takers with Lock:
0.32 M/s
messages over time/2 adders, 4 takers with Lock:
0.22 M/s
messages over time/4 adders, 1 taker with Lock:
1.13 M/s
messages over time/4 adders, 2 takers with Lock:
0.65 M/s
messages over time/4 adders, 4 takers with Lock:
0.68 M/s
messages over time/one domain with Lock:
7.30 M/s
time per message/1 adder, 1 taker with Lock:
1332.49 ns
time per message/1 adder, 2 takers with Lock:
7336.10 ns
time per message/1 adder, 4 takers with Lock:
19211.67 ns
time per message/2 adders, 1 taker with Lock:
3334.86 ns
time per message/2 adders, 2 takers with Lock:
12525.28 ns
time per message/2 adders, 4 takers with Lock:
27001.61 ns
time per message/4 adders, 1 taker with Lock:
4435.91 ns
time per message/4 adders, 2 takers with Lock:
9212.75 ns
time per message/4 adders, 4 takers with Lock:
11847.11 ns
time per message/one domain with Lock:
136.91 ns
(cd _build/default/bench && ./main.exe -brief 'Memory usage')
Memory usage:
stack and heap used/Fun.protect:
80.00 B
stack and heap used/fiber in a bundle:
240.00 B
stack and heap used/fiber in a flock:
256.00 B
stack and heap used/fiber with shared computation & latch:
240.00 B
stack and heap used/finally:
40.00 B
stack and heap used/instantiate:
96.00 B
stack and heap used/join_after bundle:
248.00 B
stack and heap used/join_after flock:
248.00 B
stack and heap used/lastly:
32.00 B
stack and heap used/promise in a bundle:
360.00 B
stack and heap used/promise in a flock:
376.00 B
2025-06-26 08:43.48 ---> saved as "53b47c7232b0513ed41a7b5f9d062bf641c7fb65a70bbefbe24af1b61d215f97"
Job succeeded
2025-06-26 08:43.48: Job succeeded