2024-12-15 15:18.26: New job: test ocaml-multicore/picos https://github.com/ocaml-multicore/picos.git#refs/heads/add-actor-example (4cfe00ac44d11dde2071dd77b334f83b16dbe3ce) (freebsd-x86_64:freebsd-14.1-5.2_opam-2.3)
Base: freebsd-14.1-ocaml-5.2
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/picos.git" -b "add-actor-example" && cd "picos" && git reset --hard 4cfe00ac
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.1-ocaml-5.2
# freebsd-14.1-5.2_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 2ec14c480b02fdb7fcde7f5cf00cc475a1cdb8c1 || git fetch origin master) && git reset -q --hard 2ec14c480b02fdb7fcde7f5cf00cc475a1cdb8c1 && 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-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.3 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.0 dune-configurator.3.17.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 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.0 multicore-magic-dscheck.2.3.0 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.7.1 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.33.0 ppxlib_jane.v0.17.0 psq.0.2.1 ptime.1.2.0 qcheck-core.0.23 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 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
2024-12-15 15:18.26: Using cache hint "ocaml-multicore/picos-freebsd-14.1-ocaml-5.2-freebsd-14.1-5.2_opam-2.3-f6cd2c5a261e7cf84bbbfb51dd8029d2"
2024-12-15 15:18.26: Using OBuilder spec:
((from freebsd-14.1-ocaml-5.2)
(comment freebsd-14.1-5.2_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 2ec14c480b02fdb7fcde7f5cf00cc475a1cdb8c1 || git fetch origin master) && git reset -q --hard 2ec14c480b02fdb7fcde7f5cf00cc475a1cdb8c1 && 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-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.3 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.0 dune-configurator.3.17.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 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.0 multicore-magic-dscheck.2.3.0 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.7.1 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.33.0 ppxlib_jane.v0.17.0 psq.0.2.1 ptime.1.2.0 qcheck-core.0.23 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 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"))
)
2024-12-15 15:18.26: Waiting for resource in pool OCluster
2024-12-15 15:18.26: Waiting for worker…
2024-12-15 15:18.26: Got resource from pool OCluster
Building on summer
All commits already cached
HEAD is now at 4cfe00a Add an actor model implementation example
(from freebsd-14.1-ocaml-5.2)
2024-12-15 15:07.25 ---> using "b360337939d1644dc8204948bb9f9914639142fcc456a4d40869d01f582b410d" from cache
/: (comment freebsd-14.1-5.2_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"))
2024-12-15 15:07.26 ---> using "ac6a8e53c6a5d1febaa73a40a2a29987a33e29d91e524c6665af92723cb99de9" 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
2024-12-15 15:07.26 ---> using "b87241ae74f21a568ed56e39cf4bc3a2162f2ccf12ae04beb7a59fae0c6ad0f4" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.1-RELEASE-p5
The OCaml toplevel, version 5.2.0
2.3.0
2024-12-15 15:07.26 ---> using "ccfe7de98cb2ca95bb2fb24fb9b452db076473e62582d2f18508a506b3873aeb" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-12-15 15:07.27 ---> using "3aa38c608cf884b6eb35c0bfaf45886f64d08db7de724bafee2d1fcd0ed410ea" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 2ec14c480b02fdb7fcde7f5cf00cc475a1cdb8c1 || git fetch origin master) && git reset -q --hard 2ec14c480b02fdb7fcde7f5cf00cc475a1cdb8c1 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
a6cd5e9297..de786e28db master -> origin/master
2ec14c480b Merge pull request #27086 from jmid/opam-publish-qcheck.0.23-ppx_deriving_qcheck.0.5
<><> 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.
2024-12-15 15:07.27 ---> using "9dc075f75d5ae9b04271cd09430c81b1365f268b0adc0fb48221813e16acec53" 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-12-15 15:07.28 ---> using "37b030529fb1b40432166b29bb32ece613da18cefe15bfb4006505a09472c191" 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-12-15 15:07.29 ---> using "b7b4551d4ca25aa34370737c2a43abf2736b8508f437d97ea0ce38cf1dc3480b" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2024-12-15 15:07.29 ---> using "8d0f56841a501d23a0991377c1cd0d0230ca24bf698acaf42cf8e6f2dee5388e" 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 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.3 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.0 dune-configurator.3.17.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 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.0 multicore-magic-dscheck.2.3.0 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.7.1 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.33.0 ppxlib_jane.v0.17.0 psq.0.2.1 ptime.1.2.0 qcheck-core.0.23 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 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_io.dev] synchronised (file:///src)
[picos_aux.dev] synchronised (file:///src)
[picos.dev] synchronised (file:///src)
[picos_io_cohttp.dev] synchronised (file:///src)
[picos_mux.dev] synchronised (file:///src)
[picos_lwt.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-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:
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. 35565 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.33.1
- ca_root_nss: 3.104
- gmp: 6.3.0
- icu: 74.2_1,1
- libuv: 1.49.0
- node20: 20.17.0
- npm: 10.8.3
- npm-node20: 10.8.3
-
- Number of packages to be installed: 9
-
- The process will require 112 MiB more space.
- 26 MiB to be downloaded.
- [summer] [1/9] Fetching c-ares-1.33.1.pkg: ........ done
- [summer] [2/9] Fetching npm-node20-10.8.3.pkg: .
- .
- ......
- .. done
- [summer] [3/9] Fetching icu-74.2_1,1.pkg:
- .
- .
- .
- ..
- .
- ..
- .
- . done
- [summer] [4/9] Fetching libuv-1.49.0.pkg: ......... done
- [summer] [5/9] Fetching gmp-6.3.0.pkg: .......
- ... done
- [summer] [6/9] Fetching npm-10.8.3.pkg: . done
- [summer] [7/9] Fetching brotli-1.1.0,1.pkg: .......... done
- [summer] [8/9] Fetching ca_root_nss-3.104.pkg: .......... done
- [summer] [9/9] Fetching node20-20.17.0.pkg: .
- ...
- .....
- . done
- Checking integrity... done (0 conflicting)
- [summer] [1/9] Installing c-ares-1.33.1...
- [summer] [1/9] Extracting c-ares-1.33.1: .......... 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.0...
- [summer] [3/9] Extracting libuv-1.49.0: .......... 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 node20-20.17.0...
- [summer] [6/9] Extracting node20-20.17.0: .......... done
- [summer] [7/9] Installing npm-node20-10.8.3...
- [summer] [7/9] Extracting npm-node20-10.8.3: .......... done
- [summer] [8/9] Installing gmp-6.3.0...
- [summer] [8/9] Extracting gmp-6.3.0: .......... done
- [summer] [9/9] Installing npm-10.8.3...
- [summer] [9/9] Extracting npm-10.8.3: ... 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 node20-20.17.0:
-
- --
- Note: If you need npm (Node Package Manager), please install www/npm.
2024-12-15 15:07.30 ---> using "9577f64ce97906cc3161a85e620758c8d20cce24524969ab062ec93ab83d4575" 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 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 3
∗ 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.0
∗ dune-configurator 3.17.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
∗ 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.0
∗ multicore-magic-dscheck 2.3.0
∗ ocaml-compiler-libs v0.17.0
∗ ocaml-syntax-shims 1.0.0
∗ ocaml-version 3.7.1
∗ 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.33.0
∗ ppxlib_jane v0.17.0
∗ psq 0.2.1
∗ ptime 1.2.0
∗ qcheck-core 0.23
∗ qcheck-multicoretests-util 0.4
∗ qcheck-stm 0.4
∗ 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 alcotest.1.8.0 (cached)
⬇ retrieved backoff.0.1.1 (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 cohttp.6.0.0, cohttp-lwt.6.0.0, cohttp-lwt-unix.6.0.0, http.6.0.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.3
∗ installed conf-gmp.4
⬇ retrieved cppo.1.8.0 (cached)
⬇ retrieved containers.3.15 (cached)
⬇ retrieved csexp.1.5.2 (cached)
∗ installed conf-gmp-powm-sec.3
⬇ retrieved astring.0.8.5 (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)
∗ installed conf-npm.1
⬇ 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 digestif.1.2.0 (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 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 dune.3.17.0, dune-configurator.3.17.0 (cached)
⬇ retrieved mtime.2.1.0 (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 multicore-magic.2.3.0, multicore-magic-dscheck.2.3.0 (cached)
⬇ retrieved multicore-bench.0.1.7 (cached)
⬇ retrieved js_of_ocaml.5.9.1, js_of_ocaml-compiler.5.9.1 (cached)
⬇ retrieved ocaml-version.3.7.1 (cached)
⬇ retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
⬇ retrieved ocaml-syntax-shims.1.0.0 (cached)
⬇ retrieved ocaml-compiler-libs.v0.17.0 (cached)
⬇ retrieved ocplib-endian.1.2 (cached)
⬇ retrieved ocamlfind.1.9.6 (cached)
⬇ retrieved oseq.0.5.1 (cached)
⬇ retrieved ppx_derivers.1.2.1 (cached)
⬇ retrieved ohex.0.2.0 (cached)
⬇ retrieved ppx_sexp_conv.v0.17.0 (cached)
⬇ retrieved ppxlib_jane.v0.17.0 (cached)
⬇ retrieved ocamlbuild.0.15.0 (cached)
⬇ retrieved ptime.1.2.0 (cached)
⬇ retrieved psq.0.2.1 (cached)
⬇ retrieved qcheck-core.0.23 (cached)
⬇ retrieved qcheck-multicoretests-util.0.4, qcheck-stm.0.4 (cached)
⬇ retrieved re.1.12.0 (cached)
⬇ retrieved result.1.5 (cached)
⬇ retrieved sedlex.3.3 (cached)
⬇ retrieved seq.base (cached)
∗ installed seq.base
⬇ retrieved sexplib0.v0.17.0 (cached)
⬇ retrieved rresult.0.7.0 (cached)
⬇ retrieved stdlib-shims.0.3.0 (cached)
⬇ retrieved stringext.1.6.0 (cached)
⬇ retrieved ppxlib.0.33.0 (cached)
⬇ retrieved thread-table.1.0.0 (cached)
⬇ retrieved thread-local-storage.0.2 (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 zarith.1.14 (cached)
⬇ retrieved x509.1.0.5 (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 ptime.1.2.0
∗ installed mtime.2.1.0
∗ installed fmt.0.9.0
∗ installed astring.0.8.5
∗ installed fpath.0.7.3
∗ installed dune.3.17.0
∗ installed backoff.0.1.1
∗ installed domain_shims.0.1.0
∗ installed domain-name.0.4.0
∗ installed gmap.0.3.0
∗ installed macaddr.5.6.0
∗ installed either.1.0.0
∗ installed duration.0.2.1
∗ installed csexp.1.5.2
∗ installed camlp-streams.5.0.1
∗ installed ocaml-syntax-shims.1.0.0
∗ installed ocaml-compiler-libs.v0.17.0
∗ installed ipaddr.5.6.0
∗ installed multicore-magic.2.3.0
∗ 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 ocaml-version.3.7.1
∗ installed cppo.1.8.0
∗ installed base64.3.5.1
∗ installed asn1-combinators.0.3.2
∗ installed ohex.0.2.0
∗ installed ppx_derivers.1.2.1
∗ installed oseq.0.5.1
∗ installed psq.0.2.1
∗ installed stdlib-shims.0.3.0
∗ installed result.1.5
∗ installed ocaml_intrinsics_kernel.v0.17.1
∗ installed stringext.1.6.0
∗ installed ocplib-endian.1.2
∗ installed thread-table.1.0.0
∗ installed tsort.2.1.0
∗ installed thread-local-storage.0.2
∗ installed sexplib0.v0.17.0
∗ installed domain-local-await.1.0.1
∗ installed dune-configurator.3.17.0
∗ installed digestif.1.2.0
∗ installed qcheck-core.0.23
∗ installed yojson.2.2.2
∗ installed re.1.12.0
∗ installed qcheck-multicoretests-util.0.4
∗ installed bigstringaf.0.10.0
∗ installed multicore-bench.0.1.7
∗ installed qcheck-stm.0.4
∗ installed angstrom.0.16.1
∗ installed mirage-crypto.1.1.0
∗ installed alcotest.1.8.0
∗ installed containers.3.15
∗ installed kdf.1.0.0
∗ installed uri.4.4.0
∗ installed dscheck.0.5.0
∗ installed multicore-magic-dscheck.2.3.0
∗ installed lwt.5.9.0
∗ installed base.v0.17.1
∗ installed ppxlib.0.33.0
∗ installed ppxlib_jane.v0.17.0
∗ installed menhir.20240715
∗ installed sedlex.3.3
∗ 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.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.
2024-12-15 15:07.31 ---> using "6a3e601e85f262ed00192cd7084d85eeae24f17a0dc82575507b53e29ad9b372" from cache
/src: (copy (src .) (dst /src))
2024-12-15 15:07.35 ---> saved as "d04c457da579d659249a62e0aebf2b3e30fa8064991e6009c47960714ce5a377"
/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.67 M/s
attach detach pairs over time/2 workers:
1.00 M/s
attach detach pairs over time/4 workers:
0.21 M/s
attach detach pairs over time/trivial:
1.24 M/s
time per attach detach pair/1 worker:
1486.97 ns
time per attach detach pair/2 workers:
1991.09 ns
time per attach detach pair/4 workers:
19422.49 ns
time per attach detach pair/trivial:
806.60 ns
(cd _build/default/bench && ./main.exe -brief 'Picos Current')
Picos Current:
ops over time/1 worker:
19.03 M/s
ops over time/2 workers:
11.15 M/s
ops over time/4 workers:
10.10 M/s
time per op/1 worker:
52.55 ns
time per op/2 workers:
179.35 ns
time per op/4 workers:
396.06 ns
(cd _build/default/test && ./test_lwt_unix.exe)
Testing `Picos_lwt'.
This run has ID `8ZY1F049'.
[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_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 && ./test_select.exe)
Testing `Picos_select'.
This run has ID `KANHBLKX'.
[OK] Intr 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_select'.
Test Successful in 7.778s. 1 test run.
(cd _build/default/bench && ./main.exe -brief 'Picos FLS (excluding Current)')
Picos FLS (excluding Current):
gets over time/1 worker:
93.02 M/s
gets over time/2 workers:
222.87 M/s
gets over time/4 workers:
190.91 M/s
sets over time/1 worker:
52.98 M/s
sets over time/2 workers:
102.20 M/s
sets over time/4 workers:
65.89 M/s
time per get/1 worker:
10.75 ns
time per get/2 workers:
8.97 ns
time per get/4 workers:
20.95 ns
time per set/1 worker:
18.88 ns
time per set/2 workers:
19.57 ns
time per set/4 workers:
60.71 ns
(cd _build/default/test && ./test_server_and_client.exe)
Using blocking sockets and fibers on OCaml 5:
Looping server running
Server listening
Server accepting
Client B running
Client A running
Client B connected
Client B wrote 100
Client A connected
Client A wrote 100
Server accepted client
Server read 100
Server accepting
Server wrote 50
Client B read 50
Server accepted client
Server accepting
Server read 100
Server wrote 50
Client A read 50
Server and Client test: OK
(cd _build/default/test && ./test_finally.exe)
Testing `Picos_finally'.
This run has ID `4X5HFOV7'.
[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.024s. 2 tests run.
(cd _build/default/test && ./test_io.exe)
Testing `Picos_io'.
This run has ID `G2SAPY77'.
[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.512s. 6 tests run.
(cd _build/default/test && ./test_sync.exe -- Event 0)
Testing `Picos_sync'.
This run has ID `C3H515MS'.
[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.119s. 1 test run.
(cd _build/default/test && ./test_structured.exe)
Testing `Picos_structured'.
This run has ID `J3ZS9LAP'.
[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 1.224s. 14 tests run.
(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_io_with_lwt.exe)
Testing `Picos_io_with_lwt'.
This run has ID `ZUBY5NH8'.
[OK] Unix 0 system.
Full test results in `/src/_build/default/test/_build/_tests/Picos_io_with_lwt'.
Test Successful in 2.058s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Lazy 0)
Testing `Picos_sync'.
This run has ID `9KEYDX0R'.
[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.003s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Lazy 1)
Testing `Picos_sync'.
This run has ID `R7SR93GE'.
[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.015s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Semaphore 0)
Testing `Picos_sync'.
This run has ID `47NITGXG'.
[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.027s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Semaphore 1)
Testing `Picos_sync'.
This run has ID `DIXPF9EZ'.
[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.361s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Non-cancelable ops' 0)
Testing `Picos_sync'.
This run has ID `P3NOK62X'.
[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.016s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 0)
Testing `Picos_sync'.
This run has ID `71A5KO7R'.
[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.004s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 1)
Testing `Picos_sync'.
This run has ID `TT86FBUA'.
[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.019s. 1 test run.
(cd _build/default/test && ./test_picos_dscheck.exe)
Testing `Picos DSCheck'.
This run has ID `XJ102MPH'.
[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.419s. 3 tests run.
(cd _build/default/test && ./test_io_cohttp.exe)
Uri: //127.0.0.1:30551/hello-io-cohttp
Method: POST
host: 127.0.0.1:30551
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 `2DZ927J2'.
[OK] Multiple pushes and pops 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_mpmcq DSCheck'.
Test Successful in 8.062s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 2)
Testing `Picos_sync'.
This run has ID `VS3UM8RB'.
[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 7.713s. 1 test run.
(cd _build/default/bench && ./main.exe -brief 'Picos TLS')
Picos TLS:
gets over time/1 worker:
58.17 M/s
gets over time/2 workers:
74.93 M/s
gets over time/4 workers:
86.32 M/s
sets over time/1 worker:
35.29 M/s
sets over time/2 workers:
41.25 M/s
sets over time/4 workers:
24.03 M/s
time per get/1 worker:
17.19 ns
time per get/2 workers:
26.69 ns
time per get/4 workers:
46.34 ns
time per set/1 worker:
28.34 ns
time per set/2 workers:
48.49 ns
time per set/4 workers:
166.43 ns
(cd _build/default/bench && ./main.exe -brief 'Picos DLS')
Picos DLS:
gets over time/1 worker:
63.06 M/s
gets over time/2 workers:
144.46 M/s
gets over time/4 workers:
133.90 M/s
sets over time/1 worker:
38.45 M/s
sets over time/2 workers:
99.22 M/s
sets over time/4 workers:
47.83 M/s
time per get/1 worker:
15.86 ns
time per get/2 workers:
13.84 ns
time per get/4 workers:
29.87 ns
time per set/1 worker:
26.01 ns
time per set/2 workers:
20.16 ns
time per set/4 workers:
83.64 ns
(cd _build/default/test && ./test_picos.exe)
Testing `Picos'.
This run has ID `GUP0XMP6'.
[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.269s. 7 tests run.
(cd _build/default/test && ./test_mpmcq.exe)
random seed: 2310896678073905028
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.3s Mpmcq parallel
[ ] 3 0 0 3 / 32 3.1s Mpmcq parallel
[ ] 4 0 0 4 / 32 3.7s Mpmcq parallel
[ ] 5 0 0 5 / 32 4.3s Mpmcq parallel
[ ] 6 0 0 6 / 32 5.4s Mpmcq parallel
[ ] 7 0 0 7 / 32 6.6s Mpmcq parallel
[ ] 8 0 0 8 / 32 7.6s Mpmcq parallel
[ ] 9 0 0 9 / 32 8.4s Mpmcq parallel
[ ] 10 0 0 10 / 32 9.3s Mpmcq parallel
[ ] 11 0 0 11 / 32 10.5s Mpmcq parallel
[ ] 12 0 0 12 / 32 11.2s Mpmcq parallel
[ ] 13 0 0 13 / 32 12.3s Mpmcq parallel
[ ] 14 0 0 14 / 32 13.3s Mpmcq parallel
[ ] 15 0 0 15 / 32 13.9s Mpmcq parallel
[ ] 16 0 0 16 / 32 14.8s Mpmcq parallel
[ ] 17 0 0 17 / 32 15.3s Mpmcq parallel
[ ] 18 0 0 18 / 32 16.3s Mpmcq parallel
[ ] 19 0 0 19 / 32 17.2s Mpmcq parallel
[ ] 20 0 0 20 / 32 17.8s Mpmcq parallel
[ ] 21 0 0 21 / 32 18.6s Mpmcq parallel
[ ] 22 0 0 22 / 32 20.1s Mpmcq parallel
[ ] 23 0 0 23 / 32 20.9s Mpmcq parallel
[ ] 24 0 0 24 / 32 22.0s Mpmcq parallel
[ ] 25 0 0 25 / 32 22.9s Mpmcq parallel
[ ] 26 0 0 26 / 32 23.7s Mpmcq parallel
[ ] 27 0 0 27 / 32 24.9s Mpmcq parallel
[ ] 28 0 0 28 / 32 26.2s Mpmcq parallel
[ ] 29 0 0 29 / 32 27.2s Mpmcq parallel
[ ] 30 0 0 30 / 32 28.6s Mpmcq parallel
[ ] 31 0 0 31 / 32 29.3s Mpmcq parallel
[ ] 32 0 0 32 / 32 29.9s Mpmcq parallel
[✓] 32 0 0 32 / 32 29.9s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 2632048528219410217
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.8s Mpmcq parallel
[ ] 2 0 0 2 / 32 1.7s Mpmcq parallel
[ ] 3 0 0 3 / 32 2.5s Mpmcq parallel
[ ] 4 0 0 4 / 32 2.9s Mpmcq parallel
[ ] 5 0 0 5 / 32 4.1s Mpmcq parallel
[ ] 6 0 0 6 / 32 5.0s Mpmcq parallel
[ ] 7 0 0 7 / 32 6.3s Mpmcq parallel
[ ] 8 0 0 8 / 32 7.5s Mpmcq parallel
[ ] 9 0 0 9 / 32 10.7s Mpmcq parallel
[ ] 10 0 0 10 / 32 11.8s Mpmcq parallel
[ ] 11 0 0 11 / 32 12.5s Mpmcq parallel
[ ] 12 0 0 12 / 32 15.4s Mpmcq parallel
[ ] 13 0 0 13 / 32 16.8s Mpmcq parallel
[ ] 14 0 0 14 / 32 18.0s Mpmcq parallel
[ ] 15 0 0 15 / 32 19.3s Mpmcq parallel
[ ] 16 0 0 16 / 32 20.6s Mpmcq parallel
[ ] 17 0 0 17 / 32 22.4s Mpmcq parallel
[ ] 18 0 0 18 / 32 23.6s Mpmcq parallel
[ ] 19 0 0 19 / 32 25.6s Mpmcq parallel
[ ] 20 0 0 20 / 32 26.2s Mpmcq parallel
[ ] 21 0 0 21 / 32 27.2s Mpmcq parallel
[ ] 22 0 0 22 / 32 28.0s Mpmcq parallel
[ ] 23 0 0 23 / 32 28.6s Mpmcq parallel
[ ] 24 0 0 24 / 32 29.4s Mpmcq parallel
[ ] 25 0 0 25 / 32 30.3s Mpmcq parallel
[ ] 26 0 0 26 / 32 31.3s Mpmcq parallel
[ ] 27 0 0 27 / 32 32.8s Mpmcq parallel
[ ] 28 0 0 28 / 32 34.6s Mpmcq parallel
[ ] 29 0 0 29 / 32 35.9s Mpmcq parallel
[ ] 30 0 0 30 / 32 36.9s Mpmcq parallel
[ ] 31 0 0 31 / 32 38.4s Mpmcq parallel
[ ] 32 0 0 32 / 32 39.7s Mpmcq parallel
[✓] 32 0 0 32 / 32 39.7s Mpmcq parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test && ./test_schedulers.exe)
Testing `Picos schedulers'.
This run has ID `Z284LCJA'.
[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 64.558s. 8 tests run.
(cd _build/default/test && ./test_htbl.exe)
random seed: 588850334023491233
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.1s Htbl parallel
[ ] 2 0 0 2 / 32 1.9s Htbl parallel
[ ] 3 0 0 3 / 32 2.7s Htbl parallel
[ ] 4 0 0 4 / 32 3.4s Htbl parallel
[ ] 5 0 0 5 / 32 4.2s Htbl parallel
[ ] 6 0 0 6 / 32 5.1s Htbl parallel
[ ] 7 0 0 7 / 32 5.9s Htbl parallel
[ ] 8 0 0 8 / 32 6.9s Htbl parallel
[ ] 9 0 0 9 / 32 7.8s Htbl parallel
[ ] 10 0 0 10 / 32 8.8s Htbl parallel
[ ] 11 0 0 11 / 32 9.2s Htbl parallel
[ ] 12 0 0 12 / 32 10.4s Htbl parallel
[ ] 13 0 0 13 / 32 11.2s Htbl parallel
[ ] 14 0 0 14 / 32 12.3s Htbl parallel
[ ] 15 0 0 15 / 32 14.1s Htbl parallel
[ ] 16 0 0 16 / 32 14.9s Htbl parallel
[ ] 17 0 0 17 / 32 16.2s Htbl parallel
[ ] 18 0 0 18 / 32 17.0s Htbl parallel
[ ] 19 0 0 19 / 32 18.7s Htbl parallel
[ ] 20 0 0 20 / 32 20.8s Htbl parallel
[ ] 21 0 0 21 / 32 22.0s Htbl parallel
[ ] 22 0 0 22 / 32 22.8s Htbl parallel
[ ] 23 0 0 23 / 32 23.7s Htbl parallel
[ ] 24 0 0 24 / 32 24.5s Htbl parallel
[ ] 25 0 0 25 / 32 25.7s Htbl parallel
[ ] 26 0 0 26 / 32 26.5s Htbl parallel
[ ] 27 0 0 27 / 32 27.4s Htbl parallel
[ ] 28 0 0 28 / 32 28.5s Htbl parallel
[ ] 29 0 0 29 / 32 30.2s Htbl parallel
[ ] 30 0 0 30 / 32 31.3s Htbl parallel
[ ] 31 0 0 31 / 32 33.2s Htbl parallel
[ ] 32 0 0 32 / 32 34.3s Htbl parallel
[✓] 32 0 0 32 / 32 34.3s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 518336522086459141
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 3.3s Htbl parallel
[ ] 3 0 0 3 / 32 4.3s Htbl parallel
[ ] 4 0 0 4 / 32 6.0s Htbl parallel
[ ] 5 0 0 5 / 32 6.9s Htbl parallel
[ ] 6 0 0 6 / 32 8.2s Htbl parallel
[ ] 7 0 0 7 / 32 9.2s Htbl parallel
[ ] 8 0 0 8 / 32 10.4s Htbl parallel
[ ] 9 0 0 9 / 32 12.2s Htbl parallel
[ ] 10 0 0 10 / 32 13.3s Htbl parallel
[ ] 11 0 0 11 / 32 14.4s Htbl parallel
[ ] 12 0 0 12 / 32 16.0s Htbl parallel
[ ] 13 0 0 13 / 32 16.8s Htbl parallel
[ ] 14 0 0 14 / 32 17.6s Htbl parallel
[ ] 15 0 0 15 / 32 18.8s Htbl parallel
[ ] 16 0 0 16 / 32 19.5s Htbl parallel
[ ] 17 0 0 17 / 32 20.7s Htbl parallel
[ ] 18 0 0 18 / 32 21.9s Htbl parallel
[ ] 19 0 0 19 / 32 23.2s Htbl parallel
[ ] 20 0 0 20 / 32 24.9s Htbl parallel
[ ] 21 0 0 21 / 32 25.4s Htbl parallel
[ ] 22 0 0 22 / 32 26.2s Htbl parallel
[ ] 23 0 0 23 / 32 27.1s Htbl parallel
[ ] 24 0 0 24 / 32 28.5s Htbl parallel
[ ] 25 0 0 25 / 32 29.4s Htbl parallel
[ ] 26 0 0 26 / 32 30.6s Htbl parallel
[ ] 27 0 0 27 / 32 31.7s Htbl parallel
[ ] 28 0 0 28 / 32 32.6s Htbl parallel
[ ] 29 0 0 29 / 32 33.7s Htbl parallel
[ ] 30 0 0 30 / 32 34.8s Htbl parallel
[ ] 31 0 0 31 / 32 36.4s Htbl parallel
[ ] 32 0 0 32 / 32 37.5s Htbl parallel
[✓] 32 0 0 32 / 32 37.5s Htbl parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test && ./test_mpscq.exe)
random seed: 875027150833547927
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.2s Mpscq parallel
[ ] 2 0 0 2 / 32 2.3s Mpscq parallel
[ ] 3 0 0 3 / 32 4.3s Mpscq parallel
[ ] 4 0 0 4 / 32 5.8s Mpscq parallel
[ ] 5 0 0 5 / 32 8.1s Mpscq parallel
[ ] 6 0 0 6 / 32 11.4s Mpscq parallel
[ ] 7 0 0 7 / 32 13.9s Mpscq parallel
[ ] 8 0 0 8 / 32 17.8s Mpscq parallel
[ ] 9 0 0 9 / 32 21.5s Mpscq parallel
[ ] 10 0 0 10 / 32 23.3s Mpscq parallel
[ ] 11 0 0 11 / 32 26.2s Mpscq parallel
[ ] 12 0 0 12 / 32 28.5s Mpscq parallel
[ ] 13 0 0 13 / 32 31.4s Mpscq parallel
[ ] 14 0 0 14 / 32 35.1s Mpscq parallel
[ ] 15 0 0 15 / 32 37.7s Mpscq parallel
[ ] 16 0 0 16 / 32 41.1s Mpscq parallel
[ ] 17 0 0 17 / 32 43.9s Mpscq parallel
[ ] 18 0 0 18 / 32 47.1s Mpscq parallel
[ ] 19 0 0 19 / 32 49.5s Mpscq parallel
[ ] 20 0 0 20 / 32 53.7s Mpscq parallel
[ ] 21 0 0 21 / 32 55.8s Mpscq parallel
[ ] 22 0 0 22 / 32 58.6s Mpscq parallel
[ ] 23 0 0 23 / 32 61.3s Mpscq parallel
[ ] 24 0 0 24 / 32 64.5s Mpscq parallel
[ ] 25 0 0 25 / 32 66.0s Mpscq parallel
[ ] 26 0 0 26 / 32 67.9s Mpscq parallel
[ ] 27 0 0 27 / 32 70.7s Mpscq parallel
[ ] 28 0 0 28 / 32 72.8s Mpscq parallel
[ ] 29 0 0 29 / 32 75.4s Mpscq parallel
[ ] 30 0 0 30 / 32 77.7s Mpscq parallel
[ ] 31 0 0 31 / 32 79.7s Mpscq parallel
[ ] 32 0 0 32 / 32 81.7s Mpscq parallel
[✓] 32 0 0 32 / 32 81.7s Mpscq parallel
================================================================================
success (ran 2 tests)
(cd _build/default/bench && ./main.exe -brief 'Picos Mutex')
Picos Mutex:
locked yields over time/1024 fibers:
0.06 M/s
locked yields over time/1 fiber:
2.34 M/s
locked yields over time/256 fibers:
0.11 M/s
locked yields over time/2 domains:
0.04 M/s
locked yields over time/2 fibers:
1.57 M/s
locked yields over time/4 domains:
0.00 M/s
locked yields over time/4 fibers:
0.23 M/s
locked yields over time/512 fibers:
0.06 M/s
locked yields over time/8 domains:
0.00 M/s
locked yields over time/8 fibers:
0.10 M/s
time per locked yield/1024 fibers:
15910.06 ns
time per locked yield/1 fiber:
426.46 ns
time per locked yield/256 fibers:
9439.42 ns
time per locked yield/2 domains:
49849.45 ns
time per locked yield/2 fibers:
636.19 ns
time per locked yield/4 domains:
6356476.99 ns
time per locked yield/4 fibers:
4268.11 ns
time per locked yield/512 fibers:
17536.96 ns
time per locked yield/8 domains:
26264950.09 ns
time per locked yield/8 fibers:
9615.91 ns
(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:
2.07 M/s
acquired yields over time/4 domains, 3 resources:
2.96 M/s
acquired yields over time/4 domains, 4 resources:
3.72 M/s
acquired yields over time/4 fibers, 1 resource:
0.21 M/s
acquired yields over time/4 fibers, 2 resources:
0.15 M/s
acquired yields over time/4 fibers, 3 resources:
0.40 M/s
acquired yields over time/4 fibers, 4 resources:
0.57 M/s
time per acquired yield/4 domains, 1 resource:
370764.75 ns
time per acquired yield/4 domains, 2 resources:
1931.55 ns
time per acquired yield/4 domains, 3 resources:
1349.57 ns
time per acquired yield/4 domains, 4 resources:
1075.83 ns
time per acquired yield/4 fibers, 1 resource:
4708.75 ns
time per acquired yield/4 fibers, 2 resources:
6718.40 ns
time per acquired yield/4 fibers, 3 resources:
2519.28 ns
time per acquired yield/4 fibers, 4 resources:
1754.17 ns
(cd _build/default/bench && ./main.exe -brief 'Picos Spawn')
Picos Spawn:
spawns over time/with packed computation:
5.07 M/s
time per spawn/with packed computation:
197.20 ns
(cd _build/default/bench && ./main.exe -brief 'Picos Yield')
Picos Yield:
time per yield/10000 fibers:
1540.66 ns
time per yield/1000 fibers:
371.48 ns
time per yield/100 fibers:
282.24 ns
time per yield/10 fibers:
369.01 ns
time per yield/1 fiber:
193.90 ns
yields over time/10000 fibers:
0.65 M/s
yields over time/1000 fibers:
2.69 M/s
yields over time/100 fibers:
3.54 M/s
yields over time/10 fibers:
2.71 M/s
yields over time/1 fiber:
5.16 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.07 M/s
async round-trips over time/2 workers:
0.07 M/s
async round-trips over time/4 workers:
0.13 M/s
round-trips over time/1 worker:
0.09 M/s
round-trips over time/2 workers:
0.04 M/s
round-trips over time/4 workers:
0.10 M/s
time per async round-trip/1 worker:
15069.71 ns
time per async round-trip/2 workers:
26999.73 ns
time per async round-trip/4 workers:
29937.66 ns
time per round-trip/1 worker:
10529.85 ns
time per round-trip/2 workers:
51714.85 ns
time per round-trip/4 workers:
40004.49 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.48 M/s
ops over time/cas int (unchecked):
18.27 M/s
ops over time/get (checked):
4.76 M/s
ops over time/get (unchecked):
17.01 M/s
ops over time/incr (checked):
5.12 M/s
ops over time/incr (unchecked):
19.23 M/s
ops over time/push & pop (checked):
3.39 M/s
ops over time/push & pop (unchecked):
13.65 M/s
ops over time/swap (checked):
4.19 M/s
ops over time/swap (unchecked):
15.70 M/s
ops over time/xchg int (checked):
2.41 M/s
ops over time/xchg int (unchecked):
18.38 M/s
time per op/cas int (checked):
223.15 ns
time per op/cas int (unchecked):
54.72 ns
time per op/get (checked):
210.24 ns
time per op/get (unchecked):
58.81 ns
time per op/incr (checked):
195.47 ns
time per op/incr (unchecked):
52.01 ns
time per op/push & pop (checked):
295.02 ns
time per op/push & pop (unchecked):
73.26 ns
time per op/swap (checked):
238.43 ns
time per op/swap (unchecked):
63.71 ns
time per op/xchg int (checked):
414.91 ns
time per op/xchg int (unchecked):
54.41 ns
(cd _build/default/bench && ./main.exe -brief Picos_mpmcq)
Picos_mpmcq:
messages over time/1 nb adder, 1 nb taker:
21.50 M/s
messages over time/1 nb adder, 2 nb takers:
12.14 M/s
messages over time/1 nb adder, 4 nb takers:
6.82 M/s
messages over time/2 nb adders, 1 nb taker:
10.69 M/s
messages over time/2 nb adders, 2 nb takers:
7.65 M/s
messages over time/2 nb adders, 4 nb takers:
6.70 M/s
messages over time/4 nb adders, 1 nb taker:
8.15 M/s
messages over time/4 nb adders, 2 nb takers:
7.44 M/s
messages over time/4 nb adders, 4 nb takers:
6.84 M/s
messages over time/one domain:
11.02 M/s
time per message/1 nb adder, 1 nb taker:
93.03 ns
time per message/1 nb adder, 2 nb takers:
247.20 ns
time per message/1 nb adder, 4 nb takers:
733.51 ns
time per message/2 nb adders, 1 nb taker:
280.69 ns
time per message/2 nb adders, 2 nb takers:
522.81 ns
time per message/2 nb adders, 4 nb takers:
895.27 ns
time per message/4 nb adders, 1 nb taker:
613.76 ns
time per message/4 nb adders, 2 nb takers:
806.27 ns
time per message/4 nb adders, 4 nb takers:
1169.26 ns
time per message/one domain:
90.77 ns
(cd _build/default/bench && ./main.exe -brief Picos_mpscq)
Picos_mpscq:
messages over time/1 nb adder, 1 nb taker:
16.10 M/s
messages over time/2 nb adders, 1 nb taker:
14.70 M/s
messages over time/4 nb adders, 1 nb taker:
5.06 M/s
messages over time/one domain:
14.02 M/s
time per message/1 nb adder, 1 nb taker:
124.24 ns
time per message/2 nb adders, 1 nb taker:
204.08 ns
time per message/4 nb adders, 1 nb taker:
988.44 ns
time per message/one domain:
71.31 ns
(cd _build/default/bench && ./main.exe -brief Picos_htbl)
Picos_htbl:
operations over time/1 worker, 10% reads:
6.93 M/s
operations over time/1 worker, 50% reads:
10.04 M/s
operations over time/1 worker, 90% reads:
14.16 M/s
operations over time/2 workers, 10% reads:
9.33 M/s
operations over time/2 workers, 50% reads:
11.99 M/s
operations over time/2 workers, 90% reads:
20.07 M/s
operations over time/4 workers, 10% reads:
11.62 M/s
operations over time/4 workers, 50% reads:
9.59 M/s
operations over time/4 workers, 90% reads:
23.29 M/s
operations over time/8 workers, 10% reads:
4.55 M/s
operations over time/8 workers, 50% reads:
7.71 M/s
operations over time/8 workers, 90% reads:
22.96 M/s
time per operation/1 worker, 10% reads:
144.22 ns
time per operation/1 worker, 50% reads:
99.64 ns
time per operation/1 worker, 90% reads:
70.62 ns
time per operation/2 workers, 10% reads:
214.25 ns
time per operation/2 workers, 50% reads:
166.84 ns
time per operation/2 workers, 90% reads:
99.65 ns
time per operation/4 workers, 10% reads:
344.30 ns
time per operation/4 workers, 50% reads:
417.13 ns
time per operation/4 workers, 90% reads:
171.73 ns
time per operation/8 workers, 10% reads:
1757.93 ns
time per operation/8 workers, 50% reads:
1037.55 ns
time per operation/8 workers, 90% reads:
348.42 ns
(cd _build/default/bench && ./main.exe -brief Picos_stdio)
Picos_stdio:
blocking reads over time/1 worker:
0.21 M/s
blocking reads over time/2 workers:
0.35 M/s
blocking reads over time/4 workers:
0.10 M/s
non-blocking reads over time/1 worker:
0.32 M/s
non-blocking reads over time/2 workers:
0.29 M/s
non-blocking reads over time/4 workers:
1.14 M/s
time per blocking read/1 worker:
4721.42 ns
time per blocking read/2 workers:
5722.34 ns
time per blocking read/4 workers:
40529.63 ns
time per non-blocking read/1 worker:
3117.33 ns
time per non-blocking read/2 workers:
6940.04 ns
time per non-blocking read/4 workers:
3497.82 ns
(cd _build/default/bench && ./main.exe -brief 'Picos_sync Stream')
Picos_sync Stream:
messages over time/1 nb pusher, 1 nb reader:
1.09 M/s
messages over time/2 nb pushers, 1 nb reader:
0.70 M/s
messages over time/4 nb pushers, 1 nb reader:
0.96 M/s
messages over time/one domain:
3.04 M/s
time per message/1 nb pusher, 1 nb reader:
1842.99 ns
time per message/2 nb pushers, 1 nb reader:
4280.18 ns
time per message/4 nb pushers, 1 nb reader:
5195.69 ns
time per message/one domain:
328.72 ns
(cd _build/default/bench && ./main.exe -brief Fib)
Fib:
spawns over time/1 mfifo, fib 20:
0.18 M/s
spawns over time/1 rando, fib 20:
0.34 M/s
spawns over time/2 mfifos, fib 20:
0.27 M/s
spawns over time/2 randos, fib 20:
0.48 M/s
spawns over time/4 mfifos, fib 20:
0.41 M/s
spawns over time/4 randos, fib 20:
0.06 M/s
spawns over time/8 mfifos, fib 20:
0.50 M/s
spawns over time/8 randos, fib 20:
0.01 M/s
time per spawn/1 mfifo, fib 20:
5651.66 ns
time per spawn/1 rando, fib 20:
2950.92 ns
time per spawn/2 mfifos, fib 20:
7282.93 ns
time per spawn/2 randos, fib 20:
4143.36 ns
time per spawn/4 mfifos, fib 20:
9807.38 ns
time per spawn/4 randos, fib 20:
70748.10 ns
time per spawn/8 mfifos, fib 20:
16007.39 ns
time per spawn/8 randos, fib 20:
1101069.75 ns
(cd _build/default/bench && ./main.exe -brief 'Picos binaries')
Picos binaries:
binary size/picos:
83.90 kB
binary size/picos.domain:
3.63 kB
binary size/picos.thread:
3.07 kB
binary size/picos_aux.htbl:
48.87 kB
binary size/picos_aux.mpmcq:
15.25 kB
binary size/picos_aux.mpscq:
17.74 kB
binary size/picos_aux.rc:
16.00 kB
binary size/picos_io:
107.52 kB
binary size/picos_io.fd:
9.00 kB
binary size/picos_io.select:
60.33 kB
binary size/picos_io_cohttp:
44.00 kB
binary size/picos_lwt:
25.00 kB
binary size/picos_lwt.unix:
13.77 kB
binary size/picos_mux.fifo:
25.09 kB
binary size/picos_mux.multififo:
57.93 kB
binary size/picos_mux.random:
46.67 kB
binary size/picos_mux.thread:
21.17 kB
binary size/picos_std.awaitable:
32.38 kB
binary size/picos_std.event:
21.37 kB
binary size/picos_std.finally:
18.09 kB
binary size/picos_std.structured:
76.75 kB
binary size/picos_std.sync:
104.07 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.43 M/s
messages over time/1 adder, 2 takers:
0.10 M/s
messages over time/1 adder, 4 takers:
0.01 M/s
messages over time/2 adders, 1 taker:
0.05 M/s
messages over time/2 adders, 2 takers:
0.01 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:
5.74 M/s
time per message/1 adder, 1 taker:
4649.43 ns
time per message/1 adder, 2 takers:
29473.56 ns
time per message/1 adder, 4 takers:
347967.45 ns
time per message/2 adders, 1 taker:
58944.67 ns
time per message/2 adders, 2 takers:
542971.86 ns
time per message/2 adders, 4 takers:
3240211.93 ns
time per message/4 adders, 1 taker:
3420412.44 ns
time per message/4 adders, 2 takers:
4570013.87 ns
time per message/4 adders, 4 takers:
27222623.31 ns
time per message/one domain:
174.34 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-12-15 15:15.36 ---> saved as "75a3ae2f32473d981104c2672736a8e24b6b6e91c46af081339d808dde76c489"
Job succeeded
2024-12-15 15:26.40: Job succeeded