2024-10-18 17:21.21: New job: test ocaml-multicore/picos https://github.com/ocaml-multicore/picos.git#refs/heads/add-full-cml-support (5a5c3f4211b732db0cb58beba01031e882eb0247) (linux-x86_64:alpine-3.20-5.2_opam-2.2)
Base: ocaml/opam:alpine-3.20-ocaml-5.2@sha256:71df2e5aaad72c8272f9ef429b10442e240e9e06c5c9cfd5b8afd74f0688abd3
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/picos.git" -b "add-full-cml-support" && cd "picos" && git reset --hard 5a5c3f42
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.20-ocaml-5.2@sha256:71df2e5aaad72c8272f9ef429b10442e240e9e06c5c9cfd5b8afd74f0688abd3
# alpine-3.20-5.2_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff || git fetch origin master) && git reset -q --hard b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff && 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 './'
ENV DEPS="alcotest.1.8.0 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 backoff.0.1.1 base.v0.17.1 base-bigarray.base base-bytes.base base-domains.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.0 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.0.0~beta2 cohttp-lwt.6.0.0~beta2 cohttp-lwt-unix.6.0.0~beta2 conduit.6.2.3 conduit-lwt.6.2.3 conduit-lwt-unix.6.2.3 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.3 containers.3.14 cppo.1.7.0 csexp.1.5.2 digestif.1.2.0 domain-local-await.1.0.1 domain-name.0.4.0 domain_shims.0.1.0 dscheck.0.5.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 either.1.0.0 eqaf.0.10 fmt.0.9.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 host-arch-x86_64.1 host-system-other.1 http.6.0.0~beta2 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.5.8.2 js_of_ocaml-compiler.5.8.2 kdf.1.0.0 logs.0.7.0 lwt.5.7.0 macaddr.5.6.0 magic-mime.1.3.1 mdx.2.4.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-crypto.1.1.0 mirage-crypto-ec.1.1.0 mirage-crypto-pk.1.1.0 mirage-crypto-rng.1.1.0 mtime.2.1.0 multicore-bench.0.1.7 multicore-magic.2.3.0 multicore-magic-dscheck.2.3.0 num.1.5-1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.9 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ohex.0.2.0 oseq.0.5.1 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.0 ppxlib.0.33.0 ppxlib_jane.v0.17.0 psq.0.2.1 ptime.1.2.0 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 rresult.0.7.0 sedlex.3.2 seq.base sexplib.v0.17.0 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.7 tsort.2.1.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 x509.1.0.4 yojson.2.2.2 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --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
2024-10-18 17:21.21: Using cache hint "ocaml-multicore/picos-ocaml/opam:alpine-3.20-ocaml-5.2@sha256:71df2e5aaad72c8272f9ef429b10442e240e9e06c5c9cfd5b8afd74f0688abd3-alpine-3.20-5.2_opam-2.2-fced3cdd85a85d118ba528ff1c2bc94d"
2024-10-18 17:21.21: Using OBuilder spec:
((from ocaml/opam:alpine-3.20-ocaml-5.2@sha256:71df2e5aaad72c8272f9ef429b10442e240e9e06c5c9cfd5b8afd74f0688abd3)
(comment alpine-3.20-5.2_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.2 /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 b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff || git fetch origin master) && git reset -q --hard b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff && 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 './'"))
(env DEPS "alcotest.1.8.0 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 backoff.0.1.1 base.v0.17.1 base-bigarray.base base-bytes.base base-domains.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.0 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.0.0~beta2 cohttp-lwt.6.0.0~beta2 cohttp-lwt-unix.6.0.0~beta2 conduit.6.2.3 conduit-lwt.6.2.3 conduit-lwt-unix.6.2.3 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.3 containers.3.14 cppo.1.7.0 csexp.1.5.2 digestif.1.2.0 domain-local-await.1.0.1 domain-name.0.4.0 domain_shims.0.1.0 dscheck.0.5.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 either.1.0.0 eqaf.0.10 fmt.0.9.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 host-arch-x86_64.1 host-system-other.1 http.6.0.0~beta2 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.5.8.2 js_of_ocaml-compiler.5.8.2 kdf.1.0.0 logs.0.7.0 lwt.5.7.0 macaddr.5.6.0 magic-mime.1.3.1 mdx.2.4.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-crypto.1.1.0 mirage-crypto-ec.1.1.0 mirage-crypto-pk.1.1.0 mirage-crypto-rng.1.1.0 mtime.2.1.0 multicore-bench.0.1.7 multicore-magic.2.3.0 multicore-magic-dscheck.2.3.0 num.1.5-1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.9 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ohex.0.2.0 oseq.0.5.1 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.0 ppxlib.0.33.0 ppxlib_jane.v0.17.0 psq.0.2.1 ptime.1.2.0 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 rresult.0.7.0 sedlex.3.2 seq.base sexplib.v0.17.0 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.7 tsort.2.1.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 x509.1.0.4 yojson.2.2.2 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.2 --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"))
)
2024-10-18 17:21.21: Waiting for resource in pool OCluster
2024-10-18 17:26.43: Waiting for worker…
2024-10-18 17:34.43: Got resource from pool OCluster
Building on x86-bm-c16.sw.ocaml.org
All commits already cached
HEAD is now at 5a5c3f4 Add CML style Ch
(from ocaml/opam:alpine-3.20-ocaml-5.2@sha256:71df2e5aaad72c8272f9ef429b10442e240e9e06c5c9cfd5b8afd74f0688abd3)
Unable to find image 'ocaml/opam:alpine-3.20-ocaml-5.2@sha256:71df2e5aaad72c8272f9ef429b10442e240e9e06c5c9cfd5b8afd74f0688abd3' locally
docker.io/ocaml/opam@sha256:71df2e5aaad72c8272f9ef429b10442e240e9e06c5c9cfd5b8afd74f0688abd3: Pulling from ocaml/opam
0633ffa89fe4: Pulling fs layer
0633ffa89fe4: Verifying Checksum
0633ffa89fe4: Download complete
0633ffa89fe4: Pull complete
Digest: sha256:71df2e5aaad72c8272f9ef429b10442e240e9e06c5c9cfd5b8afd74f0688abd3
Status: Downloaded newer image for ocaml/opam@sha256:71df2e5aaad72c8272f9ef429b10442e240e9e06c5c9cfd5b8afd74f0688abd3
2024-10-18 17:34.43 ---> using "9e024342dba2b0577baa3b159e17fee223c31f0c750d40466894a3b6f35c8915" from cache
/: (comment alpine-3.20-5.2_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-10-18 17:34.43 ---> using "6e7d1d279a66d4da46d1af479ae8c5b5fd9684c3b059a94697cdf6e9e5d7d965" 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] synchronised from file:///home/opam/opam-repository
2024-10-18 17:34.43 ---> using "4a6bf24edc5172909fdaa7d432c6b0aa7c6ddad47b26133c17e731338c757617" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 5.2.0
2.2.1
2024-10-18 17:34.43 ---> using "f925a37a0be7ea0e89f9b428a6059c2974a2a2e40dce3df77c9fb2b594ee414b" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-10-18 17:34.43 ---> using "6b67a6fc075d84b4fcc549d6001bd9c2ccf85fbb529576d8dc60ec7c1bb87be5" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff || git fetch origin master) && git reset -q --hard b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
75006f8c5e..b8e118d3ef master -> origin/master
b8e118d3ef Merge pull request #26758 from polytypic/release-multicore-bench-0.1.7
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from 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.
# Run eval $(opam env) to update the current shell environment
2024-10-18 17:34.43 ---> using "2b88ba6b513267427d253df7f45a2fbed950ee5db97a0458032638908076f6f8" 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 ./))
2024-10-18 17:34.43 ---> using "757e123c89674d2bc25baa359081d2ec66f4012d017e297ae3385d161442c806" 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)
2024-10-18 17:34.43 ---> using "241158a8d4904493e502b4aa4c82482e0b058712145bbc6dd9d8eb0c3c96b5bf" from cache
/src: (env DEPS "alcotest.1.8.0 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 backoff.0.1.1 base.v0.17.1 base-bigarray.base base-bytes.base base-domains.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.0 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.0.0~beta2 cohttp-lwt.6.0.0~beta2 cohttp-lwt-unix.6.0.0~beta2 conduit.6.2.3 conduit-lwt.6.2.3 conduit-lwt-unix.6.2.3 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.3 containers.3.14 cppo.1.7.0 csexp.1.5.2 digestif.1.2.0 domain-local-await.1.0.1 domain-name.0.4.0 domain_shims.0.1.0 dscheck.0.5.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 either.1.0.0 eqaf.0.10 fmt.0.9.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 host-arch-x86_64.1 host-system-other.1 http.6.0.0~beta2 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.5.8.2 js_of_ocaml-compiler.5.8.2 kdf.1.0.0 logs.0.7.0 lwt.5.7.0 macaddr.5.6.0 magic-mime.1.3.1 mdx.2.4.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-crypto.1.1.0 mirage-crypto-ec.1.1.0 mirage-crypto-pk.1.1.0 mirage-crypto-rng.1.1.0 mtime.2.1.0 multicore-bench.0.1.7 multicore-magic.2.3.0 multicore-magic-dscheck.2.3.0 num.1.5-1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.9 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ohex.0.2.0 oseq.0.5.1 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.0 ppxlib.0.33.0 ppxlib_jane.v0.17.0 psq.0.2.1 ptime.1.2.0 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 rresult.0.7.0 sedlex.3.2 seq.base sexplib.v0.17.0 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.7 tsort.2.1.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 x509.1.0.4 yojson.2.2.2 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.2 --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.20/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/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.20.3-179-ga91f588948a [https://dl-cdn.alpinelinux.org/alpine/v3.20/main]
- v3.20.3-179-ga91f588948a [https://dl-cdn.alpinelinux.org/alpine/v3.20/community]
- v20240923-2214-g88f7343df9d [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20240923-2219-gddb34f4f50f [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20240923-2220-g4b1b6f3cf69 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 55559 distinct packages available
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[picos.dev] synchronised (no changes)
[picos_aux.dev] synchronised (no changes)
[picos_io.dev] synchronised (no changes)
[picos_io_cohttp.dev] synchronised (no changes)
[picos_lwt.dev] synchronised (no changes)
[picos_meta.dev] synchronised (no changes)
[picos_mux.dev] synchronised (no changes)
[picos_std.dev] synchronised (no changes)
[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-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[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-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/8) Installing libgmpxx (6.3.0-r1)
- (2/8) Installing gmp-dev (6.3.0-r1)
- (3/8) Installing ada-libs (2.7.8-r0)
- (4/8) 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/8) Installing icu-libs (74.2-r0)
- (6/8) Installing libuv (1.48.0-r0)
- (7/8) Installing nodejs-current (21.7.3-r0)
- (8/8) Installing npm (10.8.0-r0)
- Executing busybox-1.36.1-r29.trigger
- OK: 364 MiB in 109 packages
2024-10-18 17:34.43 ---> using "74177e678e5be50019df61790e8b2d065febe2da80e8bde5c1acebdb56f3fa61" 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-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[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-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 102 packages
- install alcotest 1.8.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.1
- install base-bytes base
- install base64 3.5.1
- install bigstringaf 0.10.0
- install bos 0.2.1
- install ca-certs 1.0.0
- install camlp-streams 5.0.1
- install cmdliner 1.3.0
- install cohttp 6.0.0~beta2
- install cohttp-lwt 6.0.0~beta2
- install cohttp-lwt-unix 6.0.0~beta2
- install conduit 6.2.3
- install conduit-lwt 6.2.3
- install conduit-lwt-unix 6.2.3
- install conf-gmp 4
- install conf-gmp-powm-sec 3
- install conf-npm 1
- install conf-pkg-config 3
- install containers 3.14
- install cppo 1.7.0
- install csexp 1.5.2
- install digestif 1.2.0
- install domain-local-await 1.0.1
- install domain-name 0.4.0
- install domain_shims 0.1.0
- install dscheck 0.5.0
- install dune 3.16.0
- install dune-configurator 3.16.0
- install duration 0.2.1
- install either 1.0.0
- install eqaf 0.10
- install fmt 0.9.0
- install fpath 0.7.3
- install gen 1.1
- install gmap 0.3.0
- install http 6.0.0~beta2
- install ipaddr 5.6.0
- install ipaddr-sexp 5.6.0
- install js_of_ocaml 5.8.2
- install js_of_ocaml-compiler 5.8.2
- install kdf 1.0.0
- install logs 0.7.0
- install lwt 5.7.0
- install macaddr 5.6.0
- install magic-mime 1.3.1
- install mdx 2.4.1
- install menhir 20240715
- install menhirCST 20240715
- install menhirLib 20240715
- install menhirSdk 20240715
- install mirage-crypto 1.1.0
- install mirage-crypto-ec 1.1.0
- install mirage-crypto-pk 1.1.0
- install mirage-crypto-rng 1.1.0
- install mtime 2.1.0
- install multicore-bench 0.1.7
- install multicore-magic 2.3.0
- install multicore-magic-dscheck 2.3.0
- install num 1.5-1
- install ocaml-compiler-libs v0.17.0
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 3.6.9
- install ocaml_intrinsics_kernel v0.17.1
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install ocplib-endian 1.2
- install ohex 0.2.0
- install oseq 0.5.1
- install parsexp v0.17.0
- install ppx_derivers 1.2.1
- install ppx_sexp_conv v0.17.0
- install ppxlib 0.33.0
- install ppxlib_jane v0.17.0
- install psq 0.2.1
- install ptime 1.2.0
- install qcheck-core 0.22
- install qcheck-multicoretests-util 0.4
- install qcheck-stm 0.4
- install re 1.12.0
- install result 1.5
- install rresult 0.7.0
- install sedlex 3.2
- install seq base
- install sexplib v0.17.0
- 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.7
- install tsort 2.1.0
- install uri 4.4.0
- install uri-sexp 4.4.0
- install uutf 1.0.3
- install x509 1.0.4
- install yojson 2.2.2
- install zarith 1.14
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved asn1-combinators.0.3.2 (cached)
-> retrieved angstrom.0.16.1 (cached)
-> retrieved backoff.0.1.1 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved base.v0.17.1 (cached)
-> retrieved base64.3.5.1 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved bos.0.2.1 (cached)
-> retrieved ca-certs.1.0.0 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved conf-gmp.4 (cached)
-> retrieved conf-gmp-powm-sec.3 (cached)
-> retrieved cohttp.6.0.0~beta2, cohttp-lwt.6.0.0~beta2, cohttp-lwt-unix.6.0.0~beta2, http.6.0.0~beta2 (cached)
-> retrieved conduit.6.2.3, conduit-lwt.6.2.3, conduit-lwt-unix.6.2.3 (cached)
-> retrieved containers.3.14 (cached)
-> installed conf-gmp.4
-> installed conf-npm.1
-> installed conf-pkg-config.3
-> retrieved cppo.1.7.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved domain-local-await.1.0.1 (cached)
-> retrieved domain_shims.0.1.0 (cached)
-> retrieved domain-name.0.4.0 (cached)
-> retrieved dscheck.0.5.0 (cached)
-> installed conf-gmp-powm-sec.3
-> retrieved duration.0.2.1 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved eqaf.0.10 (cached)
-> retrieved fmt.0.9.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.2.0 (cached)
-> retrieved kdf.1.0.0 (cached)
-> retrieved js_of_ocaml.5.8.2, js_of_ocaml-compiler.5.8.2 (cached)
-> retrieved dune.3.16.0, dune-configurator.3.16.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved lwt.5.7.0 (cached)
-> retrieved magic-mime.1.3.1 (cached)
-> retrieved mdx.2.4.1 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> installed cmdliner.1.3.0
-> retrieved mtime.2.1.0 (cached)
-> retrieved multicore-bench.0.1.7 (cached)
-> retrieved multicore-magic.2.3.0, multicore-magic-dscheck.2.3.0 (cached)
-> retrieved num.1.5-1 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.3.6.9 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved mirage-crypto.1.1.0, mirage-crypto-ec.1.1.0, mirage-crypto-pk.1.1.0, mirage-crypto-rng.1.1.0 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved ohex.0.2.0 (cached)
-> retrieved oseq.0.5.1 (cached)
-> retrieved parsexp.v0.17.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_sexp_conv.v0.17.0 (cached)
-> retrieved ppxlib_jane.v0.17.0 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved qcheck-multicoretests-util.0.4, qcheck-stm.0.4 (cached)
-> retrieved qcheck-core.0.22 (cached)
-> retrieved ppxlib.0.33.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 sexplib.v0.17.0 (cached)
-> retrieved sedlex.3.2 (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.1.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved uri.4.4.0, uri-sexp.4.4.0 (cached)
-> retrieved yojson.2.2.2 (cached)
-> retrieved x509.1.0.4 (cached)
-> retrieved zarith.1.14 (cached)
-> installed num.1.5-1
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.15.0
-> installed zarith.1.14
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed mtime.2.1.0
-> installed uutf.1.0.3
-> installed ptime.1.2.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.16.0
-> installed backoff.0.1.1
-> installed base64.3.5.1
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed domain-name.0.4.0
-> installed asn1-combinators.0.3.2
-> installed cppo.1.7.0
-> 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.0.0~beta2
-> installed macaddr.5.6.0
-> installed magic-mime.1.3.1
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed multicore-magic.2.3.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-version.3.6.9
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ohex.0.2.0
-> installed oseq.0.5.1
-> installed ppx_derivers.1.2.1
-> installed psq.0.2.1
-> installed re.1.12.0
-> 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.1.0
-> installed ocplib-endian.1.2
-> installed qcheck-core.0.22
-> installed ipaddr.5.6.0
-> installed domain-local-await.1.0.1
-> installed digestif.1.2.0
-> installed qcheck-multicoretests-util.0.4
-> installed alcotest.1.8.0
-> installed qcheck-stm.0.4
-> installed yojson.2.2.2
-> installed dune-configurator.3.16.0
-> installed parsexp.v0.17.0
-> installed multicore-bench.0.1.7
-> installed bigstringaf.0.10.0
-> installed sexplib.v0.17.0
-> installed angstrom.0.16.1
-> installed containers.3.14
-> installed uri.4.4.0
-> installed dscheck.0.5.0
-> installed mirage-crypto.1.1.0
-> installed multicore-magic-dscheck.2.3.0
-> installed kdf.1.0.0
-> installed lwt.5.7.0
-> installed base.v0.17.1
-> installed menhir.20240715
-> installed ppxlib.0.33.0
-> installed ppxlib_jane.v0.17.0
-> installed sedlex.3.2
-> installed ppx_sexp_conv.v0.17.0
-> installed ipaddr-sexp.5.6.0
-> installed uri-sexp.4.4.0
-> installed js_of_ocaml-compiler.5.8.2
-> installed js_of_ocaml.5.8.2
-> installed logs.0.7.0
-> installed mirage-crypto-rng.1.1.0
-> installed mirage-crypto-pk.1.1.0
-> installed conduit.6.2.3
-> installed cohttp.6.0.0~beta2
-> installed mdx.2.4.1
-> installed bos.0.2.1
-> installed conduit-lwt.6.2.3
-> installed cohttp-lwt.6.0.0~beta2
-> installed mirage-crypto-ec.1.1.0
-> installed x509.1.0.4
-> installed ca-certs.1.0.0
-> installed conduit-lwt-unix.6.2.3
-> installed cohttp-lwt-unix.6.0.0~beta2
Done.
# Run eval $(opam env) to update the current shell environment
2024-10-18 17:34.43 ---> using "45dc55dcf940bf726110404ec148733e010425c369d9aa9df5d6ef7e3a7a03c3" from cache
/src: (copy (src .) (dst /src))
2024-10-18 17:34.44 ---> saved as "c2f82693ea7db98faa83ab5f96b517454f8775b2fcc3474e3fd580d32371567f"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test_lwt_unix.exe)
Testing `Picos_lwt'.
This run has ID `CDOOY493'.
[OK] Basics 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_lwt'.
Test Successful in 0.051s. 1 test run.
(cd _build/default/test && ./test_finally.exe)
Testing `Picos_finally'.
This run has ID `MN2O12E3'.
[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.014s. 2 tests run.
(cd _build/default/test && ./test_server_and_client.exe)
Using non-blocking sockets and fibers on OCaml 5:
Looping server running
Server listening
Server accepting
Client B running
Client A running
Server accepted client
Server accepting
Server accepted client
Server accepting
Client A connected
Client A wrote 100
Client B connected
Client B wrote 100
Server read 100
Server wrote 50
Client A read 50
Server read 100
Client B read 50
Server wrote 50
Server and Client test: OK
(cd _build/default/test && ./test_picos_lwt_unix_with_cohttp.exe)
Unix.Unix_error(Unix.ECONNREFUSED, "connect", "")
(cd _build/default/test && ./test_sync.exe -- Event 0)
Testing `Picos_sync'.
This run has ID `MKXPIW9L'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[OK] Event 0 basics.
[SKIP] Ch 0 basics.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.151s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Ch 0)
Testing `Picos_sync'.
This run has ID `BM3QPRN2'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[OK] Ch 0 basics.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.036s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Lazy 0)
Testing `Picos_sync'.
This run has ID `66B2IC83'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[OK] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Ch 0 basics.
[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_io.exe)
Testing `Picos_io'.
This run has ID `UWS77LIC'.
[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.682s. 6 tests run.
(cd _build/default/test && ./test_sync.exe -- Lazy 1)
Testing `Picos_sync'.
This run has ID `MQGUSGSL'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Lazy 0 basics.
[OK] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Ch 0 basics.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.078s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Semaphore 0)
Testing `Picos_sync'.
This run has ID `9IJI807G'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[OK] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Ch 0 basics.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.050s. 1 test run.
(cd _build/default/test && ./test_structured.exe)
Testing `Picos_structured'.
This run has ID `78TN0OTI'.
[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] Bundle 11 any and all errors.
[OK] Bundle 12 any and all returns.
[OK] Bundle 13 race any.
Full test results in `/src/_build/default/test/_build/_tests/Picos_structured'.
Test Successful in 1.206s. 14 tests run.
(cd _build/default/test && ./test_io_cohttp.exe)
Uri: //127.0.0.1:32799/hello-io-cohttp
Method: POST
host: 127.0.0.1:32799
user-agent: ocaml-cohttp/v6.0.0_beta2
content-length: 17
Body: It's-a-Me, Picos!
(cd _build/default/test && ./test_sync.exe -- Semaphore 1)
Testing `Picos_sync'.
This run has ID `EVXWKAF3'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Semaphore 0 basics.
[OK] Semaphore 1 stress.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Ch 0 basics.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 1.127s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Non-cancelable ops' 0)
Testing `Picos_sync'.
This run has ID `Q5PWR65M'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Ch 0 basics.
[OK] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.033s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 0)
Testing `Picos_sync'.
This run has ID `YGF1G3J1'.
[OK] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Ch 0 basics.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.025s. 1 test run.
(cd _build/default/test && ./test_io_with_lwt.exe)
Testing `Picos_io_with_lwt'.
This run has ID `Q1US5PTR'.
[OK] Unix 0 system.
Full test results in `/src/_build/default/test/_build/_tests/Picos_io_with_lwt'.
Test Successful in 2.150s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 1)
Testing `Picos_sync'.
This run has ID `FX649GA8'.
[SKIP] Mutex and Condition 0 basics.
[OK] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Ch 0 basics.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.033s. 1 test run.
(cd _build/default/test && ./test_select.exe)
Testing `Picos_select'.
This run has ID `92XKAV3I'.
[OK] Intr 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_select'.
Test Successful in 3.003s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 2)
Testing `Picos_sync'.
This run has ID `SMYOAWFP'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[OK] Mutex and Condition 2 cancelation.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
[SKIP] Ch 0 basics.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 1.125s. 1 test run.
(cd _build/default/test && ./test_picos_dscheck.exe)
Testing `Picos DSCheck'.
This run has ID `9NBAG4Q3'.
[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 2.125s. 3 tests run.
(cd _build/default/bench && ./main.exe -brief 'Picos Computation')
Picos Computation:
attach detach pairs over time/1 worker:
0.53 M/s
attach detach pairs over time/2 workers:
1.39 M/s
attach detach pairs over time/4 workers:
1.12 M/s
attach detach pairs over time/trivial:
2.63 M/s
time per attach detach pair/1 worker:
1904.69 ns
time per attach detach pair/2 workers:
1436.55 ns
time per attach detach pair/4 workers:
3562.99 ns
time per attach detach pair/trivial:
380.77 ns
(cd _build/default/bench && ./main.exe -brief 'Picos Current')
Picos Current:
ops over time/1 worker:
3.90 M/s
ops over time/2 workers:
42.00 M/s
ops over time/4 workers:
20.39 M/s
time per op/1 worker:
256.55 ns
time per op/2 workers:
47.62 ns
time per op/4 workers:
196.13 ns
(cd _build/default/test && ./test_mpmcq_dscheck.exe)
Testing `Picos_mpmcq DSCheck'.
This run has ID `423R0PF0'.
[OK] Multiple pushes and pops 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_mpmcq DSCheck'.
Test Successful in 5.554s. 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 FLS (excluding Current)')
Picos FLS (excluding Current):
gets over time/1 worker:
119.69 M/s
gets over time/2 workers:
185.34 M/s
gets over time/4 workers:
271.26 M/s
sets over time/1 worker:
74.96 M/s
sets over time/2 workers:
119.30 M/s
sets over time/4 workers:
103.40 M/s
time per get/1 worker:
8.35 ns
time per get/2 workers:
10.79 ns
time per get/4 workers:
14.75 ns
time per set/1 worker:
13.34 ns
time per set/2 workers:
16.76 ns
time per set/4 workers:
38.68 ns
(cd _build/default/bench && ./main.exe -brief 'Picos TLS')
Picos TLS:
gets over time/1 worker:
42.54 M/s
gets over time/2 workers:
75.58 M/s
gets over time/4 workers:
76.72 M/s
sets over time/1 worker:
33.80 M/s
sets over time/2 workers:
48.44 M/s
sets over time/4 workers:
68.36 M/s
time per get/1 worker:
23.50 ns
time per get/2 workers:
26.46 ns
time per get/4 workers:
52.14 ns
time per set/1 worker:
29.58 ns
time per set/2 workers:
41.29 ns
time per set/4 workers:
58.51 ns
(cd _build/default/bench && ./main.exe -brief 'Picos DLS')
Picos DLS:
gets over time/1 worker:
32.21 M/s
gets over time/2 workers:
61.89 M/s
gets over time/4 workers:
143.72 M/s
sets over time/1 worker:
17.66 M/s
sets over time/2 workers:
44.84 M/s
sets over time/4 workers:
86.09 M/s
time per get/1 worker:
31.05 ns
time per get/2 workers:
32.32 ns
time per get/4 workers:
27.83 ns
time per set/1 worker:
56.62 ns
time per set/2 workers:
44.60 ns
time per set/4 workers:
46.47 ns
(cd _build/default/test && ./test_schedulers.exe)
Testing `Picos schedulers'.
This run has ID `OB5KNF1F'.
[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 30.744s. 8 tests run.
(cd _build/default/bench && ./main.exe -brief 'Picos Mutex')
Picos Mutex:
locked yields over time/1024 fibers:
0.14 M/s
locked yields over time/1 fiber:
0.92 M/s
locked yields over time/256 fibers:
0.17 M/s
locked yields over time/2 domains:
0.15 M/s
locked yields over time/2 fibers:
0.38 M/s
locked yields over time/4 domains:
0.01 M/s
locked yields over time/4 fibers:
0.31 M/s
locked yields over time/512 fibers:
0.21 M/s
locked yields over time/8 domains:
0.00 M/s
locked yields over time/8 fibers:
0.20 M/s
time per locked yield/1024 fibers:
7288.32 ns
time per locked yield/1 fiber:
1092.21 ns
time per locked yield/256 fibers:
5784.16 ns
time per locked yield/2 domains:
13443.80 ns
time per locked yield/2 fibers:
2608.39 ns
time per locked yield/4 domains:
372267.96 ns
time per locked yield/4 fibers:
3222.19 ns
time per locked yield/512 fibers:
4875.12 ns
time per locked yield/8 domains:
1836714.44 ns
time per locked yield/8 fibers:
5013.46 ns
(cd _build/default/bench && ./main.exe -brief 'Picos Semaphore')
Picos Semaphore:
acquired yields over time/4 domains, 1 resource:
0.43 M/s
acquired yields over time/4 domains, 2 resources:
1.35 M/s
acquired yields over time/4 domains, 3 resources:
3.19 M/s
acquired yields over time/4 domains, 4 resources:
4.72 M/s
acquired yields over time/4 fibers, 1 resource:
0.30 M/s
acquired yields over time/4 fibers, 2 resources:
0.57 M/s
acquired yields over time/4 fibers, 3 resources:
0.78 M/s
acquired yields over time/4 fibers, 4 resources:
2.30 M/s
time per acquired yield/4 domains, 1 resource:
9208.37 ns
time per acquired yield/4 domains, 2 resources:
2967.43 ns
time per acquired yield/4 domains, 3 resources:
1255.32 ns
time per acquired yield/4 domains, 4 resources:
846.90 ns
time per acquired yield/4 fibers, 1 resource:
3378.17 ns
time per acquired yield/4 fibers, 2 resources:
1748.42 ns
time per acquired yield/4 fibers, 3 resources:
1284.62 ns
time per acquired yield/4 fibers, 4 resources:
435.09 ns
(cd _build/default/bench && ./main.exe -brief 'Picos Spawn')
Picos Spawn:
spawns over time/with packed computation:
4.35 M/s
time per spawn/with packed computation:
229.93 ns
(cd _build/default/test && ./test_picos.exe)
Testing `Picos'.
This run has ID `JHVGW5DK'.
[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 54.035s. 7 tests run.
(cd _build/default/bench && ./main.exe -brief 'Picos Yield')
Picos Yield:
time per yield/10000 fibers:
297.89 ns
time per yield/1000 fibers:
146.71 ns
time per yield/100 fibers:
166.25 ns
time per yield/10 fibers:
181.38 ns
time per yield/1 fiber:
190.20 ns
yields over time/10000 fibers:
3.36 M/s
yields over time/1000 fibers:
6.82 M/s
yields over time/100 fibers:
6.02 M/s
yields over time/10 fibers:
5.51 M/s
yields over time/1 fiber:
5.26 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.31 M/s
async round-trips over time/2 workers:
0.48 M/s
async round-trips over time/4 workers:
0.95 M/s
round-trips over time/1 worker:
0.05 M/s
round-trips over time/2 workers:
0.12 M/s
round-trips over time/4 workers:
0.22 M/s
time per async round-trip/1 worker:
3256.79 ns
time per async round-trip/2 workers:
4204.08 ns
time per async round-trip/4 workers:
4228.25 ns
time per round-trip/1 worker:
19479.53 ns
time per round-trip/2 workers:
16425.10 ns
time per round-trip/4 workers:
18053.58 ns
(cd _build/default/test && ./test_mpmcq.exe)
random seed: 56061709145026268
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 1.2s Mpmcq parallel
[ ] 2 0 0 2 / 32 2.2s Mpmcq parallel
[ ] 3 0 0 3 / 32 3.4s Mpmcq parallel
[ ] 4 0 0 4 / 32 4.5s Mpmcq parallel
[ ] 5 0 0 5 / 32 5.7s Mpmcq parallel
[ ] 6 0 0 6 / 32 6.4s Mpmcq parallel
[ ] 7 0 0 7 / 32 7.1s Mpmcq parallel
[ ] 8 0 0 8 / 32 8.3s Mpmcq parallel
[ ] 9 0 0 9 / 32 9.3s Mpmcq parallel
[ ] 10 0 0 10 / 32 9.9s Mpmcq parallel
[ ] 11 0 0 11 / 32 10.9s Mpmcq parallel
[ ] 12 0 0 12 / 32 11.9s Mpmcq parallel
[ ] 13 0 0 13 / 32 12.8s Mpmcq parallel
[ ] 14 0 0 14 / 32 14.1s Mpmcq parallel
[ ] 15 0 0 15 / 32 15.1s Mpmcq parallel
[ ] 16 0 0 16 / 32 16.2s Mpmcq parallel
[ ] 17 0 0 17 / 32 17.4s Mpmcq parallel
[ ] 18 0 0 18 / 32 18.2s Mpmcq parallel
[ ] 19 0 0 19 / 32 19.0s Mpmcq parallel
[ ] 20 0 0 20 / 32 20.4s Mpmcq parallel
[ ] 21 0 0 21 / 32 21.5s Mpmcq parallel
[ ] 22 0 0 22 / 32 22.3s Mpmcq parallel
[ ] 23 0 0 23 / 32 23.0s Mpmcq parallel
[ ] 24 0 0 24 / 32 23.7s Mpmcq parallel
[ ] 25 0 0 25 / 32 24.3s Mpmcq parallel
[ ] 26 0 0 26 / 32 24.9s Mpmcq parallel
[ ] 27 0 0 27 / 32 25.5s Mpmcq parallel
[ ] 28 0 0 28 / 32 26.3s Mpmcq parallel
[ ] 29 0 0 29 / 32 27.0s Mpmcq parallel
[ ] 30 0 0 30 / 32 27.8s Mpmcq parallel
[ ] 31 0 0 31 / 32 28.4s Mpmcq parallel
[ ] 32 0 0 32 / 32 29.1s Mpmcq parallel
[✓] 32 0 0 32 / 32 29.1s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 3132124276706589660
generated error fail pass / total time test name
[ ] 0 0 0 0 / 33 0.0s Mpmcq sequential
[✓] 33 0 0 33 / 33 0.0s Mpmcq sequential
[ ] 0 0 0 0 / 33 0.0s Mpmcq parallel
[ ] 1 0 0 1 / 33 0.7s Mpmcq parallel
[ ] 2 0 0 2 / 33 1.3s Mpmcq parallel
[ ] 3 0 0 3 / 33 2.1s Mpmcq parallel
[ ] 4 0 0 4 / 33 2.8s Mpmcq parallel
[ ] 5 0 0 5 / 33 3.6s Mpmcq parallel
[ ] 6 0 0 6 / 33 4.3s Mpmcq parallel
[ ] 7 0 0 7 / 33 5.0s Mpmcq parallel
[ ] 8 0 0 8 / 33 5.8s Mpmcq parallel
[ ] 9 0 0 9 / 33 6.8s Mpmcq parallel
[ ] 10 0 0 10 / 33 7.6s Mpmcq parallel
[ ] 11 0 0 11 / 33 8.3s Mpmcq parallel
[ ] 12 0 0 12 / 33 9.0s Mpmcq parallel
[ ] 13 0 0 13 / 33 9.9s Mpmcq parallel
[ ] 14 0 0 14 / 33 10.8s Mpmcq parallel
[ ] 15 0 0 15 / 33 11.5s Mpmcq parallel
[ ] 16 0 0 16 / 33 12.2s Mpmcq parallel
[ ] 17 0 0 17 / 33 13.2s Mpmcq parallel
[ ] 18 0 0 18 / 33 13.8s Mpmcq parallel
[ ] 19 0 0 19 / 33 15.0s Mpmcq parallel
[ ] 20 0 0 20 / 33 15.6s Mpmcq parallel
[ ] 21 0 0 21 / 33 16.2s Mpmcq parallel
[ ] 22 0 0 22 / 33 16.6s Mpmcq parallel
[ ] 23 0 0 23 / 33 16.9s Mpmcq parallel
[ ] 24 0 0 24 / 33 17.1s Mpmcq parallel
[ ] 25 0 0 25 / 33 17.5s Mpmcq parallel
[ ] 26 0 0 26 / 33 17.7s Mpmcq parallel
[ ] 27 0 0 27 / 33 18.0s Mpmcq parallel
[ ] 29 0 0 29 / 33 18.2s Mpmcq parallel
[ ] 30 0 0 30 / 33 18.4s Mpmcq parallel
[ ] 32 0 0 32 / 33 18.7s Mpmcq parallel
[✓] 33 0 0 33 / 33 18.8s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 1934199617916397532
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Mpmcq sequential
[✓] 32 0 0 32 / 32 0.0s Mpmcq sequential
[ ] 0 0 0 0 / 32 0.0s Mpmcq parallel
[ ] 1 0 0 1 / 32 0.2s Mpmcq parallel
[ ] 2 0 0 2 / 32 0.4s Mpmcq parallel
[ ] 4 0 0 4 / 32 0.6s Mpmcq parallel
[ ] 5 0 0 5 / 32 0.8s Mpmcq parallel
[ ] 7 0 0 7 / 32 0.9s Mpmcq parallel
[ ] 9 0 0 9 / 32 1.2s Mpmcq parallel
[ ] 11 0 0 11 / 32 1.6s Mpmcq parallel
[ ] 12 0 0 12 / 32 2.1s Mpmcq parallel
[ ] 13 0 0 13 / 32 2.3s Mpmcq parallel
[ ] 14 0 0 14 / 32 2.6s Mpmcq parallel
[ ] 15 0 0 15 / 32 2.9s Mpmcq parallel
[ ] 16 0 0 16 / 32 3.2s Mpmcq parallel
[ ] 17 0 0 17 / 32 3.3s Mpmcq parallel
[ ] 18 0 0 18 / 32 3.6s Mpmcq parallel
[ ] 19 0 0 19 / 32 3.9s Mpmcq parallel
[ ] 20 0 0 20 / 32 4.0s Mpmcq parallel
[ ] 22 0 0 22 / 32 4.2s Mpmcq parallel
[ ] 23 0 0 23 / 32 4.4s Mpmcq parallel
[ ] 24 0 0 24 / 32 4.7s Mpmcq parallel
[ ] 25 0 0 25 / 32 4.9s Mpmcq parallel
[ ] 26 0 0 26 / 32 5.4s Mpmcq parallel
[ ] 28 0 0 28 / 32 6.1s Mpmcq parallel
[ ] 29 0 0 29 / 32 6.3s Mpmcq parallel
[ ] 30 0 0 30 / 32 6.8s Mpmcq parallel
[ ] 31 0 0 31 / 32 7.2s Mpmcq parallel
[✓] 32 0 0 32 / 32 7.3s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 1183028620449130214
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Mpmcq sequential
[✓] 32 0 0 32 / 32 0.0s Mpmcq sequential
[ ] 0 0 0 0 / 32 0.0s Mpmcq parallel
[ ] 1 0 0 1 / 32 0.1s Mpmcq parallel
[ ] 4 0 0 4 / 32 0.2s Mpmcq parallel
[ ] 7 0 0 7 / 32 0.7s Mpmcq parallel
[ ] 10 0 0 10 / 32 0.9s Mpmcq parallel
[ ] 16 0 0 16 / 32 1.1s Mpmcq parallel
[ ] 20 0 0 20 / 32 1.2s Mpmcq parallel
[ ] 25 0 0 25 / 32 1.4s Mpmcq parallel
[✓] 32 0 0 32 / 32 1.5s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 4205278716567197862
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Mpmcq sequential
[✓] 32 0 0 32 / 32 0.0s Mpmcq sequential
[ ] 0 0 0 0 / 32 0.0s Mpmcq parallel
[ ] 2 0 0 2 / 32 0.0s Mpmcq parallel
[ ] 8 0 0 8 / 32 0.2s Mpmcq parallel
[ ] 12 0 0 12 / 32 0.6s Mpmcq parallel
[ ] 22 0 0 22 / 32 0.7s Mpmcq parallel
[ ] 23 0 0 23 / 32 0.9s Mpmcq parallel
[ ] 26 0 0 26 / 32 1.0s Mpmcq parallel
[ ] 30 0 0 30 / 32 1.4s Mpmcq parallel
[ ] 32 0 0 32 / 32 1.5s Mpmcq parallel
[✓] 32 0 0 32 / 32 1.5s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 64165432460762737
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Mpmcq sequential
[✓] 32 0 0 32 / 32 0.0s Mpmcq sequential
[ ] 0 0 0 0 / 32 0.0s Mpmcq parallel
[ ] 8 0 0 8 / 32 0.1s Mpmcq parallel
[ ] 12 0 0 12 / 32 0.4s Mpmcq parallel
[ ] 17 0 0 17 / 32 0.5s Mpmcq parallel
[ ] 25 0 0 25 / 32 0.7s Mpmcq parallel
[✓] 32 0 0 32 / 32 0.8s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 1721589380981910595
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Mpmcq sequential
[✓] 32 0 0 32 / 32 0.0s Mpmcq sequential
[ ] 0 0 0 0 / 32 0.0s Mpmcq parallel
[ ] 1 0 0 1 / 32 0.0s Mpmcq parallel
[ ] 8 0 0 8 / 32 0.1s Mpmcq parallel
[ ] 15 0 0 15 / 32 0.5s Mpmcq parallel
[ ] 18 0 0 18 / 32 0.8s Mpmcq parallel
[ ] 27 0 0 27 / 32 1.0s Mpmcq parallel
[✓] 32 0 0 32 / 32 1.1s Mpmcq parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test && ./test_htbl.exe)
random seed: 1164871260511810896
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 1.2s Htbl parallel
[ ] 2 0 0 2 / 32 2.3s Htbl parallel
[ ] 3 0 0 3 / 32 4.6s Htbl parallel
[ ] 4 0 0 4 / 32 5.6s Htbl parallel
[ ] 5 0 0 5 / 32 6.4s Htbl parallel
[ ] 6 0 0 6 / 32 7.1s Htbl parallel
[ ] 7 0 0 7 / 32 7.9s Htbl parallel
[ ] 8 0 0 8 / 32 8.7s Htbl parallel
[ ] 9 0 0 9 / 32 9.6s Htbl parallel
[ ] 10 0 0 10 / 32 10.2s Htbl parallel
[ ] 11 0 0 11 / 32 10.9s Htbl parallel
[ ] 12 0 0 12 / 32 12.5s Htbl parallel
[ ] 13 0 0 13 / 32 13.3s Htbl parallel
[ ] 14 0 0 14 / 32 14.3s Htbl parallel
[ ] 15 0 0 15 / 32 16.3s Htbl parallel
[ ] 16 0 0 16 / 32 17.3s Htbl parallel
[ ] 17 0 0 17 / 32 18.3s Htbl parallel
[ ] 18 0 0 18 / 32 19.3s Htbl parallel
[ ] 19 0 0 19 / 32 20.3s Htbl parallel
[ ] 20 0 0 20 / 32 21.3s Htbl parallel
[ ] 21 0 0 21 / 32 22.3s Htbl parallel
[ ] 22 0 0 22 / 32 23.1s Htbl parallel
[ ] 23 0 0 23 / 32 23.7s Htbl parallel
[ ] 24 0 0 24 / 32 25.1s Htbl parallel
[ ] 25 0 0 25 / 32 25.6s Htbl parallel
[ ] 26 0 0 26 / 32 26.4s Htbl parallel
[ ] 27 0 0 27 / 32 27.3s Htbl parallel
[ ] 28 0 0 28 / 32 28.1s Htbl parallel
[ ] 29 0 0 29 / 32 28.8s Htbl parallel
[ ] 30 0 0 30 / 32 29.5s Htbl parallel
[ ] 31 0 0 31 / 32 30.2s Htbl parallel
[ ] 32 0 0 32 / 32 31.0s Htbl parallel
[✓] 32 0 0 32 / 32 31.0s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 4331722170775819443
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Htbl sequential
[✓] 32 0 0 32 / 32 0.0s Htbl sequential
[ ] 0 0 0 0 / 32 0.0s Htbl parallel
[ ] 1 0 0 1 / 32 0.8s Htbl parallel
[ ] 2 0 0 2 / 32 1.4s Htbl parallel
[ ] 3 0 0 3 / 32 3.1s Htbl parallel
[ ] 4 0 0 4 / 32 3.6s Htbl parallel
[ ] 5 0 0 5 / 32 4.4s Htbl parallel
[ ] 6 0 0 6 / 32 5.3s Htbl parallel
[ ] 7 0 0 7 / 32 6.0s Htbl parallel
[ ] 8 0 0 8 / 32 7.0s Htbl parallel
[ ] 9 0 0 9 / 32 7.6s Htbl parallel
[ ] 10 0 0 10 / 32 8.5s Htbl parallel
[ ] 11 0 0 11 / 32 9.3s Htbl parallel
[ ] 12 0 0 12 / 32 9.9s Htbl parallel
[ ] 13 0 0 13 / 32 10.7s Htbl parallel
[ ] 14 0 0 14 / 32 11.4s Htbl parallel
[ ] 15 0 0 15 / 32 12.4s Htbl parallel
[ ] 16 0 0 16 / 32 13.5s Htbl parallel
[ ] 17 0 0 17 / 32 14.1s Htbl parallel
[ ] 18 0 0 18 / 32 14.6s Htbl parallel
[ ] 19 0 0 19 / 32 14.9s Htbl parallel
[ ] 20 0 0 20 / 32 15.3s Htbl parallel
[ ] 21 0 0 21 / 32 15.6s Htbl parallel
[ ] 22 0 0 22 / 32 15.9s Htbl parallel
[ ] 24 0 0 24 / 32 16.1s Htbl parallel
[ ] 25 0 0 25 / 32 16.3s Htbl parallel
[ ] 26 0 0 26 / 32 16.5s Htbl parallel
[ ] 27 0 0 27 / 32 16.6s Htbl parallel
[ ] 29 0 0 29 / 32 16.9s Htbl parallel
[ ] 31 0 0 31 / 32 17.1s Htbl parallel
[✓] 32 0 0 32 / 32 17.1s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 2968065214599347718
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Htbl sequential
[✓] 32 0 0 32 / 32 0.0s Htbl sequential
[ ] 0 0 0 0 / 32 0.0s Htbl parallel
[ ] 1 0 0 1 / 32 0.2s Htbl parallel
[ ] 2 0 0 2 / 32 1.0s Htbl parallel
[ ] 3 0 0 3 / 32 1.1s Htbl parallel
[ ] 4 0 0 4 / 32 1.3s Htbl parallel
[ ] 5 0 0 5 / 32 1.5s Htbl parallel
[ ] 6 0 0 6 / 32 2.0s Htbl parallel
[ ] 7 0 0 7 / 32 2.1s Htbl parallel
[ ] 8 0 0 8 / 32 2.4s Htbl parallel
[ ] 9 0 0 9 / 32 2.7s Htbl parallel
[ ] 10 0 0 10 / 32 2.9s Htbl parallel
[ ] 11 0 0 11 / 32 3.1s Htbl parallel
[ ] 12 0 0 12 / 32 3.2s Htbl parallel
[ ] 13 0 0 13 / 32 3.4s Htbl parallel
[ ] 14 0 0 14 / 32 3.6s Htbl parallel
[ ] 15 0 0 15 / 32 3.8s Htbl parallel
[ ] 16 0 0 16 / 32 3.9s Htbl parallel
[ ] 18 0 0 18 / 32 4.2s Htbl parallel
[ ] 19 0 0 19 / 32 4.4s Htbl parallel
[ ] 20 0 0 20 / 32 4.6s Htbl parallel
[ ] 21 0 0 21 / 32 4.9s Htbl parallel
[ ] 22 0 0 22 / 32 5.1s Htbl parallel
[ ] 23 0 0 23 / 32 5.2s Htbl parallel
[ ] 24 0 0 24 / 32 5.4s Htbl parallel
[ ] 26 0 0 26 / 32 5.7s Htbl parallel
[ ] 27 0 0 27 / 32 6.3s Htbl parallel
[ ] 28 0 0 28 / 32 6.5s Htbl parallel
[ ] 30 0 0 30 / 32 6.7s Htbl parallel
[ ] 32 0 0 32 / 32 6.8s Htbl parallel
[✓] 32 0 0 32 / 32 6.8s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 875535871043228648
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Htbl sequential
[✓] 32 0 0 32 / 32 0.0s Htbl sequential
[ ] 0 0 0 0 / 32 0.0s Htbl parallel
[ ] 2 0 0 2 / 32 0.1s Htbl parallel
[ ] 3 0 0 3 / 32 0.3s Htbl parallel
[ ] 5 0 0 5 / 32 0.4s Htbl parallel
[ ] 7 0 0 7 / 32 0.5s Htbl parallel
[ ] 9 0 0 9 / 32 0.7s Htbl parallel
[ ] 12 0 0 12 / 32 0.8s Htbl parallel
[ ] 14 0 0 14 / 32 0.9s Htbl parallel
[ ] 18 0 0 18 / 32 1.0s Htbl parallel
[ ] 22 0 0 22 / 32 1.1s Htbl parallel
[ ] 23 0 0 23 / 32 1.3s Htbl parallel
[ ] 25 0 0 25 / 32 1.4s Htbl parallel
[ ] 26 0 0 26 / 32 1.6s Htbl parallel
[ ] 29 0 0 29 / 32 2.1s Htbl parallel
[ ] 30 0 0 30 / 32 2.3s Htbl parallel
[✓] 32 0 0 32 / 32 2.3s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 108730721957833683
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Htbl sequential
[✓] 32 0 0 32 / 32 0.0s Htbl sequential
[ ] 0 0 0 0 / 32 0.0s Htbl parallel
[ ] 1 0 0 1 / 32 0.2s Htbl parallel
[ ] 5 0 0 5 / 32 0.3s Htbl parallel
[ ] 12 0 0 12 / 32 0.7s Htbl parallel
[ ] 14 0 0 14 / 32 0.8s Htbl parallel
[ ] 18 0 0 18 / 32 0.9s Htbl parallel
[ ] 22 0 0 22 / 32 1.1s Htbl parallel
[ ] 24 0 0 24 / 32 1.4s Htbl parallel
[ ] 25 0 0 25 / 32 1.5s Htbl parallel
[ ] 32 0 0 32 / 32 1.8s Htbl parallel
[✓] 32 0 0 32 / 32 1.8s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 120339694016763563
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Htbl sequential
[✓] 32 0 0 32 / 32 0.0s Htbl sequential
[ ] 0 0 0 0 / 32 0.0s Htbl parallel
[ ] 2 0 0 2 / 32 0.3s Htbl parallel
[ ] 7 0 0 7 / 32 0.4s Htbl parallel
[ ] 14 0 0 14 / 32 0.7s Htbl parallel
[ ] 16 0 0 16 / 32 1.0s Htbl parallel
[ ] 17 0 0 17 / 32 1.1s Htbl parallel
[ ] 21 0 0 21 / 32 1.3s Htbl parallel
[ ] 24 0 0 24 / 32 1.6s Htbl parallel
[ ] 29 0 0 29 / 32 1.7s Htbl parallel
[✓] 32 0 0 32 / 32 1.8s Htbl parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test && ./test_mpscq.exe)
random seed: 1552681998653879066
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 1.5s Mpscq parallel
[ ] 2 0 0 2 / 32 3.2s Mpscq parallel
[ ] 3 0 0 3 / 32 4.7s Mpscq parallel
[ ] 4 0 0 4 / 32 7.5s Mpscq parallel
[ ] 5 0 0 5 / 32 8.8s Mpscq parallel
[ ] 6 0 0 6 / 32 9.9s Mpscq parallel
[ ] 7 0 0 7 / 32 11.3s Mpscq parallel
[ ] 8 0 0 8 / 32 12.8s Mpscq parallel
[ ] 9 0 0 9 / 32 16.8s Mpscq parallel
[ ] 10 0 0 10 / 32 18.3s Mpscq parallel
[ ] 11 0 0 11 / 32 19.3s Mpscq parallel
[ ] 12 0 0 12 / 32 20.6s Mpscq parallel
[ ] 13 0 0 13 / 32 21.9s Mpscq parallel
[ ] 14 0 0 14 / 32 22.8s Mpscq parallel
[ ] 15 0 0 15 / 32 23.3s Mpscq parallel
[ ] 16 0 0 16 / 32 23.7s Mpscq parallel
[ ] 17 0 0 17 / 32 24.1s Mpscq parallel
[ ] 18 0 0 18 / 32 24.9s Mpscq parallel
[ ] 19 0 0 19 / 32 25.8s Mpscq parallel
[ ] 20 0 0 20 / 32 26.8s Mpscq parallel
[ ] 21 0 0 21 / 32 27.7s Mpscq parallel
[ ] 22 0 0 22 / 32 29.3s Mpscq parallel
[ ] 23 0 0 23 / 32 30.7s Mpscq parallel
[ ] 24 0 0 24 / 32 32.1s Mpscq parallel
[ ] 25 0 0 25 / 32 33.1s Mpscq parallel
[ ] 26 0 0 26 / 32 34.2s Mpscq parallel
[ ] 27 0 0 27 / 32 35.2s Mpscq parallel
[ ] 28 0 0 28 / 32 36.6s Mpscq parallel
[ ] 29 0 0 29 / 32 37.5s Mpscq parallel
[ ] 30 0 0 30 / 32 38.3s Mpscq parallel
[ ] 31 0 0 31 / 32 39.7s Mpscq parallel
[ ] 32 0 0 32 / 32 40.5s Mpscq parallel
[✓] 32 0 0 32 / 32 40.5s Mpscq parallel
================================================================================
success (ran 2 tests)
random seed: 838112297536810348
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Mpscq sequential
[✓] 32 0 0 32 / 32 0.0s Mpscq sequential
[ ] 0 0 0 0 / 32 0.0s Mpscq parallel
[ ] 1 0 0 1 / 32 0.6s Mpscq parallel
[ ] 2 0 0 2 / 32 1.3s Mpscq parallel
[ ] 3 0 0 3 / 32 2.2s Mpscq parallel
[ ] 4 0 0 4 / 32 2.5s Mpscq parallel
[ ] 5 0 0 5 / 32 3.2s Mpscq parallel
[ ] 6 0 0 6 / 32 3.7s Mpscq parallel
[ ] 7 0 0 7 / 32 4.1s Mpscq parallel
[ ] 8 0 0 8 / 32 4.7s Mpscq parallel
[ ] 9 0 0 9 / 32 5.0s Mpscq parallel
[ ] 10 0 0 10 / 32 5.2s Mpscq parallel
[ ] 11 0 0 11 / 32 5.8s Mpscq parallel
[ ] 12 0 0 12 / 32 6.3s Mpscq parallel
[ ] 13 0 0 13 / 32 6.5s Mpscq parallel
[ ] 14 0 0 14 / 32 6.7s Mpscq parallel
[ ] 15 0 0 15 / 32 7.0s Mpscq parallel
[ ] 16 0 0 16 / 32 7.1s Mpscq parallel
[ ] 17 0 0 17 / 32 7.5s Mpscq parallel
[ ] 18 0 0 18 / 32 8.1s Mpscq parallel
[ ] 19 0 0 19 / 32 8.5s Mpscq parallel
[ ] 20 0 0 20 / 32 9.4s Mpscq parallel
[ ] 21 0 0 21 / 32 9.5s Mpscq parallel
[ ] 22 0 0 22 / 32 10.0s Mpscq parallel
[ ] 23 0 0 23 / 32 10.8s Mpscq parallel
[ ] 24 0 0 24 / 32 11.1s Mpscq parallel
[ ] 25 0 0 25 / 32 11.2s Mpscq parallel
[ ] 26 0 0 26 / 32 11.3s Mpscq parallel
[ ] 27 0 0 27 / 32 11.5s Mpscq parallel
[ ] 28 0 0 28 / 32 11.8s Mpscq parallel
[ ] 29 0 0 29 / 32 11.9s Mpscq parallel
[ ] 30 0 0 30 / 32 12.2s Mpscq parallel
[ ] 32 0 0 32 / 32 12.4s Mpscq parallel
[✓] 32 0 0 32 / 32 12.4s Mpscq parallel
================================================================================
success (ran 2 tests)
random seed: 3594810687894042402
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Mpscq sequential
[✓] 32 0 0 32 / 32 0.0s Mpscq sequential
[ ] 0 0 0 0 / 32 0.0s Mpscq parallel
[ ] 1 0 0 1 / 32 0.1s Mpscq parallel
[ ] 3 0 0 3 / 32 0.5s Mpscq parallel
[ ] 4 0 0 4 / 32 0.6s Mpscq parallel
[ ] 5 0 0 5 / 32 0.8s Mpscq parallel
[ ] 6 0 0 6 / 32 1.0s Mpscq parallel
[ ] 8 0 0 8 / 32 1.1s Mpscq parallel
[ ] 9 0 0 9 / 32 1.8s Mpscq parallel
[ ] 12 0 0 12 / 32 2.0s Mpscq parallel
[ ] 15 0 0 15 / 32 2.2s Mpscq parallel
[ ] 19 0 0 19 / 32 2.3s Mpscq parallel
[ ] 21 0 0 21 / 32 2.5s Mpscq parallel
[ ] 25 0 0 25 / 32 2.6s Mpscq parallel
[ ] 31 0 0 31 / 32 2.7s Mpscq parallel
[✓] 32 0 0 32 / 32 2.7s Mpscq parallel
================================================================================
success (ran 2 tests)
random seed: 3441976943057371598
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Mpscq sequential
[✓] 32 0 0 32 / 32 0.0s Mpscq sequential
[ ] 0 0 0 0 / 32 0.0s Mpscq parallel
[ ] 6 0 0 6 / 32 0.1s Mpscq parallel
[ ] 8 0 0 8 / 32 1.0s Mpscq parallel
[ ] 13 0 0 13 / 32 1.3s Mpscq parallel
[ ] 21 0 0 21 / 32 1.7s Mpscq parallel
[ ] 25 0 0 25 / 32 1.9s Mpscq parallel
[ ] 26 0 0 26 / 32 2.0s Mpscq parallel
[ ] 32 0 0 32 / 32 2.1s Mpscq parallel
[✓] 32 0 0 32 / 32 2.1s Mpscq parallel
================================================================================
success (ran 2 tests)
random seed: 4044039896323847539
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Mpscq sequential
[✓] 32 0 0 32 / 32 0.0s Mpscq sequential
[ ] 0 0 0 0 / 32 0.0s Mpscq parallel
[ ] 6 0 0 6 / 32 0.2s Mpscq parallel
[ ] 12 0 0 12 / 32 0.8s Mpscq parallel
[ ] 14 0 0 14 / 32 1.0s Mpscq parallel
[ ] 16 0 0 16 / 32 1.1s Mpscq parallel
[ ] 17 0 0 17 / 32 1.3s Mpscq parallel
[ ] 22 0 0 22 / 32 1.9s Mpscq parallel
[ ] 25 0 0 25 / 32 2.3s Mpscq parallel
[ ] 30 0 0 30 / 32 2.5s Mpscq parallel
[✓] 32 0 0 32 / 32 2.6s Mpscq parallel
================================================================================
success (ran 2 tests)
(cd _build/default/bench && ./main.exe -brief 'Ref with Picos_sync.Mutex')
Ref with Picos_sync.Mutex:
ops over time/cas int (checked):
5.88 M/s
ops over time/cas int (unchecked):
16.62 M/s
ops over time/get (checked):
5.33 M/s
ops over time/get (unchecked):
31.20 M/s
ops over time/incr (checked):
5.76 M/s
ops over time/incr (unchecked):
30.18 M/s
ops over time/push & pop (checked):
5.03 M/s
ops over time/push & pop (unchecked):
21.41 M/s
ops over time/swap (checked):
4.91 M/s
ops over time/swap (unchecked):
25.69 M/s
ops over time/xchg int (checked):
4.99 M/s
ops over time/xchg int (unchecked):
19.13 M/s
time per op/cas int (checked):
170.09 ns
time per op/cas int (unchecked):
60.15 ns
time per op/get (checked):
187.60 ns
time per op/get (unchecked):
32.05 ns
time per op/incr (checked):
173.67 ns
time per op/incr (unchecked):
33.13 ns
time per op/push & pop (checked):
198.65 ns
time per op/push & pop (unchecked):
46.70 ns
time per op/swap (checked):
203.79 ns
time per op/swap (unchecked):
38.92 ns
time per op/xchg int (checked):
200.51 ns
time per op/xchg int (unchecked):
52.27 ns
(cd _build/default/bench && ./main.exe -brief Picos_mpmcq)
Picos_mpmcq:
messages over time/1 nb adder, 1 nb taker:
10.67 M/s
messages over time/1 nb adder, 2 nb takers:
10.00 M/s
messages over time/1 nb adder, 4 nb takers:
19.97 M/s
messages over time/2 nb adders, 1 nb taker:
11.42 M/s
messages over time/2 nb adders, 2 nb takers:
22.73 M/s
messages over time/2 nb adders, 4 nb takers:
17.04 M/s
messages over time/4 nb adders, 1 nb taker:
11.24 M/s
messages over time/4 nb adders, 2 nb takers:
21.47 M/s
messages over time/4 nb adders, 4 nb takers:
8.83 M/s
messages over time/one domain:
18.23 M/s
time per message/1 nb adder, 1 nb taker:
187.49 ns
time per message/1 nb adder, 2 nb takers:
299.87 ns
time per message/1 nb adder, 4 nb takers:
250.34 ns
time per message/2 nb adders, 1 nb taker:
262.78 ns
time per message/2 nb adders, 2 nb takers:
175.96 ns
time per message/2 nb adders, 4 nb takers:
352.17 ns
time per message/4 nb adders, 1 nb taker:
444.84 ns
time per message/4 nb adders, 2 nb takers:
279.43 ns
time per message/4 nb adders, 4 nb takers:
906.13 ns
time per message/one domain:
54.85 ns
(cd _build/default/bench && ./main.exe -brief Picos_mpscq)
Picos_mpscq:
messages over time/1 nb adder, 1 nb taker:
43.07 M/s
messages over time/2 nb adders, 1 nb taker:
34.79 M/s
messages over time/4 nb adders, 1 nb taker:
33.50 M/s
messages over time/one domain:
23.39 M/s
time per message/1 nb adder, 1 nb taker:
46.44 ns
time per message/2 nb adders, 1 nb taker:
86.23 ns
time per message/4 nb adders, 1 nb taker:
149.25 ns
time per message/one domain:
42.75 ns
(cd _build/default/bench && ./main.exe -brief Picos_htbl)
Picos_htbl:
operations over time/1 worker, 10% reads:
14.09 M/s
operations over time/1 worker, 50% reads:
15.64 M/s
operations over time/1 worker, 90% reads:
21.40 M/s
operations over time/2 workers, 10% reads:
22.02 M/s
operations over time/2 workers, 50% reads:
24.47 M/s
operations over time/2 workers, 90% reads:
35.93 M/s
operations over time/4 workers, 10% reads:
27.96 M/s
operations over time/4 workers, 50% reads:
42.09 M/s
operations over time/4 workers, 90% reads:
47.43 M/s
operations over time/8 workers, 10% reads:
33.78 M/s
operations over time/8 workers, 50% reads:
59.94 M/s
operations over time/8 workers, 90% reads:
61.34 M/s
time per operation/1 worker, 10% reads:
70.98 ns
time per operation/1 worker, 50% reads:
63.95 ns
time per operation/1 worker, 90% reads:
46.74 ns
time per operation/2 workers, 10% reads:
90.83 ns
time per operation/2 workers, 50% reads:
81.73 ns
time per operation/2 workers, 90% reads:
55.66 ns
time per operation/4 workers, 10% reads:
143.05 ns
time per operation/4 workers, 50% reads:
95.04 ns
time per operation/4 workers, 90% reads:
84.33 ns
time per operation/8 workers, 10% reads:
236.86 ns
time per operation/8 workers, 50% reads:
133.46 ns
time per operation/8 workers, 90% reads:
130.42 ns
(cd _build/default/bench && ./main.exe -brief Picos_stdio)
Picos_stdio:
blocking reads over time/1 worker:
0.11 M/s
blocking reads over time/2 workers:
0.09 M/s
blocking reads over time/4 workers:
0.25 M/s
non-blocking reads over time/1 worker:
0.82 M/s
non-blocking reads over time/2 workers:
1.56 M/s
non-blocking reads over time/4 workers:
2.46 M/s
time per blocking read/1 worker:
9376.49 ns
time per blocking read/2 workers:
21992.86 ns
time per blocking read/4 workers:
15745.23 ns
time per non-blocking read/1 worker:
1216.48 ns
time per non-blocking read/2 workers:
1282.43 ns
time per non-blocking read/4 workers:
1624.72 ns
(cd _build/default/bench && ./main.exe -brief 'Picos_sync Ch')
Picos_sync Ch:
messages over time/1 giver, 1 taker:
1.02 M/s
messages over time/1 giver, 2 takers:
1.32 M/s
messages over time/1 giver, 4 takers:
1.49 M/s
messages over time/2 givers, 1 taker:
0.85 M/s
messages over time/2 givers, 2 takers:
2.10 M/s
messages over time/2 givers, 4 takers:
1.63 M/s
messages over time/4 givers, 1 taker:
0.98 M/s
messages over time/4 givers, 2 takers:
1.04 M/s
messages over time/4 givers, 4 takers:
1.37 M/s
messages over time/one domain:
2.54 M/s
time per message/1 giver, 1 taker:
1969.13 ns
time per message/1 giver, 2 takers:
2273.02 ns
time per message/1 giver, 4 takers:
3365.05 ns
time per message/2 givers, 1 taker:
3517.53 ns
time per message/2 givers, 2 takers:
1902.34 ns
time per message/2 givers, 4 takers:
3671.40 ns
time per message/4 givers, 1 taker:
5094.68 ns
time per message/4 givers, 2 takers:
5785.44 ns
time per message/4 givers, 4 takers:
5818.48 ns
time per message/one domain:
393.72 ns
(cd _build/default/bench && ./main.exe -brief 'Picos_sync Stream')
Picos_sync Stream:
messages over time/1 nb pusher, 1 nb reader:
6.56 M/s
messages over time/2 nb pushers, 1 nb reader:
6.25 M/s
messages over time/4 nb pushers, 1 nb reader:
5.60 M/s
messages over time/one domain:
4.87 M/s
time per message/1 nb pusher, 1 nb reader:
304.84 ns
time per message/2 nb pushers, 1 nb reader:
479.90 ns
time per message/4 nb pushers, 1 nb reader:
893.21 ns
time per message/one domain:
205.49 ns
(cd _build/default/bench && ./main.exe -brief Fib)
Fib:
spawns over time/1 mfifo, fib 20:
0.89 M/s
spawns over time/1 rando, fib 20:
0.27 M/s
spawns over time/2 mfifos, fib 20:
1.83 M/s
spawns over time/2 randos, fib 20:
0.73 M/s
spawns over time/4 mfifos, fib 20:
3.97 M/s
spawns over time/4 randos, fib 20:
1.10 M/s
spawns over time/8 mfifos, fib 20:
4.36 M/s
spawns over time/8 randos, fib 20:
1.34 M/s
time per spawn/1 mfifo, fib 20:
1125.73 ns
time per spawn/1 rando, fib 20:
3758.45 ns
time per spawn/2 mfifos, fib 20:
1090.70 ns
time per spawn/2 randos, fib 20:
2736.78 ns
time per spawn/4 mfifos, fib 20:
1007.03 ns
time per spawn/4 randos, fib 20:
3645.31 ns
time per spawn/8 mfifos, fib 20:
1835.32 ns
time per spawn/8 randos, fib 20:
5955.11 ns
(cd _build/default/bench && ./main.exe -brief 'Picos binaries')
Picos binaries:
binary size/picos:
95.08 kB
binary size/picos.domain:
5.16 kB
binary size/picos.thread:
4.60 kB
binary size/picos_aux.htbl:
47.32 kB
binary size/picos_aux.mpmcq:
17.16 kB
binary size/picos_aux.mpscq:
20.56 kB
binary size/picos_aux.rc:
20.31 kB
binary size/picos_io:
116.28 kB
binary size/picos_io.fd:
10.81 kB
binary size/picos_io.select:
65.21 kB
binary size/picos_io_cohttp:
48.60 kB
binary size/picos_lwt:
30.12 kB
binary size/picos_lwt.unix:
16.19 kB
binary size/picos_mux.fifo:
30.43 kB
binary size/picos_mux.multififo:
65.18 kB
binary size/picos_mux.random:
53.14 kB
binary size/picos_mux.thread:
26.63 kB
binary size/picos_std.event:
26.29 kB
binary size/picos_std.finally:
20.88 kB
binary size/picos_std.structured:
90.54 kB
binary size/picos_std.sync:
163.90 kB
(cd _build/default/bench && ./main.exe -brief 'Bounded_q with Picos_sync')
Bounded_q with Picos_sync:
messages over time/1 adder, 1 taker:
0.45 M/s
messages over time/1 adder, 2 takers:
1.00 M/s
messages over time/1 adder, 4 takers:
0.25 M/s
messages over time/2 adders, 1 taker:
0.68 M/s
messages over time/2 adders, 2 takers:
0.34 M/s
messages over time/2 adders, 4 takers:
0.30 M/s
messages over time/4 adders, 1 taker:
0.80 M/s
messages over time/4 adders, 2 takers:
0.64 M/s
messages over time/4 adders, 4 takers:
0.48 M/s
messages over time/one domain:
9.43 M/s
time per message/1 adder, 1 taker:
4457.58 ns
time per message/1 adder, 2 takers:
3023.48 ns
time per message/1 adder, 4 takers:
19873.72 ns
time per message/2 adders, 1 taker:
4424.07 ns
time per message/2 adders, 2 takers:
11797.01 ns
time per message/2 adders, 4 takers:
19818.32 ns
time per message/4 adders, 1 taker:
6275.53 ns
time per message/4 adders, 2 takers:
9316.88 ns
time per message/4 adders, 4 takers:
16562.66 ns
time per message/one domain:
106.00 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:
232.00 B
stack and heap used/fiber in a flock:
248.00 B
stack and heap used/fiber with shared computation & latch:
232.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:
280.00 B
stack and heap used/join_after flock:
280.00 B
stack and heap used/lastly:
32.00 B
stack and heap used/promise in a bundle:
352.00 B
stack and heap used/promise in a flock:
368.00 B
2024-10-18 17:36.12 ---> saved as "3543d13d802beb531aedb8066abc5625c0138dd7dbcff3a896e852cd093704c1"
Job succeeded
2024-10-18 17:36.12: Job succeeded