2025-01-25 11:47.05: New job: test ocaml-multicore/picos https://github.com/ocaml-multicore/picos.git#refs/heads/add-hello-cohttp (291f77f113899fbdc12b3ab37c6f17456f2d442a) (freebsd-x86_64:freebsd-14.1-5.3_opam-2.3)
Base: freebsd-14.1-ocaml-5.3
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/picos.git" -b "add-hello-cohttp" && cd "picos" && git reset --hard 291f77f1
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.1-ocaml-5.3
# freebsd-14.1-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.3 /usr/local/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 d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && 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.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-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.0 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.0.0 cohttp-lwt.6.0.0 cohttp-lwt-unix.6.0.0 conduit.7.1.0 conduit-lwt.7.1.0 conduit-lwt-unix.7.1.0 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.4 containers.3.15 cppo.1.8.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.17.2 dune-configurator.3.17.2 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 http.6.0.0 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.5.9.1 js_of_ocaml-compiler.5.9.1 kdf.1.0.0 logs.0.7.0 lwt.5.9.0 macaddr.5.6.0 magic-mime.1.3.1 mdx.2.5.0 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.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.3.7.3 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 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.0 ppxlib.0.34.0 ppxlib_jane.v0.17.2 psq.0.2.1 ptime.1.2.0 qcheck-core.0.23 qcheck-multicoretests-util.0.7 qcheck-stm.0.7 re.1.12.0 result.1.5 rresult.0.7.0 sedlex.3.3 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.7 tsort.2.1.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 x509.1.0.5 yojson.2.2.2 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-01-25 11:47.05: Using cache hint "ocaml-multicore/picos-freebsd-14.1-ocaml-5.3-freebsd-14.1-5.3_opam-2.3-322a295f5e62c3891290253a1208f539"
2025-01-25 11:47.05: Using OBuilder spec:
((from freebsd-14.1-ocaml-5.3)
(comment freebsd-14.1-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/local/bin/opam-2.3 /usr/local/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 d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && 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.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-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.0 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.0.0 cohttp-lwt.6.0.0 cohttp-lwt-unix.6.0.0 conduit.7.1.0 conduit-lwt.7.1.0 conduit-lwt-unix.7.1.0 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.4 containers.3.15 cppo.1.8.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.17.2 dune-configurator.3.17.2 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 http.6.0.0 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.5.9.1 js_of_ocaml-compiler.5.9.1 kdf.1.0.0 logs.0.7.0 lwt.5.9.0 macaddr.5.6.0 magic-mime.1.3.1 mdx.2.5.0 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.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.3.7.3 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 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.0 ppxlib.0.34.0 ppxlib_jane.v0.17.2 psq.0.2.1 ptime.1.2.0 qcheck-core.0.23 qcheck-multicoretests-util.0.7 qcheck-stm.0.7 re.1.12.0 result.1.5 rresult.0.7.0 sedlex.3.3 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.7 tsort.2.1.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 x509.1.0.5 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.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-01-25 11:47.05: Waiting for resource in pool OCluster
2025-01-25 16:12.18: Waiting for worker…
2025-01-25 17:35.16: Got resource from pool OCluster
Building on summer
All commits already cached
HEAD is now at 291f77f Add a hello server example using cohttp
(from freebsd-14.1-ocaml-5.3)
2025-01-25 17:26.51 ---> using "fa4c65a721275037aa0f851d49090cd38fc202c0147147d39fba5c0e4d9b16e6" from cache
/: (comment freebsd-14.1-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/local/bin/opam-2.3 /usr/local/bin/opam"))
2025-01-25 17:26.51 ---> using "707c7e294765dd0c27e269a5b580560b225237a2f86c98e49e9b55231281b700" from cache
/src: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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 version of opam requires an update to the layout of /home/opam/.opam from version 2.1 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 1 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=1 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2025-01-25 17:26.52 ---> using "45749df81b3980750ffa6bca410a05b72322147ab2725b654dada75710103de9" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.1-RELEASE-p5
The OCaml toplevel, version 5.3.0
2.3.0
2025-01-25 17:26.53 ---> using "f64bb7c3e303337c7ff569b67d81a7b6dbef733cbc8fc2ef78eebdda8d34b5e9" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-01-25 17:26.53 ---> using "b5dd81919ce8bb132a9ebf4541726236220f50fa3e495f7f25632fce1e88b154" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
f93eb7cb02..12d8668654 master -> origin/master
d1a3803c0c Merge pull request #27313 from maiste/release-dune-3.17.2
<><> 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).
The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.4.0
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2025-01-25 17:26.54 ---> using "4eb208040cda2a2f7ec1b917d9cec8f54296e83b55e7273644d6fc2a9e93287e" 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-01-25 17:26.54 ---> using "3e2ce07573d3646331d10cf4fea0a96eb6cebbfbb8ff0941ac4723fa0f80d3d0" 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-01-25 17:26.55 ---> using "5b7661a18ac0c1953663a6cecd1b84c42ef31012232cd1363b03bc2fed9fd63c" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-01-25 17:26.55 ---> using "e93b4c2a06edd40d57c50afdefdccf8150478cc4607ad2cf31879ccfe5d29fad" 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-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.0 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.0.0 cohttp-lwt.6.0.0 cohttp-lwt-unix.6.0.0 conduit.7.1.0 conduit-lwt.7.1.0 conduit-lwt-unix.7.1.0 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.4 containers.3.15 cppo.1.8.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.17.2 dune-configurator.3.17.2 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 http.6.0.0 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.5.9.1 js_of_ocaml-compiler.5.9.1 kdf.1.0.0 logs.0.7.0 lwt.5.9.0 macaddr.5.6.0 magic-mime.1.3.1 mdx.2.5.0 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.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.3.7.3 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 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.0 ppxlib.0.34.0 ppxlib_jane.v0.17.2 psq.0.2.1 ptime.1.2.0 qcheck-core.0.23 qcheck-multicoretests-util.0.7 qcheck-stm.0.7 re.1.12.0 result.1.5 rresult.0.7.0 sedlex.3.3 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.7 tsort.2.1.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 x509.1.0.5 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.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"))
[WARNING] Unknown update command for bsd, skipping system update
<><> 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_mux.dev] synchronised (file:///src)
[picos_meta.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:
ca_root_nss gmp npm
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/local/bin/sudo "pkg" "install" "-y" "ca_root_nss" "gmp" "npm"
- Updating FreeBSD repository catalogue...
- [summer] Fetching data.pkg: ...
- ....... done
- Processing entries:
- .
- .
- .
- .
- .
- .
- .
- .
- .
- . done
- FreeBSD repository update completed. 35926 packages processed.
- All repositories are up to date.
- The following 9 package(s) will be affected (of 0 checked):
-
- New packages to be INSTALLED:
- brotli: 1.1.0,1
- c-ares: 1.34.4
- ca_root_nss: 3.104
- gmp: 6.3.0
- icu: 74.2_1,1
- libuv: 1.49.2
- node22: 22.12.0
- npm: 10.9.2
- npm-node22: 10.9.2
-
- Number of packages to be installed: 9
-
- The process will require 130 MiB more space.
- 30 MiB to be downloaded.
- [summer] [1/9] Fetching c-ares-1.34.4.pkg: .......... done
- [summer] [2/9] Fetching icu-74.2_1,1.pkg:
- ..
- ....
- ...
- . done
- [summer] [3/9] Fetching node22-22.12.0.pkg: .
- ....
- ..... done
- [summer] [4/9] Fetching npm-node22-10.9.2.pkg: ..
- ........ done
- [summer] [5/9] Fetching libuv-1.49.2.pkg: ........ done
- [summer] [6/9] Fetching gmp-6.3.0.pkg: .......... done
- [summer] [7/9] Fetching npm-10.9.2.pkg: . done
- [summer] [8/9] Fetching brotli-1.1.0,1.pkg: ........ done
- [summer] [9/9] Fetching ca_root_nss-3.104.pkg: .......... done
- Checking integrity... done (0 conflicting)
- [summer] [1/9] Installing c-ares-1.34.4...
- [summer] [1/9] Extracting c-ares-1.34.4: .......... done
- [summer] [2/9] Installing icu-74.2_1,1...
- [summer] [2/9] Extracting icu-74.2_1,1: .........
- . done
- [summer] [3/9] Installing libuv-1.49.2...
- [summer] [3/9] Extracting libuv-1.49.2: .......... done
- [summer] [4/9] Installing brotli-1.1.0,1...
- [summer] [4/9] Extracting brotli-1.1.0,1: .......... done
- [summer] [5/9] Installing ca_root_nss-3.104...
- [summer] [5/9] Extracting ca_root_nss-3.104: ....... done
- Scanning /usr/share/certs/untrusted for certificates...
- Scanning /usr/share/certs/trusted for certificates...
- Scanning /usr/local/share/certs for certificates...
- [summer] [6/9] Installing node22-22.12.0...
- [summer] [6/9] Extracting node22-22.12.0:
- .......... done
- [summer] [7/9] Installing npm-node22-10.9.2...
- [summer] [7/9] Extracting npm-node22-10.9.2: .......... done
- [summer] [8/9] Installing gmp-6.3.0...
- [summer] [8/9] Extracting gmp-6.3.0: .......... done
- [summer] [9/9] Installing npm-10.9.2...
- [summer] [9/9] Extracting npm-10.9.2: ... done
- =====
- Message from ca_root_nss-3.104:
-
- --
- FreeBSD does not, and can not warrant that the certification authorities
- whose certificates are included in this package have in any way been
- audited for trustworthiness or RFC 3647 compliance.
-
- Assessment and verification of trust is the complete responsibility of
- the system administrator.
-
- This package installs symlinks to support root certificate discovery
- for software that either uses other cryptographic libraries than
- OpenSSL, or use OpenSSL but do not follow recommended practice.
-
- If you prefer to do this manually, replace the following symlinks with
- either an empty file or your site-local certificate bundle.
-
- * /etc/ssl/cert.pem
- * /usr/local/etc/ssl/cert.pem
- * /usr/local/openssl/cert.pem
- =====
- Message from node22-22.12.0:
-
- --
- Note: If you need npm (Node Package Manager), please install www/npm.
2025-01-25 17:26.56 ---> using "c352ecf27e7b91e2b3b60580358b0d17779bf4ac6e6af36a75db180efca49c79" 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
∗ 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-bytes 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
∗ cohttp-lwt 6.0.0
∗ cohttp-lwt-unix 6.0.0
∗ conduit 7.1.0
∗ conduit-lwt 7.1.0
∗ conduit-lwt-unix 7.1.0
∗ conf-gmp 4
∗ conf-gmp-powm-sec 3
∗ conf-npm 1
∗ conf-pkg-config 4
∗ containers 3.15
∗ cppo 1.8.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.17.2
∗ dune-configurator 3.17.2
∗ 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
∗ http 6.0.0
∗ ipaddr 5.6.0
∗ ipaddr-sexp 5.6.0
∗ js_of_ocaml 5.9.1
∗ js_of_ocaml-compiler 5.9.1
∗ kdf 1.0.0
∗ logs 0.7.0
∗ lwt 5.9.0
∗ macaddr 5.6.0
∗ magic-mime 1.3.1
∗ mdx 2.5.0
∗ 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.1
∗ multicore-magic-dscheck 2.3.1
∗ ocaml-compiler-libs v0.17.0
∗ ocaml-syntax-shims 1.0.0
∗ ocaml-version 3.7.3
∗ 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
∗ ppx_derivers 1.2.1
∗ ppx_sexp_conv v0.17.0
∗ ppxlib 0.34.0
∗ ppxlib_jane v0.17.2
∗ psq 0.2.1
∗ ptime 1.2.0
∗ qcheck-core 0.23
∗ qcheck-multicoretests-util 0.7
∗ qcheck-stm 0.7
∗ re 1.12.0
∗ result 1.5
∗ rresult 0.7.0
∗ sedlex 3.3
∗ 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.7
∗ tsort 2.1.0
∗ uri 4.4.0
∗ uri-sexp 4.4.0
∗ uutf 1.0.3
∗ x509 1.0.5
∗ yojson 2.2.2
∗ zarith 1.14
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved angstrom.0.16.1 (cached)
⬇ retrieved asn1-combinators.0.3.2 (cached)
⬇ retrieved astring.0.8.5 (cached)
⬇ retrieved backoff.0.1.1 (cached)
⬇ retrieved alcotest.1.8.0 (cached)
⬇ retrieved base64.3.5.1 (cached)
⬇ retrieved bigstringaf.0.10.0 (cached)
⬇ retrieved base.v0.17.1 (cached)
⬇ retrieved ca-certs.1.0.0 (cached)
⬇ retrieved bos.0.2.1 (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 conduit.7.1.0, conduit-lwt.7.1.0, conduit-lwt-unix.7.1.0 (cached)
∗ installed conf-pkg-config.4
⬇ retrieved cppo.1.8.0 (cached)
∗ installed conf-gmp.4
⬇ retrieved cohttp.6.0.0, cohttp-lwt.6.0.0, cohttp-lwt-unix.6.0.0, http.6.0.0 (cached)
∗ installed conf-gmp-powm-sec.3
⬇ retrieved csexp.1.5.2 (cached)
∗ installed conf-npm.1
⬇ retrieved containers.3.15 (cached)
⬇ retrieved domain-local-await.1.0.1 (cached)
⬇ retrieved domain-name.0.4.0 (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.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 logs.0.7.0 (cached)
⬇ retrieved lwt.5.9.0 (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 js_of_ocaml.5.9.1, js_of_ocaml-compiler.5.9.1 (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 mtime.2.1.0 (cached)
⬇ 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.3.7.3 (cached)
⬇ retrieved dune.3.17.2, dune-configurator.3.17.2 (cached)
⬇ retrieved ocamlfind.1.9.6 (cached)
⬇ retrieved ocplib-endian.1.2 (cached)
⬇ retrieved ocamlbuild.0.15.0 (cached)
⬇ retrieved oseq.0.5.1 (cached)
⬇ retrieved ohex.0.2.0 (cached)
⬇ retrieved ppx_derivers.1.2.1 (cached)
⬇ retrieved ocaml_intrinsics_kernel.v0.17.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.23 (cached)
⬇ retrieved qcheck-multicoretests-util.0.7, qcheck-stm.0.7 (cached)
⬇ retrieved re.1.12.0 (cached)
⬇ retrieved result.1.5 (cached)
⬇ retrieved rresult.0.7.0 (cached)
⬇ retrieved seq.base (cached)
∗ installed seq.base
⬇ retrieved ppxlib.0.34.0 (cached)
⬇ retrieved sexplib0.v0.17.0 (cached)
⬇ retrieved sedlex.3.3 (cached)
⬇ retrieved stringext.1.6.0 (cached)
⬇ retrieved thread-local-storage.0.2 (cached)
⬇ retrieved stdlib-shims.0.3.0 (cached)
⬇ retrieved thread-table.1.0.0 (cached)
⬇ retrieved tsort.2.1.0 (cached)
⬇ retrieved uutf.1.0.3 (cached)
⬇ retrieved uri.4.4.0, uri-sexp.4.4.0 (cached)
⬇ retrieved x509.1.0.5 (cached)
⬇ retrieved topkg.1.0.7 (cached)
⬇ retrieved zarith.1.14 (cached)
⬇ retrieved yojson.2.2.2 (cached)
∗ installed cmdliner.1.3.0
∗ installed ocamlfind.1.9.6
∗ installed base-bytes.base
∗ installed zarith.1.14
∗ installed ocamlbuild.0.15.0
∗ installed topkg.1.0.7
∗ installed rresult.0.7.0
∗ installed uutf.1.0.3
∗ installed mtime.2.1.0
∗ installed ptime.1.2.0
∗ installed astring.0.8.5
∗ installed fmt.0.9.0
∗ installed fpath.0.7.3
∗ installed dune.3.17.2
∗ installed domain_shims.0.1.0
∗ installed gmap.0.3.0
∗ installed duration.0.2.1
∗ installed either.1.0.0
∗ installed domain-name.0.4.0
∗ installed macaddr.5.6.0
∗ installed csexp.1.5.2
∗ installed camlp-streams.5.0.1
∗ installed ipaddr.5.6.0
∗ installed multicore-magic.2.3.1
∗ installed menhirSdk.20240715
∗ installed menhirLib.20240715
∗ installed menhirCST.20240715
∗ installed magic-mime.1.3.1
∗ installed http.6.0.0
∗ installed gen.1.1
∗ installed eqaf.0.10
∗ installed cppo.1.8.0
∗ installed ocaml-compiler-libs.v0.17.0
∗ installed base64.3.5.1
∗ installed backoff.0.1.1
∗ installed asn1-combinators.0.3.2
∗ installed ppx_derivers.1.2.1
∗ installed ohex.0.2.0
∗ installed ocaml-version.3.7.3
∗ installed psq.0.2.1
∗ installed oseq.0.5.1
∗ installed ocaml-syntax-shims.1.0.0
∗ installed result.1.5
∗ installed stdlib-shims.0.3.0
∗ installed stringext.1.6.0
∗ installed ocplib-endian.1.2
∗ installed thread-table.1.0.0
∗ installed ocaml_intrinsics_kernel.v0.17.1
∗ installed tsort.2.1.0
∗ installed thread-local-storage.0.2
∗ installed sexplib0.v0.17.0
∗ installed domain-local-await.1.0.1
∗ installed qcheck-core.0.23
∗ installed digestif.1.2.0
∗ installed dune-configurator.3.17.2
∗ installed re.1.12.0
∗ installed yojson.2.2.2
∗ installed qcheck-multicoretests-util.0.7
∗ installed bigstringaf.0.10.0
∗ installed qcheck-stm.0.7
∗ installed multicore-bench.0.1.7
∗ installed angstrom.0.16.1
∗ installed mirage-crypto.1.1.0
∗ installed alcotest.1.8.0
∗ installed kdf.1.0.0
∗ installed uri.4.4.0
∗ installed containers.3.15
∗ installed dscheck.0.5.0
∗ installed multicore-magic-dscheck.2.3.1
∗ installed lwt.5.9.0
∗ installed base.v0.17.1
∗ installed ppxlib.0.34.0
∗ installed menhir.20240715
∗ installed ppxlib_jane.v0.17.2
∗ installed sedlex.3.3
∗ installed ppx_sexp_conv.v0.17.0
∗ installed uri-sexp.4.4.0
∗ installed ipaddr-sexp.5.6.0
∗ installed js_of_ocaml-compiler.5.9.1
∗ installed js_of_ocaml.5.9.1
∗ installed logs.0.7.0
∗ installed mirage-crypto-rng.1.1.0
∗ installed conduit.7.1.0
∗ installed mirage-crypto-pk.1.1.0
∗ installed conduit-lwt.7.1.0
∗ installed cohttp.6.0.0
∗ installed bos.0.2.1
∗ installed mdx.2.5.0
∗ installed cohttp-lwt.6.0.0
∗ installed mirage-crypto-ec.1.1.0
∗ installed x509.1.0.5
∗ installed ca-certs.1.0.0
∗ installed conduit-lwt-unix.7.1.0
∗ installed cohttp-lwt-unix.6.0.0
Done.
2025-01-25 17:26.57 ---> using "2815feaf00f964f00b7fb16f31943b617e0a56b16842254145cdc14847e197f7" from cache
/src: (copy (src .) (dst /src))
2025-01-25 17:26.59 ---> saved as "98436c205d8faaa336d0d0e7ec6ec62cd9e9a40518d6f5db88a928bbbd9f4160"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/bench && ./main.exe -brief 'Picos Computation')
Picos Computation:
attach detach pairs over time/1 worker:
0.68 M/s
attach detach pairs over time/2 workers:
1.58 M/s
attach detach pairs over time/4 workers:
0.35 M/s
attach detach pairs over time/trivial:
1.33 M/s
time per attach detach pair/1 worker:
1461.85 ns
time per attach detach pair/2 workers:
1263.52 ns
time per attach detach pair/4 workers:
11535.67 ns
time per attach detach pair/trivial:
751.66 ns
(cd _build/default/test && ./test_lwt_unix.exe)
Testing `Picos_lwt'.
This run has ID `B89F73ZH'.
[OK] Basics 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_lwt'.
Test Successful in 0.075s. 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.0.0
content-length: 0
Body:
(cd _build/default/test && /usr/local/bin/node test_js_of_ocaml.bc.js)
Hello, from js_of_ocaml with Picos!
(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 A running
Client A connected
Client A wrote 100
Client B running
Client B connected
Client B wrote 100
Server accepted client
Server read 100
Server wrote 50
Server accepting
Server accepted client
Server read 100
Server wrote 50
Server accepting
Client A read 50
Client B read 50
Server and Client test: OK
(cd _build/default/bench && ./main.exe -brief 'Picos Current')
Picos Current:
ops over time/1 worker:
18.03 M/s
ops over time/2 workers:
38.78 M/s
ops over time/4 workers:
12.42 M/s
time per op/1 worker:
55.46 ns
time per op/2 workers:
51.57 ns
time per op/4 workers:
322.00 ns
(cd _build/default/test && ./test_finally.exe)
Testing `Picos_finally'.
This run has ID `TW2BF585'.
[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.002s. 2 tests run.
(cd _build/default/test && ./test_sync.exe -- Event 0)
Testing `Picos_sync'.
This run has ID `U9RQG9GP'.
[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] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.113s. 1 test run.
(cd _build/default/test && ./test_io.exe)
Testing `Picos_io'.
This run has ID `VOS8QSNW'.
[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.627s. 6 tests run.
(cd _build/default/test && ./test_sync.exe -- Lazy 0)
Testing `Picos_sync'.
This run has ID `8UVM6L69'.
[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] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.105s. 1 test run.
(cd _build/default/test && ./test_picos_dscheck.exe)
Testing `Picos DSCheck'.
This run has ID `ND6DIQP7'.
[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 1.284s. 3 tests run.
(cd _build/default/test && ./test_structured.exe)
Testing `Picos_structured'.
This run has ID `ZGG1I1LE'.
[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.184s. 14 tests run.
(cd _build/default/test && ./test_io_with_lwt.exe)
Testing `Picos_io_with_lwt'.
This run has ID `GHYN0TE8'.
[OK] Unix 0 system.
Full test results in `/src/_build/default/test/_build/_tests/Picos_io_with_lwt'.
Test Successful in 2.271s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Lazy 1)
Testing `Picos_sync'.
This run has ID `ZRC8IYUM'.
[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] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.060s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Semaphore 0)
Testing `Picos_sync'.
This run has ID `CN0CNCUD'.
[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] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.007s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Semaphore 1)
Testing `Picos_sync'.
This run has ID `M868G634'.
[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] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.348s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Non-cancelable ops' 0)
Testing `Picos_sync'.
This run has ID `U1NP1HI6'.
[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] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.048s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 0)
Testing `Picos_sync'.
This run has ID `FRZYJZWL'.
[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] 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 -- 'Mutex and Condition' 1)
Testing `Picos_sync'.
This run has ID `979LR4BC'.
[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] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.084s. 1 test run.
(cd _build/default/test && ./test_io_cohttp.exe)
Uri: //127.0.0.1:38026/hello-io-cohttp
Method: POST
host: 127.0.0.1:38026
user-agent: ocaml-cohttp/v6.0.0
content-length: 17
Body: It's-a-Me, Picos!
(cd _build/default/test && ./test_mpmcq_dscheck.exe)
Testing `Picos_mpmcq DSCheck'.
This run has ID `6VHM5G8X'.
[OK] Multiple pushes and pops 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_mpmcq DSCheck'.
Test Successful in 4.232s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 2)
Testing `Picos_sync'.
This run has ID `4RB716IP'.
[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] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 2.870s. 1 test run.
(cd _build/default/test && ./test_select.exe)
Testing `Picos_select'.
This run has ID `PZ6WCR2L'.
[OK] Intr 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_select'.
Test Successful in 9.484s. 1 test run.
(cd _build/default/bench && ./main.exe -brief 'Picos FLS (excluding Current)')
Picos FLS (excluding Current):
gets over time/1 worker:
129.05 M/s
gets over time/2 workers:
177.53 M/s
gets over time/4 workers:
159.26 M/s
sets over time/1 worker:
49.76 M/s
sets over time/2 workers:
117.14 M/s
sets over time/4 workers:
102.55 M/s
time per get/1 worker:
7.75 ns
time per get/2 workers:
11.27 ns
time per get/4 workers:
25.12 ns
time per set/1 worker:
20.09 ns
time per set/2 workers:
17.07 ns
time per set/4 workers:
39.01 ns
(cd _build/default/bench && ./main.exe -brief 'Picos TLS')
Picos TLS:
gets over time/1 worker:
58.44 M/s
gets over time/2 workers:
120.15 M/s
gets over time/4 workers:
150.44 M/s
sets over time/1 worker:
31.89 M/s
sets over time/2 workers:
61.41 M/s
sets over time/4 workers:
98.47 M/s
time per get/1 worker:
17.11 ns
time per get/2 workers:
16.65 ns
time per get/4 workers:
26.59 ns
time per set/1 worker:
31.36 ns
time per set/2 workers:
32.57 ns
time per set/4 workers:
40.62 ns
(cd _build/default/bench && ./main.exe -brief 'Picos DLS')
Picos DLS:
gets over time/1 worker:
83.82 M/s
gets over time/2 workers:
103.67 M/s
gets over time/4 workers:
178.25 M/s
sets over time/1 worker:
40.09 M/s
sets over time/2 workers:
77.57 M/s
sets over time/4 workers:
77.43 M/s
time per get/1 worker:
11.93 ns
time per get/2 workers:
19.29 ns
time per get/4 workers:
22.44 ns
time per set/1 worker:
24.94 ns
time per set/2 workers:
25.78 ns
time per set/4 workers:
51.66 ns
(cd _build/default/test && ./test_picos.exe)
Testing `Picos'.
This run has ID `6BZKX1L1'.
[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.558s. 7 tests run.
(cd _build/default/bench && ./main.exe -brief 'Picos Mutex')
Picos Mutex:
locked yields over time/1024 fibers:
0.15 M/s
locked yields over time/1 fiber:
1.67 M/s
locked yields over time/256 fibers:
0.19 M/s
locked yields over time/2 domains:
0.45 M/s
locked yields over time/2 fibers:
0.73 M/s
locked yields over time/4 domains:
0.00 M/s
locked yields over time/4 fibers:
0.16 M/s
locked yields over time/512 fibers:
0.12 M/s
locked yields over time/8 domains:
0.00 M/s
locked yields over time/8 fibers:
0.27 M/s
time per locked yield/1024 fibers:
6881.41 ns
time per locked yield/1 fiber:
599.58 ns
time per locked yield/256 fibers:
5401.41 ns
time per locked yield/2 domains:
4429.93 ns
time per locked yield/2 fibers:
1370.97 ns
time per locked yield/4 domains:
1163427.03 ns
time per locked yield/4 fibers:
6329.20 ns
time per locked yield/512 fibers:
8549.33 ns
time per locked yield/8 domains:
5129413.79 ns
time per locked yield/8 fibers:
3732.44 ns
(cd _build/default/test && ./test_schedulers.exe)
Testing `Picos schedulers'.
This run has ID `AWECBS5B'.
[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 66.958s. 8 tests run.
(cd _build/default/test && ./test_mpmcq.exe)
random seed: 1582557718916213781
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.6s Mpmcq parallel
[ ] 2 0 0 2 / 32 2.7s Mpmcq parallel
[ ] 3 0 0 3 / 32 4.0s Mpmcq parallel
[ ] 4 0 0 4 / 32 5.3s Mpmcq parallel
[ ] 5 0 0 5 / 32 6.2s Mpmcq parallel
[ ] 6 0 0 6 / 32 7.0s Mpmcq parallel
[ ] 7 0 0 7 / 32 8.1s Mpmcq parallel
[ ] 8 0 0 8 / 32 9.5s Mpmcq parallel
[ ] 9 0 0 9 / 32 10.4s Mpmcq parallel
[ ] 10 0 0 10 / 32 11.1s Mpmcq parallel
[ ] 11 0 0 11 / 32 12.5s Mpmcq parallel
[ ] 12 0 0 12 / 32 13.2s Mpmcq parallel
[ ] 13 0 0 13 / 32 14.0s Mpmcq parallel
[ ] 14 0 0 14 / 32 15.1s Mpmcq parallel
[ ] 15 0 0 15 / 32 16.2s Mpmcq parallel
[ ] 16 0 0 16 / 32 17.1s Mpmcq parallel
[ ] 17 0 0 17 / 32 18.4s Mpmcq parallel
[ ] 18 0 0 18 / 32 19.1s Mpmcq parallel
[ ] 19 0 0 19 / 32 20.3s Mpmcq parallel
[ ] 20 0 0 20 / 32 21.4s Mpmcq parallel
[ ] 21 0 0 21 / 32 22.4s Mpmcq parallel
[ ] 22 0 0 22 / 32 23.0s Mpmcq parallel
[ ] 23 0 0 23 / 32 23.7s Mpmcq parallel
[ ] 24 0 0 24 / 32 24.3s Mpmcq parallel
[ ] 25 0 0 25 / 32 25.1s Mpmcq parallel
[ ] 26 0 0 26 / 32 25.9s Mpmcq parallel
[ ] 27 0 0 27 / 32 26.7s Mpmcq parallel
[ ] 28 0 0 28 / 32 27.4s Mpmcq parallel
[ ] 29 0 0 29 / 32 28.4s Mpmcq parallel
[ ] 30 0 0 30 / 32 29.0s Mpmcq parallel
[ ] 31 0 0 31 / 32 29.9s Mpmcq parallel
[ ] 32 0 0 32 / 32 30.5s Mpmcq parallel
[✓] 32 0 0 32 / 32 30.5s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 4112564035276196672
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 1.0s 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 5.3s Mpmcq parallel
[ ] 5 0 0 5 / 32 6.7s Mpmcq parallel
[ ] 6 0 0 6 / 32 8.8s Mpmcq parallel
[ ] 7 0 0 7 / 32 10.9s Mpmcq parallel
[ ] 8 0 0 8 / 32 12.5s Mpmcq parallel
[ ] 9 0 0 9 / 32 14.6s Mpmcq parallel
[ ] 10 0 0 10 / 32 16.4s Mpmcq parallel
[ ] 11 0 0 11 / 32 17.7s Mpmcq parallel
[ ] 12 0 0 12 / 32 19.2s Mpmcq parallel
[ ] 13 0 0 13 / 32 20.9s Mpmcq parallel
[ ] 14 0 0 14 / 32 22.3s Mpmcq parallel
[ ] 15 0 0 15 / 32 23.3s Mpmcq parallel
[ ] 16 0 0 16 / 32 24.3s Mpmcq parallel
[ ] 17 0 0 17 / 32 25.6s Mpmcq parallel
[ ] 18 0 0 18 / 32 26.7s Mpmcq parallel
[ ] 19 0 0 19 / 32 27.8s Mpmcq parallel
[ ] 20 0 0 20 / 32 29.1s Mpmcq parallel
[ ] 21 0 0 21 / 32 30.9s Mpmcq parallel
[ ] 22 0 0 22 / 32 31.9s Mpmcq parallel
[ ] 23 0 0 23 / 32 33.4s Mpmcq parallel
[ ] 24 0 0 24 / 32 35.6s Mpmcq parallel
[ ] 25 0 0 25 / 32 37.0s Mpmcq parallel
[ ] 26 0 0 26 / 32 38.3s Mpmcq parallel
[ ] 27 0 0 27 / 32 39.8s Mpmcq parallel
[ ] 28 0 0 28 / 32 41.1s Mpmcq parallel
[ ] 29 0 0 29 / 32 43.0s Mpmcq parallel
[ ] 30 0 0 30 / 32 44.5s Mpmcq parallel
[ ] 31 0 0 31 / 32 45.7s Mpmcq parallel
[ ] 32 0 0 32 / 32 47.1s Mpmcq parallel
[✓] 32 0 0 32 / 32 47.1s Mpmcq parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test && ./test_htbl.exe)
random seed: 2563456492425133101
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.8s Htbl parallel
[ ] 2 0 0 2 / 32 3.2s Htbl parallel
[ ] 3 0 0 3 / 32 4.4s Htbl parallel
[ ] 4 0 0 4 / 32 5.7s Htbl parallel
[ ] 5 0 0 5 / 32 6.6s Htbl parallel
[ ] 6 0 0 6 / 32 7.5s Htbl parallel
[ ] 7 0 0 7 / 32 8.7s Htbl parallel
[ ] 8 0 0 8 / 32 9.9s Htbl parallel
[ ] 9 0 0 9 / 32 10.7s Htbl parallel
[ ] 10 0 0 10 / 32 11.6s Htbl parallel
[ ] 11 0 0 11 / 32 12.6s Htbl parallel
[ ] 12 0 0 12 / 32 13.5s Htbl parallel
[ ] 13 0 0 13 / 32 14.5s Htbl parallel
[ ] 14 0 0 14 / 32 15.7s Htbl parallel
[ ] 15 0 0 15 / 32 16.5s Htbl parallel
[ ] 16 0 0 16 / 32 17.8s Htbl parallel
[ ] 17 0 0 17 / 32 19.0s Htbl parallel
[ ] 18 0 0 18 / 32 20.1s Htbl parallel
[ ] 19 0 0 19 / 32 21.0s Htbl parallel
[ ] 20 0 0 20 / 32 22.1s Htbl parallel
[ ] 21 0 0 21 / 32 22.8s Htbl parallel
[ ] 22 0 0 22 / 32 23.3s Htbl parallel
[ ] 23 0 0 23 / 32 24.1s Htbl parallel
[ ] 24 0 0 24 / 32 24.9s Htbl parallel
[ ] 25 0 0 25 / 32 25.4s Htbl parallel
[ ] 26 0 0 26 / 32 26.3s Htbl parallel
[ ] 27 0 0 27 / 32 27.0s Htbl parallel
[ ] 28 0 0 28 / 32 27.9s Htbl parallel
[ ] 29 0 0 29 / 32 28.7s Htbl parallel
[ ] 30 0 0 30 / 32 29.8s Htbl parallel
[ ] 31 0 0 31 / 32 30.8s Htbl parallel
[ ] 32 0 0 32 / 32 31.6s Htbl parallel
[✓] 32 0 0 32 / 32 31.6s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 1039420670141655935
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 1.0s Htbl parallel
[ ] 2 0 0 2 / 32 2.3s Htbl parallel
[ ] 3 0 0 3 / 32 4.4s Htbl parallel
[ ] 4 0 0 4 / 32 6.3s Htbl parallel
[ ] 5 0 0 5 / 32 8.4s Htbl parallel
[ ] 6 0 0 6 / 32 10.6s Htbl parallel
[ ] 7 0 0 7 / 32 12.7s Htbl parallel
[ ] 8 0 0 8 / 32 14.6s Htbl parallel
[ ] 9 0 0 9 / 32 16.3s Htbl parallel
[ ] 10 0 0 10 / 32 17.9s Htbl parallel
[ ] 11 0 0 11 / 32 19.5s Htbl parallel
[ ] 12 0 0 12 / 32 21.2s Htbl parallel
[ ] 13 0 0 13 / 32 23.1s Htbl parallel
[ ] 14 0 0 14 / 32 24.7s Htbl parallel
[ ] 15 0 0 15 / 32 26.3s Htbl parallel
[ ] 16 0 0 16 / 32 27.6s Htbl parallel
[ ] 17 0 0 17 / 32 29.1s Htbl parallel
[ ] 18 0 0 18 / 32 30.1s Htbl parallel
[ ] 19 0 0 19 / 32 31.8s Htbl parallel
[ ] 20 0 0 20 / 32 33.8s Htbl parallel
[ ] 21 0 0 21 / 32 35.2s Htbl parallel
[ ] 22 0 0 22 / 32 36.7s Htbl parallel
[ ] 23 0 0 23 / 32 37.8s Htbl parallel
[ ] 24 0 0 24 / 32 39.2s Htbl parallel
[ ] 25 0 0 25 / 32 40.4s Htbl parallel
[ ] 26 0 0 26 / 32 42.2s Htbl parallel
[ ] 27 0 0 27 / 32 43.4s Htbl parallel
[ ] 28 0 0 28 / 32 44.5s Htbl parallel
[ ] 29 0 0 29 / 32 45.7s Htbl parallel
[ ] 30 0 0 30 / 32 46.8s Htbl parallel
[ ] 31 0 0 31 / 32 48.2s Htbl parallel
[ ] 32 0 0 32 / 32 49.7s Htbl parallel
[✓] 32 0 0 32 / 32 49.7s Htbl parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test && ./test_mpscq.exe)
random seed: 780230072748943957
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 2.2s Mpscq parallel
[ ] 2 0 0 2 / 32 4.5s Mpscq parallel
[ ] 3 0 0 3 / 32 6.7s Mpscq parallel
[ ] 4 0 0 4 / 32 10.5s Mpscq parallel
[ ] 5 0 0 5 / 32 13.4s Mpscq parallel
[ ] 6 0 0 6 / 32 16.3s Mpscq parallel
[ ] 7 0 0 7 / 32 19.3s Mpscq parallel
[ ] 8 0 0 8 / 32 22.1s Mpscq parallel
[ ] 9 0 0 9 / 32 23.6s Mpscq parallel
[ ] 10 0 0 10 / 32 24.6s Mpscq parallel
[ ] 11 0 0 11 / 32 26.1s Mpscq parallel
[ ] 12 0 0 12 / 32 27.0s Mpscq parallel
[ ] 13 0 0 13 / 32 27.8s Mpscq parallel
[ ] 14 0 0 14 / 32 29.1s Mpscq parallel
[ ] 15 0 0 15 / 32 30.2s Mpscq parallel
[ ] 16 0 0 16 / 32 31.8s Mpscq parallel
[ ] 17 0 0 17 / 32 33.3s Mpscq parallel
[ ] 18 0 0 18 / 32 37.3s Mpscq parallel
[ ] 18 0 0 18 / 32 37.5s Mpscq parallel (generating)
[ ] 19 0 0 19 / 32 45.7s Mpscq parallel
[ ] 20 0 0 20 / 32 54.3s Mpscq parallel
[ ] 21 0 0 21 / 32 62.9s Mpscq parallel
[ ] 22 0 0 22 / 32 69.0s Mpscq parallel
[ ] 23 0 0 23 / 32 73.7s Mpscq parallel
[ ] 24 0 0 24 / 32 78.1s Mpscq parallel
[ ] 25 0 0 25 / 32 81.7s Mpscq parallel
[ ] 26 0 0 26 / 32 84.9s Mpscq parallel
[ ] 27 0 0 27 / 32 88.8s Mpscq parallel
[ ] 28 0 0 28 / 32 94.2s Mpscq parallel
[ ] 29 0 0 29 / 32 97.8s Mpscq parallel
[ ] 30 0 0 30 / 32 100.1s Mpscq parallel
[ ] 31 0 0 31 / 32 105.2s Mpscq parallel
[ ] 32 0 0 32 / 32 109.6s Mpscq parallel
[✓] 32 0 0 32 / 32 109.6s Mpscq parallel
================================================================================
success (ran 2 tests)
(cd _build/default/bench && ./main.exe -brief 'Picos Semaphore')
Picos Semaphore:
acquired yields over time/4 domains, 1 resource:
0.01 M/s
acquired yields over time/4 domains, 2 resources:
1.24 M/s
acquired yields over time/4 domains, 3 resources:
1.31 M/s
acquired yields over time/4 domains, 4 resources:
3.62 M/s
acquired yields over time/4 fibers, 1 resource:
0.04 M/s
acquired yields over time/4 fibers, 2 resources:
0.03 M/s
acquired yields over time/4 fibers, 3 resources:
0.09 M/s
acquired yields over time/4 fibers, 4 resources:
0.97 M/s
time per acquired yield/4 domains, 1 resource:
602952.97 ns
time per acquired yield/4 domains, 2 resources:
3223.94 ns
time per acquired yield/4 domains, 3 resources:
3046.65 ns
time per acquired yield/4 domains, 4 resources:
1105.80 ns
time per acquired yield/4 fibers, 1 resource:
27629.70 ns
time per acquired yield/4 fibers, 2 resources:
32403.65 ns
time per acquired yield/4 fibers, 3 resources:
10597.09 ns
time per acquired yield/4 fibers, 4 resources:
1035.58 ns
(cd _build/default/bench && ./main.exe -brief 'Picos Spawn')
Picos Spawn:
spawns over time/with packed computation:
4.98 M/s
time per spawn/with packed computation:
200.84 ns
(cd _build/default/bench && ./main.exe -brief 'Picos Yield')
Picos Yield:
time per yield/10000 fibers:
2754.30 ns
time per yield/1000 fibers:
1042.29 ns
time per yield/100 fibers:
355.15 ns
time per yield/10 fibers:
395.37 ns
time per yield/1 fiber:
208.62 ns
yields over time/10000 fibers:
0.36 M/s
yields over time/1000 fibers:
0.96 M/s
yields over time/100 fibers:
2.82 M/s
yields over time/10 fibers:
2.53 M/s
yields over time/1 fiber:
4.79 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.02 M/s
async round-trips over time/2 workers:
0.07 M/s
async round-trips over time/4 workers:
0.04 M/s
round-trips over time/1 worker:
0.05 M/s
round-trips over time/2 workers:
0.18 M/s
round-trips over time/4 workers:
0.06 M/s
time per async round-trip/1 worker:
42962.82 ns
time per async round-trip/2 workers:
29049.00 ns
time per async round-trip/4 workers:
108219.33 ns
time per round-trip/1 worker:
18654.20 ns
time per round-trip/2 workers:
10855.73 ns
time per round-trip/4 workers:
69742.16 ns
(cd _build/default/bench && ./main.exe -brief 'Ref with Picos_sync.Mutex')
Ref with Picos_sync.Mutex:
ops over time/cas int (checked):
4.66 M/s
ops over time/cas int (unchecked):
18.21 M/s
ops over time/get (checked):
2.78 M/s
ops over time/get (unchecked):
19.09 M/s
ops over time/incr (checked):
3.65 M/s
ops over time/incr (unchecked):
19.37 M/s
ops over time/push & pop (checked):
2.67 M/s
ops over time/push & pop (unchecked):
7.47 M/s
ops over time/swap (checked):
2.52 M/s
ops over time/swap (unchecked):
17.40 M/s
ops over time/xchg int (checked):
4.68 M/s
ops over time/xchg int (unchecked):
16.62 M/s
time per op/cas int (checked):
214.50 ns
time per op/cas int (unchecked):
54.92 ns
time per op/get (checked):
359.17 ns
time per op/get (unchecked):
52.38 ns
time per op/incr (checked):
274.30 ns
time per op/incr (unchecked):
51.63 ns
time per op/push & pop (checked):
374.76 ns
time per op/push & pop (unchecked):
133.87 ns
time per op/swap (checked):
396.06 ns
time per op/swap (unchecked):
57.46 ns
time per op/xchg int (checked):
213.62 ns
time per op/xchg int (unchecked):
60.15 ns
(cd _build/default/bench && ./main.exe -brief Picos_mpmcq)
Picos_mpmcq:
messages over time/1 nb adder, 1 nb taker:
15.72 M/s
messages over time/1 nb adder, 2 nb takers:
10.29 M/s
messages over time/1 nb adder, 4 nb takers:
6.56 M/s
messages over time/2 nb adders, 1 nb taker:
8.53 M/s
messages over time/2 nb adders, 2 nb takers:
7.18 M/s
messages over time/2 nb adders, 4 nb takers:
8.59 M/s
messages over time/4 nb adders, 1 nb taker:
6.58 M/s
messages over time/4 nb adders, 2 nb takers:
6.87 M/s
messages over time/4 nb adders, 4 nb takers:
7.15 M/s
messages over time/one domain:
12.75 M/s
time per message/1 nb adder, 1 nb taker:
127.24 ns
time per message/1 nb adder, 2 nb takers:
291.68 ns
time per message/1 nb adder, 4 nb takers:
761.88 ns
time per message/2 nb adders, 1 nb taker:
351.88 ns
time per message/2 nb adders, 2 nb takers:
557.08 ns
time per message/2 nb adders, 4 nb takers:
698.77 ns
time per message/4 nb adders, 1 nb taker:
759.32 ns
time per message/4 nb adders, 2 nb takers:
873.35 ns
time per message/4 nb adders, 4 nb takers:
1118.29 ns
time per message/one domain:
78.41 ns
(cd _build/default/bench && ./main.exe -brief Picos_mpscq)
Picos_mpscq:
messages over time/1 nb adder, 1 nb taker:
11.75 M/s
messages over time/2 nb adders, 1 nb taker:
3.97 M/s
messages over time/4 nb adders, 1 nb taker:
2.33 M/s
messages over time/one domain:
13.31 M/s
time per message/1 nb adder, 1 nb taker:
170.20 ns
time per message/2 nb adders, 1 nb taker:
755.20 ns
time per message/4 nb adders, 1 nb taker:
2143.11 ns
time per message/one domain:
75.14 ns
(cd _build/default/bench && ./main.exe -brief Picos_htbl)
Picos_htbl:
operations over time/1 worker, 10% reads:
8.64 M/s
operations over time/1 worker, 50% reads:
9.85 M/s
operations over time/1 worker, 90% reads:
13.29 M/s
operations over time/2 workers, 10% reads:
12.79 M/s
operations over time/2 workers, 50% reads:
12.66 M/s
operations over time/2 workers, 90% reads:
21.02 M/s
operations over time/4 workers, 10% reads:
8.01 M/s
operations over time/4 workers, 50% reads:
12.70 M/s
operations over time/4 workers, 90% reads:
24.60 M/s
operations over time/8 workers, 10% reads:
12.51 M/s
operations over time/8 workers, 50% reads:
10.41 M/s
operations over time/8 workers, 90% reads:
29.98 M/s
time per operation/1 worker, 10% reads:
115.71 ns
time per operation/1 worker, 50% reads:
101.54 ns
time per operation/1 worker, 90% reads:
75.23 ns
time per operation/2 workers, 10% reads:
156.40 ns
time per operation/2 workers, 50% reads:
158.03 ns
time per operation/2 workers, 90% reads:
95.14 ns
time per operation/4 workers, 10% reads:
499.21 ns
time per operation/4 workers, 50% reads:
315.01 ns
time per operation/4 workers, 90% reads:
162.63 ns
time per operation/8 workers, 10% reads:
639.67 ns
time per operation/8 workers, 50% reads:
768.55 ns
time per operation/8 workers, 90% reads:
266.87 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.10 M/s
blocking reads over time/4 workers:
0.06 M/s
non-blocking reads over time/1 worker:
0.08 M/s
non-blocking reads over time/2 workers:
0.85 M/s
non-blocking reads over time/4 workers:
0.99 M/s
time per blocking read/1 worker:
9000.05 ns
time per blocking read/2 workers:
19106.80 ns
time per blocking read/4 workers:
63056.00 ns
time per non-blocking read/1 worker:
11809.63 ns
time per non-blocking read/2 workers:
2366.43 ns
time per non-blocking read/4 workers:
4055.03 ns
(cd _build/default/bench && ./main.exe -brief 'Picos_sync Stream')
Picos_sync Stream:
messages over time/1 nb pusher, 1 nb reader:
1.38 M/s
messages over time/2 nb pushers, 1 nb reader:
0.54 M/s
messages over time/4 nb pushers, 1 nb reader:
0.79 M/s
messages over time/one domain:
1.51 M/s
time per message/1 nb pusher, 1 nb reader:
1444.93 ns
time per message/2 nb pushers, 1 nb reader:
5581.14 ns
time per message/4 nb pushers, 1 nb reader:
6364.18 ns
time per message/one domain:
662.30 ns
(cd _build/default/bench && ./main.exe -brief Fib)
Fib:
spawns over time/1 mfifo, fib 20:
0.04 M/s
spawns over time/1 rando, fib 20:
0.12 M/s
spawns over time/2 mfifos, fib 20:
0.19 M/s
spawns over time/2 randos, fib 20:
0.08 M/s
spawns over time/4 mfifos, fib 20:
0.08 M/s
spawns over time/4 randos, fib 20:
0.01 M/s
spawns over time/8 mfifos, fib 20:
0.10 M/s
spawns over time/8 randos, fib 20:
0.00 M/s
time per spawn/1 mfifo, fib 20:
24723.68 ns
time per spawn/1 rando, fib 20:
8017.83 ns
time per spawn/2 mfifos, fib 20:
10703.89 ns
time per spawn/2 randos, fib 20:
23932.50 ns
time per spawn/4 mfifos, fib 20:
50762.77 ns
time per spawn/4 randos, fib 20:
377488.80 ns
time per spawn/8 mfifos, fib 20:
81055.61 ns
time per spawn/8 randos, fib 20:
2192399.81 ns
(cd _build/default/bench && ./main.exe -brief 'Picos binaries')
Picos binaries:
binary size/picos:
84.14 kB
binary size/picos.domain:
3.71 kB
binary size/picos.thread:
3.15 kB
binary size/picos_aux.htbl:
48.95 kB
binary size/picos_aux.mpmcq:
15.32 kB
binary size/picos_aux.mpscq:
17.83 kB
binary size/picos_aux.rc:
16.24 kB
binary size/picos_io:
107.75 kB
binary size/picos_io.fd:
9.08 kB
binary size/picos_io.select:
60.41 kB
binary size/picos_io_cohttp:
44.24 kB
binary size/picos_lwt:
25.24 kB
binary size/picos_lwt.unix:
13.85 kB
binary size/picos_mux.fifo:
25.33 kB
binary size/picos_mux.multififo:
58.16 kB
binary size/picos_mux.random:
46.90 kB
binary size/picos_mux.thread:
21.41 kB
binary size/picos_std.awaitable:
32.46 kB
binary size/picos_std.event:
21.60 kB
binary size/picos_std.finally:
18.17 kB
binary size/picos_std.structured:
77.29 kB
binary size/picos_std.sync:
104.94 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:
1.07 M/s
messages over time/1 adder, 2 takers:
0.28 M/s
messages over time/1 adder, 4 takers:
0.06 M/s
messages over time/2 adders, 1 taker:
0.06 M/s
messages over time/2 adders, 2 takers:
0.02 M/s
messages over time/2 adders, 4 takers:
0.00 M/s
messages over time/4 adders, 1 taker:
0.00 M/s
messages over time/4 adders, 2 takers:
0.00 M/s
messages over time/4 adders, 4 takers:
0.00 M/s
messages over time/one domain:
6.72 M/s
time per message/1 adder, 1 taker:
1860.97 ns
time per message/1 adder, 2 takers:
10904.97 ns
time per message/1 adder, 4 takers:
88458.77 ns
time per message/2 adders, 1 taker:
52609.46 ns
time per message/2 adders, 2 takers:
211689.05 ns
time per message/2 adders, 4 takers:
10461476.03 ns
time per message/4 adders, 1 taker:
3665932.22 ns
time per message/4 adders, 2 takers:
11168124.48 ns
time per message/4 adders, 4 takers:
101978329.08 ns
time per message/one domain:
148.75 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
2025-01-25 17:38.47 ---> saved as "351c2ad70478fd5572df6f60c468efe203cff13ed7daf607efe0597f0b125778"
Job succeeded
2025-01-25 17:50.50: Job succeeded