2024-09-21 13:27.57: New job: test ocaml-multicore/picos https://github.com/ocaml-multicore/picos.git#refs/heads/experiment-using-shallow-effects (571473d31de7903493b53c7f4e2833f3c76af8bf) (freebsd-x86_64:freebsd-5.2_opam-2.2)
Base: freebsd-ocaml-5.2
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/picos.git" -b "experiment-using-shallow-effects" && cd "picos" && git reset --hard 571473d3
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-ocaml-5.2
# freebsd-5.2_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.2 /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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 picos_std.opam picos_mux.opam picos_meta.opam picos_lwt.opam picos_io_cohttp.opam picos_io.opam picos_aux.opam picos.opam ./
RUN opam pin add -yn picos_std.dev './' && \
opam pin add -yn picos_mux.dev './' && \
opam pin add -yn picos_meta.dev './' && \
opam pin add -yn picos_lwt.dev './' && \
opam pin add -yn picos_io_cohttp.dev './' && \
opam pin add -yn picos_io.dev './' && \
opam pin add -yn picos_aux.dev './' && \
opam pin add -yn picos.dev './'
ENV DEPS="alcotest.1.8.0 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 backoff.0.1.0 base.v0.17.1 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs.1.0.0 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.0.0~beta2 cohttp-lwt.6.0.0~beta2 cohttp-lwt-unix.6.0.0~beta2 conduit.6.2.3 conduit-lwt.6.2.3 conduit-lwt-unix.6.2.3 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.3 containers.3.14 cppo.1.7.0 csexp.1.5.2 digestif.1.2.0 domain-local-await.1.0.1 domain-name.0.4.0 domain_shims.0.1.0 dscheck.0.5.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 either.1.0.0 eqaf.0.10 fmt.0.9.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 host-arch-x86_64.1 host-system-other.1 http.6.0.0~beta2 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.5.8.2 js_of_ocaml-compiler.5.8.2 kdf.1.0.0 logs.0.7.0 lwt.5.7.0 macaddr.5.6.0 magic-mime.1.3.1 mdx.2.4.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-crypto.1.1.0 mirage-crypto-ec.1.1.0 mirage-crypto-pk.1.1.0 mirage-crypto-rng.1.1.0 mtime.2.1.0 multicore-bench.0.1.5 multicore-magic.2.3.0 multicore-magic-dscheck.2.3.0 num.1.5-1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ohex.0.2.0 oseq.0.5.1 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.0 ppxlib.0.33.0 ppxlib_jane.v0.17.0 psq.0.2.1 ptime.1.2.0 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 rresult.0.7.0 sedlex.3.2 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 stringext.1.6.0 thread-local-storage.0.2 thread-table.1.0.0 topkg.1.0.7 tsort.2.1.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 x509.1.0.3 yojson.2.2.2 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y picos_std.dev picos_mux.dev picos_meta.dev picos_lwt.dev picos_io_cohttp.dev picos_io.dev picos_aux.dev picos.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-09-21 13:27.57: Using cache hint "ocaml-multicore/picos-freebsd-ocaml-5.2-freebsd-5.2_opam-2.2-cb19b444f59bbbc9738e84341f658770"
2024-09-21 13:27.57: Using OBuilder spec:
((from freebsd-ocaml-5.2)
(comment freebsd-5.2_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/local/bin/opam-2.2 /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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src picos_std.opam picos_mux.opam picos_meta.opam picos_lwt.opam picos_io_cohttp.opam picos_io.opam picos_aux.opam picos.opam)
(dst ./))
(run (network host)
(shell "opam pin add -yn picos_std.dev './' && \
\nopam pin add -yn picos_mux.dev './' && \
\nopam pin add -yn picos_meta.dev './' && \
\nopam pin add -yn picos_lwt.dev './' && \
\nopam pin add -yn picos_io_cohttp.dev './' && \
\nopam pin add -yn picos_io.dev './' && \
\nopam pin add -yn picos_aux.dev './' && \
\nopam pin add -yn picos.dev './'"))
(env DEPS "alcotest.1.8.0 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 backoff.0.1.0 base.v0.17.1 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs.1.0.0 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.0.0~beta2 cohttp-lwt.6.0.0~beta2 cohttp-lwt-unix.6.0.0~beta2 conduit.6.2.3 conduit-lwt.6.2.3 conduit-lwt-unix.6.2.3 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.3 containers.3.14 cppo.1.7.0 csexp.1.5.2 digestif.1.2.0 domain-local-await.1.0.1 domain-name.0.4.0 domain_shims.0.1.0 dscheck.0.5.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 either.1.0.0 eqaf.0.10 fmt.0.9.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 host-arch-x86_64.1 host-system-other.1 http.6.0.0~beta2 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.5.8.2 js_of_ocaml-compiler.5.8.2 kdf.1.0.0 logs.0.7.0 lwt.5.7.0 macaddr.5.6.0 magic-mime.1.3.1 mdx.2.4.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-crypto.1.1.0 mirage-crypto-ec.1.1.0 mirage-crypto-pk.1.1.0 mirage-crypto-rng.1.1.0 mtime.2.1.0 multicore-bench.0.1.5 multicore-magic.2.3.0 multicore-magic-dscheck.2.3.0 num.1.5-1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ohex.0.2.0 oseq.0.5.1 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.0 ppxlib.0.33.0 ppxlib_jane.v0.17.0 psq.0.2.1 ptime.1.2.0 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 rresult.0.7.0 sedlex.3.2 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 stringext.1.6.0 thread-local-storage.0.2 thread-table.1.0.0 topkg.1.0.7 tsort.2.1.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 x509.1.0.3 yojson.2.2.2 zarith.1.14")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.2 --depext-only -y picos_std.dev picos_mux.dev picos_meta.dev picos_lwt.dev picos_io_cohttp.dev picos_io.dev picos_aux.dev picos.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-09-21 13:27.57: Waiting for resource in pool OCluster
2024-09-21 13:27.57: Waiting for worker…
2024-09-21 13:32.14: Got resource from pool OCluster
Building on spring
HEAD is now at c10f997 Add an actor model implementation example
HEAD is now at 571473d Experiment to use shallow effects in `picos.fifos`
(from freebsd-ocaml-5.2)
2024-09-21 13:23.16 ---> using "3515bf58445883216685df527c06fc8b9b7799700694ffa335d1401da4433261" from cache
/: (comment freebsd-5.2_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/local/bin/opam-2.2 /usr/local/bin/opam"))
2024-09-21 13:23.18 ---> using "ce5d446dcad4679490c4842006d3847ab79c5b03f27c64107dd9b4b693f9227b" 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-09-21 13:23.19 ---> using "315f104d2431f3f8513b249e297f5cd9ab00e87e07651779a2c033f75790f186" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.0-RELEASE-p6
The OCaml toplevel, version 5.2.0
2.2.0
2024-09-21 13:23.20 ---> using "122bbc3ca2d5d079e67c62df055dfe2029bb1467ac0b82961d95a877a82d7ad7" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-21 13:23.21 ---> using "ea3d067661d07cb941931c0bd3d63b7212a0090aedfda056edf38cb8ce4f84dc" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
e2171914dc..45f961713f master -> origin/master
45f961713f Merge pull request #26585 from dra27/trunk-tweaks
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
default (at git+file:///home/opam/opam-repository):
[WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)
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-09-21 13:23.22 ---> using "0805cadbb39fcd8c45e508a3ec184406e6ec50399312271f8f0d0f30c0799bfb" 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-09-21 13:23.23 ---> using "7b9547194064c674d7f89465ee225b37617bae352f1d129dac20850ab57b9dcb" 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-09-21 13:23.26 ---> using "c53b06e3f509547b3a14330a1533191b4f3a3df8861c5443c8ab7f841dffbab1" 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.0 base.v0.17.1 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs.1.0.0 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.0.0~beta2 cohttp-lwt.6.0.0~beta2 cohttp-lwt-unix.6.0.0~beta2 conduit.6.2.3 conduit-lwt.6.2.3 conduit-lwt-unix.6.2.3 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.3 containers.3.14 cppo.1.7.0 csexp.1.5.2 digestif.1.2.0 domain-local-await.1.0.1 domain-name.0.4.0 domain_shims.0.1.0 dscheck.0.5.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 either.1.0.0 eqaf.0.10 fmt.0.9.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 host-arch-x86_64.1 host-system-other.1 http.6.0.0~beta2 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.5.8.2 js_of_ocaml-compiler.5.8.2 kdf.1.0.0 logs.0.7.0 lwt.5.7.0 macaddr.5.6.0 magic-mime.1.3.1 mdx.2.4.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-crypto.1.1.0 mirage-crypto-ec.1.1.0 mirage-crypto-pk.1.1.0 mirage-crypto-rng.1.1.0 mtime.2.1.0 multicore-bench.0.1.5 multicore-magic.2.3.0 multicore-magic-dscheck.2.3.0 num.1.5-1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ohex.0.2.0 oseq.0.5.1 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.0 ppxlib.0.33.0 ppxlib_jane.v0.17.0 psq.0.2.1 ptime.1.2.0 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 rresult.0.7.0 sedlex.3.2 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 stringext.1.6.0 thread-local-storage.0.2 thread-table.1.0.0 topkg.1.0.7 tsort.2.1.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 x509.1.0.3 yojson.2.2.2 zarith.1.14")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.2 --depext-only -y picos_std.dev picos_mux.dev picos_meta.dev picos_lwt.dev picos_io_cohttp.dev picos_io.dev picos_aux.dev picos.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[picos.dev] synchronised (no changes)
[picos_aux.dev] synchronised (no changes)
[picos_io.dev] synchronised (no changes)
[picos_meta.dev] synchronised (no changes)
[picos_io_cohttp.dev] synchronised (no changes)
[picos_lwt.dev] synchronised (no changes)
[picos_std.dev] synchronised (no changes)
[picos_mux.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following system packages will first need to be installed:
ca_root_nss gmp npm
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/local/bin/sudo "pkg" "install" "-y" "ca_root_nss" "gmp" "npm"
- Updating FreeBSD repository catalogue...
- [spring] Fetching data.pkg: .
- ...
- ...
- ... done
- Processing entries:
- .
- .
- .
- .
- .
- .
- .
- .
- .
- . done
- FreeBSD repository update completed. 34439 packages processed.
- All repositories are up to date.
- The following 10 package(s) will be affected (of 0 checked):
-
- New packages to be INSTALLED:
- brotli: 1.1.0,1
- c-ares: 1.30.0
- ca_root_nss: 3.93_2
- gmp: 6.3.0
- icu: 74.2_1,1
- libuv: 1.48.0
- node20: 20.15.1
- npm: 10.8.1
- npm-node20: 10.8.1
- python311: 3.11.9
-
- Number of packages to be installed: 10
-
- The process will require 312 MiB more space.
- 53 MiB to be downloaded.
- [spring] [1/10] Fetching c-ares-1.30.0.pkg: ......... done
- [spring] [2/10] Fetching npm-node20-10.8.1.pkg: ..
- ........ done
- [spring] [3/10] Fetching icu-74.2_1,1.pkg:
- .
- ..
- .
- ..
- ...
- . done
- [spring] [4/10] Fetching libuv-1.48.0.pkg: .......... done
- [spring] [5/10] Fetching gmp-6.3.0.pkg: .......... done
- [spring] [6/10] Fetching npm-10.8.1.pkg: . done
- [spring] [7/10] Fetching brotli-1.1.0,1.pkg: ......
- .... done
- [spring] [8/10] Fetching ca_root_nss-3.93_2.pkg: ......... done
- [spring] [9/10] Fetching node20-20.15.1.pkg: .
- ...
- ..
- .... done
- [spring] [10/10] Fetching python311-3.11.9.pkg: .
- .
- ..
- ..
- ...
- . done
- Checking integrity...
- done (0 conflicting)
- [spring] [1/10] Installing c-ares-1.30.0...
- [spring] [1/10] Extracting c-ares-1.30.0: .......... done
- [spring] [2/10] Installing icu-74.2_1,1...
- [spring] [2/10] Extracting icu-74.2_1,1: .........
- . done
- [spring] [3/10] Installing libuv-1.48.0...
- [spring] [3/10] Extracting libuv-1.48.0: .......... done
- [spring] [4/10] Installing brotli-1.1.0,1...
- [spring] [4/10] Extracting brotli-1.1.0,1: .......... done
- [spring] [5/10] Installing ca_root_nss-3.93_2...
- [spring] [5/10] Extracting ca_root_nss-3.93_2: ....... done
- Scanning /usr/share/certs/untrusted for certificates...
- Scanning /usr/share/certs/trusted for certificates...
- Scanning /usr/local/share/certs for certificates...
- [spring] [6/10] Installing node20-20.15.1...
- [spring] [6/10] Extracting node20-20.15.1: .......... done
- [spring] [7/10] Installing python311-3.11.9...
- [spring] [7/10] Extracting python311-3.11.9: ......
- .... done
- [spring] [8/10] Installing npm-node20-10.8.1...
- [spring] [8/10] Extracting npm-node20-10.8.1: ....
- ...... done
- [spring] [9/10] Installing gmp-6.3.0...
- [spring] [9/10] Extracting gmp-6.3.0: .......... done
- [spring] [10/10] Installing npm-10.8.1...
- [spring] [10/10] Extracting npm-10.8.1: ... done
- =====
- Message from ca_root_nss-3.93_2:
-
- --
- 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.15.1:
-
- --
- Note: If you need npm (Node Package Manager), please install www/npm.
- =====
- Message from python311-3.11.9:
-
- --
- Note that some standard Python modules are provided as separate ports
- as they require additional dependencies. They are available as:
-
- py311-gdbm databases/py-gdbm@py311
- py311-sqlite3 databases/py-sqlite3@py311
- py311-tkinter x11-toolkits/py-tkinter@py311
2024-09-21 13:23.27 ---> using "b4ae6a929878bc42be4c9db33fe1df4327a73a30a2b841b5f52ac29b415df096" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 102 packages
∗ alcotest 1.8.0
∗ angstrom 0.16.1
∗ asn1-combinators 0.3.2
∗ astring 0.8.5
∗ backoff 0.1.0
∗ 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~beta2
∗ cohttp-lwt 6.0.0~beta2
∗ cohttp-lwt-unix 6.0.0~beta2
∗ conduit 6.2.3
∗ conduit-lwt 6.2.3
∗ conduit-lwt-unix 6.2.3
∗ conf-gmp 4
∗ conf-gmp-powm-sec 3
∗ conf-npm 1
∗ conf-pkg-config 3
∗ containers 3.14
∗ cppo 1.7.0
∗ csexp 1.5.2
∗ digestif 1.2.0
∗ domain-local-await 1.0.1
∗ domain-name 0.4.0
∗ domain_shims 0.1.0
∗ dscheck 0.5.0
∗ dune 3.16.0
∗ dune-configurator 3.16.0
∗ duration 0.2.1
∗ either 1.0.0
∗ eqaf 0.10
∗ fmt 0.9.0
∗ fpath 0.7.3
∗ gen 1.1
∗ gmap 0.3.0
∗ http 6.0.0~beta2
∗ ipaddr 5.6.0
∗ ipaddr-sexp 5.6.0
∗ js_of_ocaml 5.8.2
∗ js_of_ocaml-compiler 5.8.2
∗ kdf 1.0.0
∗ logs 0.7.0
∗ lwt 5.7.0
∗ macaddr 5.6.0
∗ magic-mime 1.3.1
∗ mdx 2.4.1
∗ menhir 20240715
∗ menhirCST 20240715
∗ menhirLib 20240715
∗ menhirSdk 20240715
∗ mirage-crypto 1.1.0
∗ mirage-crypto-ec 1.1.0
∗ mirage-crypto-pk 1.1.0
∗ mirage-crypto-rng 1.1.0
∗ mtime 2.1.0
∗ multicore-bench 0.1.5
∗ multicore-magic 2.3.0
∗ multicore-magic-dscheck 2.3.0
∗ num 1.5-1
∗ ocaml-compiler-libs v0.17.0
∗ ocaml-syntax-shims 1.0.0
∗ ocaml-version 3.6.8
∗ ocaml_intrinsics_kernel v0.17.1
∗ ocamlbuild 0.15.0
∗ ocamlfind 1.9.6
∗ ocplib-endian 1.2
∗ ohex 0.2.0
∗ oseq 0.5.1
∗ parsexp v0.17.0
∗ ppx_derivers 1.2.1
∗ ppx_sexp_conv v0.17.0
∗ ppxlib 0.33.0
∗ ppxlib_jane v0.17.0
∗ psq 0.2.1
∗ ptime 1.2.0
∗ qcheck-core 0.22
∗ qcheck-multicoretests-util 0.4
∗ qcheck-stm 0.4
∗ re 1.12.0
∗ result 1.5
∗ rresult 0.7.0
∗ sedlex 3.2
∗ seq base
∗ sexplib v0.17.0
∗ sexplib0 v0.17.0
∗ stdlib-shims 0.3.0
∗ stringext 1.6.0
∗ thread-local-storage 0.2
∗ thread-table 1.0.0
∗ topkg 1.0.7
∗ tsort 2.1.0
∗ uri 4.4.0
∗ uri-sexp 4.4.0
∗ uutf 1.0.3
∗ x509 1.0.3
∗ yojson 2.2.2
∗ zarith 1.14
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved asn1-combinators.0.3.2 (cached)
⬇ retrieved astring.0.8.5 (cached)
⬇ retrieved angstrom.0.16.1 (cached)
⬇ retrieved backoff.0.1.0 (cached)
⬇ retrieved base.v0.17.1 (cached)
⬇ retrieved base64.3.5.1 (cached)
⬇ retrieved bigstringaf.0.10.0 (cached)
⬇ retrieved alcotest.1.8.0 (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.6.2.3, conduit-lwt.6.2.3, conduit-lwt-unix.6.2.3 (cached)
∗ installed conf-pkg-config.3
⬇ retrieved cppo.1.7.0 (cached)
∗ installed conf-gmp.4
⬇ retrieved csexp.1.5.2 (cached)
∗ installed conf-gmp-powm-sec.3
⬇ retrieved containers.3.14 (cached)
⬇ retrieved cohttp.6.0.0~beta2, cohttp-lwt.6.0.0~beta2, cohttp-lwt-unix.6.0.0~beta2, http.6.0.0~beta2 (cached)
⬇ retrieved 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 digestif.1.2.0 (cached)
⬇ retrieved eqaf.0.10 (cached)
⬇ retrieved fpath.0.7.3 (cached)
⬇ retrieved fmt.0.9.0 (cached)
⬇ retrieved gmap.0.3.0 (cached)
⬇ retrieved ipaddr.5.6.0, ipaddr-sexp.5.6.0, macaddr.5.6.0 (cached)
⬇ retrieved gen.1.1 (cached)
⬇ retrieved kdf.1.0.0 (cached)
⬇ retrieved logs.0.7.0 (cached)
⬇ retrieved lwt.5.7.0 (cached)
⬇ retrieved magic-mime.1.3.1 (cached)
⬇ retrieved mdx.2.4.1 (cached)
⬇ retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
⬇ retrieved js_of_ocaml.5.8.2, js_of_ocaml-compiler.5.8.2 (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.5 (cached)
⬇ retrieved multicore-magic.2.3.0, multicore-magic-dscheck.2.3.0 (cached)
⬇ retrieved num.1.5-1 (cached)
⬇ retrieved ocaml-syntax-shims.1.0.0 (cached)
⬇ retrieved ocaml-compiler-libs.v0.17.0 (cached)
⬇ retrieved ocaml-version.3.6.8 (cached)
⬇ retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
⬇ retrieved ocamlbuild.0.15.0 (cached)
⬇ retrieved ocplib-endian.1.2 (cached)
⬇ retrieved ohex.0.2.0 (cached)
⬇ retrieved dune.3.16.0, dune-configurator.3.16.0 (cached)
⬇ retrieved parsexp.v0.17.0 (cached)
⬇ retrieved oseq.0.5.1 (cached)
⬇ retrieved ppx_derivers.1.2.1 (cached)
⬇ retrieved ppx_sexp_conv.v0.17.0 (cached)
∗ installed num.1.5-1
⬇ retrieved ppxlib_jane.v0.17.0 (cached)
⬇ retrieved ocamlfind.1.9.6 (cached)
⬇ retrieved ptime.1.2.0 (cached)
⬇ retrieved psq.0.2.1 (cached)
⬇ retrieved qcheck-core.0.22 (cached)
⬇ retrieved ppxlib.0.33.0 (cached)
⬇ retrieved re.1.12.0 (cached)
⬇ retrieved result.1.5 (cached)
⬇ retrieved rresult.0.7.0 (cached)
⬇ retrieved seq.base (cached)
∗ installed seq.base
⬇ retrieved sedlex.3.2 (cached)
⬇ retrieved sexplib0.v0.17.0 (cached)
⬇ retrieved sexplib.v0.17.0 (cached)
⬇ retrieved stdlib-shims.0.3.0 (cached)
⬇ retrieved stringext.1.6.0 (cached)
⬇ retrieved thread-local-storage.0.2 (cached)
⬇ retrieved thread-table.1.0.0 (cached)
⬇ retrieved tsort.2.1.0 (cached)
⬇ retrieved qcheck-multicoretests-util.0.4, qcheck-stm.0.4 (cached)
⬇ retrieved uri.4.4.0, uri-sexp.4.4.0 (cached)
⬇ retrieved uutf.1.0.3 (cached)
⬇ retrieved topkg.1.0.7 (cached)
⬇ retrieved zarith.1.14 (cached)
⬇ retrieved x509.1.0.3 (cached)
⬇ retrieved yojson.2.2.2 (cached)
∗ installed cmdliner.1.3.0
∗ installed ocamlfind.1.9.6
∗ installed base-bytes.base
∗ installed ocamlbuild.0.15.0
∗ installed zarith.1.14
∗ installed topkg.1.0.7
∗ installed rresult.0.7.0
∗ installed mtime.2.1.0
∗ installed uutf.1.0.3
∗ installed astring.0.8.5
∗ installed ptime.1.2.0
∗ installed fmt.0.9.0
∗ installed fpath.0.7.3
∗ installed dune.3.16.0
∗ installed backoff.0.1.0
∗ installed domain_shims.0.1.0
∗ installed asn1-combinators.0.3.2
∗ installed domain-name.0.4.0
∗ installed csexp.1.5.2
∗ installed duration.0.2.1
∗ installed gen.1.1
∗ installed eqaf.0.10
∗ installed gmap.0.3.0
∗ installed either.1.0.0
∗ installed cppo.1.7.0
∗ installed camlp-streams.5.0.1
∗ installed magic-mime.1.3.1
∗ installed menhirCST.20240715
∗ installed menhirLib.20240715
∗ installed macaddr.5.6.0
∗ installed digestif.1.2.0
∗ installed http.6.0.0~beta2
∗ installed dune-configurator.3.16.0
∗ installed base64.3.5.1
∗ installed ipaddr.5.6.0
∗ installed bigstringaf.0.10.0
∗ installed ocaml-version.3.6.8
∗ installed ocaml-syntax-shims.1.0.0
∗ installed ocaml-compiler-libs.v0.17.0
∗ installed multicore-magic.2.3.0
∗ installed menhirSdk.20240715
∗ installed ohex.0.2.0
∗ installed oseq.0.5.1
∗ installed angstrom.0.16.1
∗ installed ocplib-endian.1.2
∗ installed psq.0.2.1
∗ installed ppx_derivers.1.2.1
∗ installed ocaml_intrinsics_kernel.v0.17.1
∗ installed mirage-crypto.1.1.0
∗ installed containers.3.14
∗ installed qcheck-core.0.22
∗ installed result.1.5
∗ installed stdlib-shims.0.3.0
∗ installed sexplib0.v0.17.0
∗ installed kdf.1.0.0
∗ installed thread-local-storage.0.2
∗ installed stringext.1.6.0
∗ installed qcheck-multicoretests-util.0.4
∗ installed re.1.12.0
∗ installed thread-table.1.0.0
∗ installed qcheck-stm.0.4
∗ installed lwt.5.7.0
∗ installed parsexp.v0.17.0
∗ installed tsort.2.1.0
∗ installed domain-local-await.1.0.1
∗ installed dscheck.0.5.0
∗ installed sexplib.v0.17.0
∗ installed multicore-magic-dscheck.2.3.0
∗ installed alcotest.1.8.0
∗ installed uri.4.4.0
∗ installed yojson.2.2.2
∗ installed multicore-bench.0.1.5
∗ installed menhir.20240715
∗ installed base.v0.17.1
∗ installed ppxlib.0.33.0
∗ installed ppxlib_jane.v0.17.0
∗ installed sedlex.3.2
∗ 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.8.2
∗ installed js_of_ocaml.5.8.2
∗ installed logs.0.7.0
∗ installed mirage-crypto-rng.1.1.0
∗ installed conduit.6.2.3
∗ installed cohttp.6.0.0~beta2
∗ installed bos.0.2.1
∗ installed mirage-crypto-pk.1.1.0
∗ installed mdx.2.4.1
∗ installed conduit-lwt.6.2.3
∗ installed cohttp-lwt.6.0.0~beta2
∗ installed mirage-crypto-ec.1.1.0
∗ installed x509.1.0.3
∗ installed ca-certs.1.0.0
∗ installed conduit-lwt-unix.6.2.3
∗ installed cohttp-lwt-unix.6.0.0~beta2
Done.
2024-09-21 13:23.28 ---> using "b2dd7ec99430d82644a6e4ad375c32d59360005a32e66691432d137e9de0dfc6" from cache
/src: (copy (src .) (dst /src))
2024-09-21 13:23.38 ---> saved as "8ad4a6b44a8f5525bd8bd12878fc1904e09f929e6e534388ebf42ed4d15dbabf"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test_lwt_unix.exe)
Testing `Picos_lwt'.
This run has ID `5GZ5P939'.
[OK] Basics 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_lwt'.
Test Successful in 0.054s. 1 test run.
(cd _build/default/test && ./test_select.exe)
Testing `Picos_select'.
This run has ID `HXS22BGB'.
[OK] Intr 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_select'.
Test Successful in 11.147s. 1 test run.
(cd _build/default/bench && ./main.exe -brief 'Picos Computation')
Picos Computation:
time per attach detach pair/trivial:
3627.38 ns
attach detach pairs over time/trivial:
0.28 M/s
time per attach detach pair/1 worker:
3134.71 ns
attach detach pairs over time/1 worker:
0.32 M/s
time per attach detach pair/2 workers:
6213.33 ns
attach detach pairs over time/2 workers:
0.32 M/s
time per attach detach pair/4 workers:
11857.92 ns
attach detach pairs over time/4 workers:
0.34 M/s
(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_beta2
Body:
(cd _build/default/test && ./test_server_and_client.exe)
Using blocking sockets and fibers on OCaml 5:
Looping server running
Server listening
Client B running
Server accepting
Client A running
Client B connected
Client A connected
Server accepted client
Server accepting
Client B wrote 100
Client A wrote 100
Server accepted client
Server accepting
Server read 100
Server wrote 50
Client A read 50
Server read 100
Client B read 50
Server wrote 50
Server and Client test: OK
(cd _build/default/test && ./test_io_with_lwt.exe)
Testing `Picos_io_with_lwt'.
This run has ID `QJTG8B31'.
[OK] Unix 0 system.
Full test results in `/src/_build/default/test/_build/_tests/Picos_io_with_lwt'.
Test Successful in 2.015s. 1 test run.
(cd _build/default/test && ./test_structured.exe)
Testing `Picos_structured'.
This run has ID `PK3UDG45'.
[OK] Bundle 0 fork after terminate.
[OK] Bundle 1 fork after escape.
[OK] Bundle 2 exception in child terminates.
[OK] Bundle 3 cancelation awaits children.
[OK] Bundle 4 block raises when forbidden.
[OK] Bundle 5 block raises Sys_error when fiber finishes.
[OK] Bundle 6 termination nests.
[OK] Bundle 7 promise cancelation does not terminate.
[OK] Bundle 8 error in promise terminates.
[OK] Bundle 9 can wait promises.
[OK] Bundle 10 can select promises.
[OK] Bundle 11 any and all errors.
[OK] Bundle 12 any and all returns.
[OK] Bundle 13 race any.
Full test results in `/src/_build/default/test/_build/_tests/Picos_structured'.
Test Successful in 1.987s. 14 tests run.
(cd _build/default/test && ./test_io.exe)
Testing `Picos_io'.
This run has ID `P1MZC5O0'.
[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.806s. 6 tests run.
(cd _build/default/test && ./test_finally.exe)
Testing `Picos_finally'.
This run has ID `OS5QGVPO'.
[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.053s. 2 tests run.
(cd _build/default/test && ./test_sync.exe -- Event 0)
Testing `Picos_sync'.
This run has ID `O2XNS2UL'.
[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.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.101s. 1 test run.
(cd _build/default/test && ./test_io_cohttp.exe)
Uri: //127.0.0.1:44487/hello-io-cohttp
Method: POST
host: 127.0.0.1:44487
user-agent: ocaml-cohttp/v6.0.0_beta2
content-length: 17
Body: It's-a-Me, Picos!
(cd _build/default/test && ./test_picos_dscheck.exe)
Testing `Picos DSCheck'.
This run has ID `IZ550ABF'.
[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.977s. 3 tests run.
(cd _build/default/test && ./test_mpmcq_dscheck.exe)
Testing `Picos_mpmcq DSCheck'.
This run has ID `RH09WHFD'.
[OK] Multiple pushes and pops 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_mpmcq DSCheck'.
Test Successful in 13.697s. 1 test 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_sync.exe -- Lazy 0)
Testing `Picos_sync'.
This run has ID `EA5ENVSR'.
[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.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.023s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Lazy 1)
Testing `Picos_sync'.
This run has ID `1DNL77I1'.
[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.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.022s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Semaphore 0)
Testing `Picos_sync'.
This run has ID `EPR9UIXG'.
[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.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.001s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Semaphore 1)
Testing `Picos_sync'.
This run has ID `0P2HBWGW'.
[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.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.104s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 0)
Testing `Picos_sync'.
This run has ID `68DEPLJD'.
[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.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.149s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 1)
Testing `Picos_sync'.
This run has ID `6WAGIPVR'.
[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.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.192s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 2)
Testing `Picos_sync'.
This run has ID `6TKMPCX5'.
[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.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 3.129s. 1 test run.
(cd _build/default/bench && ./main.exe -brief 'Picos Current')
Picos Current:
time per op/1 worker:
54.46 ns
ops over time/1 worker:
18.36 M/s
time per op/2 workers:
57.06 ns
ops over time/2 workers:
35.05 M/s
time per op/4 workers:
7646.21 ns
ops over time/4 workers:
0.52 M/s
(cd _build/default/test && ./test_mpmcq.exe)
random seed: 1946860026124510872
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 3.8s Mpmcq parallel
[ ] 2 0 0 2 / 32 6.6s Mpmcq parallel
[ ] 3 0 0 3 / 32 9.7s Mpmcq parallel
[ ] 4 0 0 4 / 32 11.2s Mpmcq parallel
[ ] 5 0 0 5 / 32 13.5s Mpmcq parallel
[ ] 6 0 0 6 / 32 16.7s Mpmcq parallel
[ ] 7 0 0 7 / 32 18.9s Mpmcq parallel
[ ] 8 0 0 8 / 32 19.6s Mpmcq parallel
[ ] 9 0 0 9 / 32 20.2s Mpmcq parallel
[ ] 10 0 0 10 / 32 21.1s Mpmcq parallel
[ ] 11 0 0 11 / 32 22.6s Mpmcq parallel
[ ] 12 0 0 12 / 32 25.2s Mpmcq parallel
[ ] 13 0 0 13 / 32 26.2s Mpmcq parallel
[ ] 14 0 0 14 / 32 26.9s Mpmcq parallel
[ ] 15 0 0 15 / 32 29.4s Mpmcq parallel
[ ] 16 0 0 16 / 32 32.7s Mpmcq parallel
[ ] 17 0 0 17 / 32 34.5s Mpmcq parallel
[ ] 18 0 0 18 / 32 36.2s Mpmcq parallel
[ ] 19 0 0 19 / 32 36.7s Mpmcq parallel
[ ] 20 0 0 20 / 32 38.9s Mpmcq parallel
[ ] 21 0 0 21 / 32 40.0s Mpmcq parallel
[ ] 22 0 0 22 / 32 40.9s Mpmcq parallel
[ ] 23 0 0 23 / 32 43.4s Mpmcq parallel
[ ] 24 0 0 24 / 32 46.8s Mpmcq parallel
[ ] 25 0 0 25 / 32 48.3s Mpmcq parallel
[ ] 26 0 0 26 / 32 50.8s Mpmcq parallel
[ ] 27 0 0 27 / 32 51.9s Mpmcq parallel
[ ] 28 0 0 28 / 32 53.8s Mpmcq parallel
[ ] 29 0 0 29 / 32 54.6s Mpmcq parallel
[ ] 30 0 0 30 / 32 56.3s Mpmcq parallel
[ ] 31 0 0 31 / 32 58.7s Mpmcq parallel
[ ] 32 0 0 32 / 32 60.2s Mpmcq parallel
[✓] 32 0 0 32 / 32 60.2s Mpmcq parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test && ./test_picos.exe)
Testing `Picos'.
This run has ID `KCUFNUUK'.
[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.411s. 7 tests run.
(cd _build/default/bench && ./main.exe -brief 'Picos FLS (excluding Current)')
Picos FLS (excluding Current):
time per get/1 worker:
5.82 ns
gets over time/1 worker:
171.74 M/s
time per set/1 worker:
15.26 ns
sets over time/1 worker:
65.54 M/s
time per get/2 workers:
5.66 ns
gets over time/2 workers:
353.11 M/s
time per set/2 workers:
29.71 ns
sets over time/2 workers:
67.31 M/s
time per get/4 workers:
30.70 ns
gets over time/4 workers:
130.30 M/s
time per set/4 workers:
127.99 ns
sets over time/4 workers:
31.25 M/s
(cd _build/default/test && ./test_schedulers.exe)
Testing `Picos schedulers'.
This run has ID `J2XGJ7SP'.
[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 61.316s. 8 tests run.
(cd _build/default/bench && ./main.exe -brief 'Picos TLS')
Picos TLS:
time per get/1 worker:
8.70 ns
gets over time/1 worker:
114.90 M/s
time per set/1 worker:
20.42 ns
sets over time/1 worker:
48.96 M/s
time per get/2 workers:
12.73 ns
gets over time/2 workers:
157.13 M/s
time per set/2 workers:
24.97 ns
sets over time/2 workers:
80.08 M/s
time per get/4 workers:
19.62 ns
gets over time/4 workers:
203.86 M/s
time per set/4 workers:
45.26 ns
sets over time/4 workers:
88.38 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos DLS')
Picos DLS:
time per get/1 worker:
8.97 ns
gets over time/1 worker:
111.47 M/s
time per set/1 worker:
15.95 ns
sets over time/1 worker:
62.71 M/s
time per get/2 workers:
11.43 ns
gets over time/2 workers:
174.91 M/s
time per set/2 workers:
15.84 ns
sets over time/2 workers:
126.24 M/s
time per get/4 workers:
21.93 ns
gets over time/4 workers:
182.37 M/s
time per set/4 workers:
93.71 ns
sets over time/4 workers:
42.68 M/s
(cd _build/default/test && ./test_htbl.exe)
random seed: 4051634003635271187
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 3.8s Htbl parallel
[ ] 2 0 0 2 / 32 7.0s Htbl parallel
[ ] 3 0 0 3 / 32 7.3s Htbl parallel
[ ] 4 0 0 4 / 32 7.9s Htbl parallel
[ ] 5 0 0 5 / 32 9.8s Htbl parallel
[ ] 6 0 0 6 / 32 11.0s Htbl parallel
[ ] 7 0 0 7 / 32 11.5s Htbl parallel
[ ] 8 0 0 8 / 32 13.0s Htbl parallel
[ ] 9 0 0 9 / 32 15.7s Htbl parallel
[ ] 10 0 0 10 / 32 18.7s Htbl parallel
[ ] 11 0 0 11 / 32 19.6s Htbl parallel
[ ] 12 0 0 12 / 32 20.5s Htbl parallel
[ ] 13 0 0 13 / 32 21.5s Htbl parallel
[ ] 14 0 0 14 / 32 25.8s Htbl parallel
[ ] 15 0 0 15 / 32 27.1s Htbl parallel
[ ] 16 0 0 16 / 32 29.8s Htbl parallel
[ ] 17 0 0 17 / 32 33.3s Htbl parallel
[ ] 18 0 0 18 / 32 35.4s Htbl parallel
[ ] 19 0 0 19 / 32 36.7s Htbl parallel
[ ] 20 0 0 20 / 32 38.6s Htbl parallel
[ ] 21 0 0 21 / 32 40.2s Htbl parallel
[ ] 22 0 0 22 / 32 42.7s Htbl parallel
[ ] 23 0 0 23 / 32 44.0s Htbl parallel
[ ] 24 0 0 24 / 32 46.1s Htbl parallel
[ ] 25 0 0 25 / 32 48.0s Htbl parallel
[ ] 26 0 0 26 / 32 50.3s Htbl parallel
[ ] 27 0 0 27 / 32 51.3s Htbl parallel
[ ] 28 0 0 28 / 32 54.1s Htbl parallel
[ ] 29 0 0 29 / 32 55.2s Htbl parallel
[ ] 30 0 0 30 / 32 56.3s Htbl parallel
[ ] 31 0 0 31 / 32 58.5s Htbl parallel
[ ] 32 0 0 32 / 32 59.3s Htbl parallel
[✓] 32 0 0 32 / 32 59.3s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 4511350135786440010
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 2.5s Htbl parallel
[ ] 2 0 0 2 / 32 5.2s Htbl parallel
[ ] 3 0 0 3 / 32 6.6s Htbl parallel
[ ] 4 0 0 4 / 32 8.7s Htbl parallel
[ ] 5 0 0 5 / 32 10.0s Htbl parallel
[ ] 6 0 0 6 / 32 11.2s Htbl parallel
[ ] 7 0 0 7 / 32 13.3s Htbl parallel
[ ] 8 0 0 8 / 32 14.5s Htbl parallel
[ ] 9 0 0 9 / 32 15.3s Htbl parallel
[ ] 10 0 0 10 / 32 16.9s Htbl parallel
[ ] 11 0 0 11 / 32 17.6s Htbl parallel
[ ] 12 0 0 12 / 32 18.2s Htbl parallel
[ ] 13 0 0 13 / 32 19.8s Htbl parallel
[ ] 14 0 0 14 / 32 20.5s Htbl parallel
[ ] 15 0 0 15 / 32 21.4s Htbl parallel
[ ] 16 0 0 16 / 32 23.2s Htbl parallel
[ ] 17 0 0 17 / 32 24.1s Htbl parallel
[ ] 18 0 0 18 / 32 25.5s Htbl parallel
[ ] 19 0 0 19 / 32 26.7s Htbl parallel
[ ] 20 0 0 20 / 32 29.1s Htbl parallel
[ ] 21 0 0 21 / 32 30.4s Htbl parallel
[ ] 22 0 0 22 / 32 30.9s Htbl parallel
[ ] 23 0 0 23 / 32 32.3s Htbl parallel
[ ] 24 0 0 24 / 32 34.0s Htbl parallel
[ ] 25 0 0 25 / 32 35.5s Htbl parallel
[ ] 26 0 0 26 / 32 36.7s Htbl parallel
[ ] 27 0 0 27 / 32 38.4s Htbl parallel
[ ] 28 0 0 28 / 32 39.3s Htbl parallel
[ ] 29 0 0 29 / 32 40.0s Htbl parallel
[ ] 30 0 0 30 / 32 40.7s Htbl parallel
[ ] 31 0 0 31 / 32 41.2s Htbl parallel
[ ] 32 0 0 32 / 32 42.1s Htbl parallel
[✓] 32 0 0 32 / 32 42.1s Htbl parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test && ./test_mpscq.exe)
random seed: 707643690233201237
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.6s Mpscq parallel
[ ] 2 0 0 2 / 32 6.2s Mpscq parallel
[ ] 3 0 0 3 / 32 11.2s Mpscq parallel
[ ] 4 0 0 4 / 32 16.3s Mpscq parallel
[ ] 5 0 0 5 / 32 19.4s Mpscq parallel
[ ] 6 0 0 6 / 32 21.7s Mpscq parallel
[ ] 7 0 0 7 / 32 26.0s Mpscq parallel
[ ] 8 0 0 8 / 32 27.6s Mpscq parallel
[ ] 9 0 0 9 / 32 33.1s Mpscq parallel
[ ] 10 0 0 10 / 32 40.6s Mpscq parallel
[ ] 11 0 0 11 / 32 49.5s Mpscq parallel
[ ] 12 0 0 12 / 32 56.8s Mpscq parallel
[ ] 13 0 0 13 / 32 60.5s Mpscq parallel
[ ] 14 0 0 14 / 32 67.2s Mpscq parallel
[ ] 15 0 0 15 / 32 70.0s Mpscq parallel
[ ] 16 0 0 16 / 32 74.5s Mpscq parallel
[ ] 17 0 0 17 / 32 82.5s Mpscq parallel
[ ] 18 0 0 18 / 32 89.5s Mpscq parallel
[ ] 19 0 0 19 / 32 92.1s Mpscq parallel
[ ] 20 0 0 20 / 32 93.9s Mpscq parallel
[ ] 21 0 0 21 / 32 97.6s Mpscq parallel
[ ] 22 0 0 22 / 32 99.3s Mpscq parallel
[ ] 23 0 0 23 / 32 100.0s Mpscq parallel
[ ] 24 0 0 24 / 32 101.4s Mpscq parallel
[ ] 25 0 0 25 / 32 102.7s Mpscq parallel
[ ] 26 0 0 26 / 32 105.5s Mpscq parallel
[ ] 27 0 0 27 / 32 106.8s Mpscq parallel
[ ] 28 0 0 28 / 32 108.7s Mpscq parallel
[ ] 29 0 0 29 / 32 109.9s Mpscq parallel
[ ] 30 0 0 30 / 32 110.8s Mpscq parallel
[ ] 31 0 0 31 / 32 112.4s Mpscq parallel
[ ] 32 0 0 32 / 32 113.2s Mpscq parallel
[✓] 32 0 0 32 / 32 113.2s Mpscq parallel
================================================================================
success (ran 2 tests)
(cd _build/default/bench && ./main.exe -brief 'Picos Mutex')
Picos Mutex:
time per locked yield/1 fiber:
359.76 ns
locked yields over time/1 fiber:
2.78 M/s
time per locked yield/2 fibers:
608.96 ns
locked yields over time/2 fibers:
1.64 M/s
time per locked yield/4 fibers:
5985.74 ns
locked yields over time/4 fibers:
0.17 M/s
time per locked yield/8 fibers:
11623.55 ns
locked yields over time/8 fibers:
0.09 M/s
time per locked yield/256 fibers:
8905.57 ns
locked yields over time/256 fibers:
0.11 M/s
time per locked yield/512 fibers:
11373.60 ns
locked yields over time/512 fibers:
0.09 M/s
time per locked yield/1024 fibers:
8139.37 ns
locked yields over time/1024 fibers:
0.12 M/s
time per locked yield/2 domains:
52262.26 ns
locked yields over time/2 domains:
0.04 M/s
time per locked yield/4 domains:
1149507.95 ns
locked yields over time/4 domains:
0.00 M/s
time per locked yield/8 domains:
218183934.33 ns
locked yields over time/8 domains:
0.00 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos Semaphore')
Picos Semaphore:
time per acquired yield/4 fibers, 1 resource:
22042.58 ns
acquired yields over time/4 fibers, 1 resource:
0.05 M/s
time per acquired yield/4 fibers, 2 resources:
11731.87 ns
acquired yields over time/4 fibers, 2 resources:
0.09 M/s
time per acquired yield/4 fibers, 3 resources:
11845.67 ns
acquired yields over time/4 fibers, 3 resources:
0.08 M/s
time per acquired yield/4 fibers, 4 resources:
2208.23 ns
acquired yields over time/4 fibers, 4 resources:
0.45 M/s
time per acquired yield/4 domains, 1 resource:
3048809.55 ns
acquired yields over time/4 domains, 1 resource:
0.00 M/s
time per acquired yield/4 domains, 2 resources:
368455.48 ns
acquired yields over time/4 domains, 2 resources:
0.01 M/s
time per acquired yield/4 domains, 3 resources:
59681.21 ns
acquired yields over time/4 domains, 3 resources:
0.07 M/s
time per acquired yield/4 domains, 4 resources:
11618.83 ns
acquired yields over time/4 domains, 4 resources:
0.34 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos Spawn')
Picos Spawn:
time per spawn/with packed computation:
272.98 ns
spawns over time/with packed computation:
3.66 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos Yield')
Picos Yield:
time per yield/1 fiber:
151.33 ns
yields over time/1 fiber:
6.61 M/s
time per yield/10 fibers:
226.00 ns
yields over time/10 fibers:
4.42 M/s
time per yield/100 fibers:
897.27 ns
yields over time/100 fibers:
1.11 M/s
time per yield/1000 fibers:
721.99 ns
yields over time/1000 fibers:
1.39 M/s
time per yield/10000 fibers:
2530.68 ns
yields over time/10000 fibers:
0.40 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos Cancel_after with Picos_select')
Picos Cancel_after with Picos_select:
time per round-trip/1 worker:
13789.99 ns
round-trips over time/1 worker:
0.07 M/s
time per round-trip/2 workers:
23514.44 ns
round-trips over time/2 workers:
0.09 M/s
time per round-trip/4 workers:
38674.60 ns
round-trips over time/4 workers:
0.10 M/s
time per async round-trip/1 worker:
17873.82 ns
async round-trips over time/1 worker:
0.06 M/s
time per async round-trip/2 workers:
9251.03 ns
async round-trips over time/2 workers:
0.22 M/s
time per async round-trip/4 workers:
215900.43 ns
async round-trips over time/4 workers:
0.02 M/s
(cd _build/default/bench && ./main.exe -brief 'Ref with Picos_sync.Mutex')
Ref with Picos_sync.Mutex:
time per op/get (checked):
174.34 ns
ops over time/get (checked):
5.74 M/s
time per op/incr (checked):
334.74 ns
ops over time/incr (checked):
2.99 M/s
time per op/push & pop (checked):
604.43 ns
ops over time/push & pop (checked):
1.65 M/s
time per op/cas int (checked):
351.65 ns
ops over time/cas int (checked):
2.84 M/s
time per op/xchg int (checked):
618.63 ns
ops over time/xchg int (checked):
1.62 M/s
time per op/swap (checked):
1291.61 ns
ops over time/swap (checked):
0.77 M/s
time per op/get (unchecked):
66.22 ns
ops over time/get (unchecked):
15.10 M/s
time per op/incr (unchecked):
130.78 ns
ops over time/incr (unchecked):
7.65 M/s
time per op/push & pop (unchecked):
434.69 ns
ops over time/push & pop (unchecked):
2.30 M/s
time per op/cas int (unchecked):
261.20 ns
ops over time/cas int (unchecked):
3.83 M/s
time per op/xchg int (unchecked):
133.96 ns
ops over time/xchg int (unchecked):
7.46 M/s
time per op/swap (unchecked):
379.30 ns
ops over time/swap (unchecked):
2.64 M/s
(cd _build/default/bench && ./main.exe -brief Picos_mpmcq)
Picos_mpmcq:
time per message/one domain:
69.75 ns
messages over time/one domain:
14.34 M/s
time per message/1 nb adder, 1 nb taker:
205.38 ns
messages over time/1 nb adder, 1 nb taker:
9.74 M/s
time per message/1 nb adder, 2 nb takers:
354.05 ns
messages over time/1 nb adder, 2 nb takers:
8.47 M/s
time per message/1 nb adder, 4 nb takers:
554.43 ns
messages over time/1 nb adder, 4 nb takers:
9.02 M/s
time per message/2 nb adders, 1 nb taker:
336.68 ns
messages over time/2 nb adders, 1 nb taker:
8.91 M/s
time per message/2 nb adders, 2 nb takers:
428.72 ns
messages over time/2 nb adders, 2 nb takers:
9.33 M/s
time per message/2 nb adders, 4 nb takers:
630.33 ns
messages over time/2 nb adders, 4 nb takers:
9.52 M/s
time per message/4 nb adders, 1 nb taker:
545.50 ns
messages over time/4 nb adders, 1 nb taker:
9.17 M/s
time per message/4 nb adders, 2 nb takers:
1292.40 ns
messages over time/4 nb adders, 2 nb takers:
4.64 M/s
time per message/4 nb adders, 4 nb takers:
7351.96 ns
messages over time/4 nb adders, 4 nb takers:
1.09 M/s
(cd _build/default/bench && ./main.exe -brief Picos_mpscq)
Picos_mpscq:
time per message/one domain:
61.21 ns
messages over time/one domain:
16.34 M/s
time per message/1 nb adder, 1 nb taker:
99.35 ns
messages over time/1 nb adder, 1 nb taker:
20.13 M/s
time per message/2 nb adders, 1 nb taker:
168.46 ns
messages over time/2 nb adders, 1 nb taker:
17.81 M/s
time per message/4 nb adders, 1 nb taker:
1556.08 ns
messages over time/4 nb adders, 1 nb taker:
3.21 M/s
(cd _build/default/bench && ./main.exe -brief Picos_htbl)
Picos_htbl:
time per operation/1 worker, 10% reads:
131.32 ns
operations over time/1 worker, 10% reads:
7.62 M/s
time per operation/1 worker, 50% reads:
106.66 ns
operations over time/1 worker, 50% reads:
9.38 M/s
time per operation/1 worker, 90% reads:
78.78 ns
operations over time/1 worker, 90% reads:
12.69 M/s
time per operation/2 workers, 10% reads:
404.04 ns
operations over time/2 workers, 10% reads:
4.95 M/s
time per operation/2 workers, 50% reads:
390.69 ns
operations over time/2 workers, 50% reads:
5.12 M/s
time per operation/2 workers, 90% reads:
234.73 ns
operations over time/2 workers, 90% reads:
8.52 M/s
time per operation/4 workers, 10% reads:
1146.40 ns
operations over time/4 workers, 10% reads:
3.49 M/s
time per operation/4 workers, 50% reads:
736.36 ns
operations over time/4 workers, 50% reads:
5.43 M/s
time per operation/4 workers, 90% reads:
371.47 ns
operations over time/4 workers, 90% reads:
10.77 M/s
time per operation/8 workers, 10% reads:
1912.27 ns
operations over time/8 workers, 10% reads:
4.18 M/s
time per operation/8 workers, 50% reads:
3617.28 ns
operations over time/8 workers, 50% reads:
2.21 M/s
time per operation/8 workers, 90% reads:
1617.14 ns
operations over time/8 workers, 90% reads:
4.95 M/s
(cd _build/default/bench && ./main.exe -brief Picos_stdio)
Picos_stdio:
time per non-blocking read/1 worker:
1985.03 ns
non-blocking reads over time/1 worker:
0.50 M/s
time per non-blocking read/2 workers:
3709.79 ns
non-blocking reads over time/2 workers:
0.54 M/s
time per non-blocking read/4 workers:
9361.02 ns
non-blocking reads over time/4 workers:
0.43 M/s
time per blocking read/1 worker:
3386.40 ns
blocking reads over time/1 worker:
0.30 M/s
time per blocking read/2 workers:
220189.97 ns
blocking reads over time/2 workers:
0.01 M/s
time per blocking read/4 workers:
370105.94 ns
blocking reads over time/4 workers:
0.01 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos_sync Stream')
Picos_sync Stream:
time per message/one domain:
584.22 ns
messages over time/one domain:
1.71 M/s
time per message/1 nb pusher, 1 nb reader:
452.98 ns
messages over time/1 nb pusher, 1 nb reader:
4.42 M/s
time per message/2 nb pushers, 1 nb reader:
8461.44 ns
messages over time/2 nb pushers, 1 nb reader:
0.35 M/s
time per message/4 nb pushers, 1 nb reader:
6428.87 ns
messages over time/4 nb pushers, 1 nb reader:
0.78 M/s
(cd _build/default/bench && ./main.exe -brief Fib)
Fib:
time per spawn/1 rando, fib 20:
2164.68 ns
spawns over time/1 rando, fib 20:
0.46 M/s
time per spawn/2 randos, fib 20:
12212.83 ns
spawns over time/2 randos, fib 20:
0.16 M/s
time per spawn/4 randos, fib 20:
58024.61 ns
spawns over time/4 randos, fib 20:
0.07 M/s
time per spawn/8 randos, fib 20:
3303805.32 ns
spawns over time/8 randos, fib 20:
0.00 M/s
time per spawn/1 mfifo, fib 20:
17579.37 ns
spawns over time/1 mfifo, fib 20:
0.06 M/s
time per spawn/2 mfifos, fib 20:
10992.55 ns
spawns over time/2 mfifos, fib 20:
0.18 M/s
time per spawn/4 mfifos, fib 20:
9211.46 ns
spawns over time/4 mfifos, fib 20:
0.43 M/s
time per spawn/8 mfifos, fib 20:
1049907.02 ns
spawns over time/8 mfifos, fib 20:
0.01 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos binaries')
Picos binaries:
binary size/picos:
101.98 kB
binary size/picos.domain:
3.63 kB
binary size/picos.thread:
3.07 kB
binary size/picos_aux.htbl:
42.82 kB
binary size/picos_aux.mpmcq:
15.25 kB
binary size/picos_aux.mpscq:
17.74 kB
binary size/picos_aux.rc:
16.09 kB
binary size/picos_lwt:
25.00 kB
binary size/picos_lwt.unix:
13.77 kB
binary size/picos_mux.fifo:
26.90 kB
binary size/picos_mux.multififo:
57.04 kB
binary size/picos_mux.random:
48.06 kB
binary size/picos_mux.thread:
21.17 kB
binary size/picos_std.event:
21.37 kB
binary size/picos_std.finally:
15.00 kB
binary size/picos_std.structured:
72.66 kB
binary size/picos_std.sync:
99.15 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.10 kB
(cd _build/default/bench && ./main.exe -brief 'Bounded_q with Picos_sync')
Bounded_q with Picos_sync:
time per message/one domain:
162.79 ns
messages over time/one domain:
6.14 M/s
time per message/1 adder, 1 taker:
4806.76 ns
messages over time/1 adder, 1 taker:
0.47 M/s
time per message/1 adder, 2 takers:
802.25 ns
messages over time/1 adder, 2 takers:
3.74 M/s
time per message/1 adder, 4 takers:
10296377.52 ns
messages over time/1 adder, 4 takers:
0.00 M/s
time per message/2 adders, 1 taker:
861357.71 ns
messages over time/2 adders, 1 taker:
0.00 M/s
time per message/2 adders, 2 takers:
3107455.27 ns
messages over time/2 adders, 2 takers:
0.00 M/s
time per message/2 adders, 4 takers:
40633499.62 ns
messages over time/2 adders, 4 takers:
0.00 M/s
time per message/4 adders, 1 taker:
16706.32 ns
messages over time/4 adders, 1 taker:
0.30 M/s
time per message/4 adders, 2 takers:
25080760.25 ns
messages over time/4 adders, 2 takers:
0.00 M/s
time per message/4 adders, 4 takers:
93725988.12 ns
messages over time/4 adders, 4 takers:
0.00 M/s
(cd _build/default/bench && ./main.exe -brief 'Memory usage')
Memory usage:
memory used/fiber in a bundle:
184.00 B
memory used/promise in a bundle:
304.00 B
memory used/fiber in a flock:
160.00 B
memory used/promise in a flock:
312.00 B
memory used/fiber with shared computation & latch:
160.00 B
2024-09-21 14:03.07 ---> saved as "292490b9b1e7660cc34025465d2a23312d385c1e7f3b55e6bc1a4e89addd8aa8"
Job succeeded
2024-09-21 14:12.18: Job succeeded