2024-09-22 10:45.04: New job: test ocaml-multicore/picos https://github.com/ocaml-multicore/picos.git#refs/heads/introduce-per_thread-cache (4a8573bfea2cfae6379eeeb215a79ef4f0a9e776) (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 "introduce-per_thread-cache" && cd "picos" && git reset --hard 4a8573bf
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-22 10:45.04: Using cache hint "ocaml-multicore/picos-freebsd-ocaml-5.2-freebsd-5.2_opam-2.2-cb19b444f59bbbc9738e84341f658770"
2024-09-22 10:45.04: 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-22 10:45.04: Waiting for resource in pool OCluster
2024-09-22 10:45.04: Waiting for worker…
2024-09-22 10:45.04: Got resource from pool OCluster
Building on spring
All commits already cached
HEAD is now at 4a8573b Introduce `Per_thread` cache
(from freebsd-ocaml-5.2)
2024-09-22 10:35.56 ---> 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-22 10:35.56 ---> 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-22 10:35.57 ---> 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-22 10:35.57 ---> using "122bbc3ca2d5d079e67c62df055dfe2029bb1467ac0b82961d95a877a82d7ad7" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-22 10:35.58 ---> 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-22 10:35.58 ---> 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-22 10:35.59 ---> 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-22 10:36.00 ---> 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-22 10:36.00 ---> 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-22 10:36.01 ---> using "b2dd7ec99430d82644a6e4ad375c32d59360005a32e66691432d137e9de0dfc6" from cache
/src: (copy (src .) (dst /src))
2024-09-22 10:36.04 ---> saved as "05200509d3ba78d06ef11a1d1eaf9ec51d978131f66f080251abed079aa61e5a"
/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 `ON1SABMH'.
[OK] Basics 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_lwt'.
Test Successful in 0.059s. 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_beta2
Body:
(cd _build/default/test && ./test_select.exe)
Testing `Picos_select'.
This run has ID `5BB1N828'.
[OK] Intr 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_select'.
Test Successful in 15.242s. 1 test run.
(cd _build/default/bench && ./main.exe -brief 'Picos Computation')
Picos Computation:
time per attach detach pair/trivial:
2441.70 ns
attach detach pairs over time/trivial:
0.41 M/s
time per attach detach pair/1 worker:
1548.20 ns
attach detach pairs over time/1 worker:
0.65 M/s
time per attach detach pair/2 workers:
2907.04 ns
attach detach pairs over time/2 workers:
0.69 M/s
time per attach detach pair/4 workers:
18287.42 ns
attach detach pairs over time/4 workers:
0.22 M/s
(cd _build/default/test && ./test_server_and_client.exe)
Using blocking sockets and fibers on OCaml 5:
Looping server running
Server listening
Server accepting
Client A running
Client A connected
Client A wrote 100
Client B running
Client B connected
Client B wrote 100
Server accepted client
Server read 100
Server wrote 50
Server accepting
Server accepted client
Server read 100
Server wrote 50
Server accepting
Client A read 50
Client B read 50
Server and Client test: OK
(cd _build/default/test && ./test_io.exe)
Testing `Picos_io'.
This run has ID `1AN5N28H'.
[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.740s. 6 tests run.
(cd _build/default/test && ./test_io_with_lwt.exe)
Testing `Picos_io_with_lwt'.
This run has ID `DSCHWB1O'.
[OK] Unix 0 system.
Full test results in `/src/_build/default/test/_build/_tests/Picos_io_with_lwt'.
Test Successful in 2.085s. 1 test run.
(cd _build/default/test && ./test_finally.exe)
Testing `Picos_finally'.
This run has ID `P7TLG68Y'.
[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.006s. 2 tests run.
(cd _build/default/test && ./test_structured.exe)
Testing `Picos_structured'.
This run has ID `99YK9JYF'.
[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.490s. 14 tests run.
(cd _build/default/test && ./test_sync.exe -- Event 0)
Testing `Picos_sync'.
This run has ID `XEB3715D'.
[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:45492/hello-io-cohttp
Method: POST
host: 127.0.0.1:45492
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 `GUVQTV6P'.
[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.614s. 3 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/bench && ./main.exe -brief 'Picos Current')
Picos Current:
time per op/1 worker:
14.76 ns
ops over time/1 worker:
67.74 M/s
time per op/2 workers:
14.92 ns
ops over time/2 workers:
134.02 M/s
time per op/4 workers:
101.03 ns
ops over time/4 workers:
39.59 M/s
(cd _build/default/test && ./test_sync.exe -- Lazy 0)
Testing `Picos_sync'.
This run has ID `A18SR62J'.
[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.001s. 1 test run.
(cd _build/default/test && ./test_mpmcq_dscheck.exe)
Testing `Picos_mpmcq DSCheck'.
This run has ID `GPLHTI44'.
[OK] Multiple pushes and pops 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_mpmcq DSCheck'.
Test Successful in 11.541s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Lazy 1)
Testing `Picos_sync'.
This run has ID `GZD3K3BF'.
[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.003s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Semaphore 0)
Testing `Picos_sync'.
This run has ID `IS07S3MV'.
[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.050s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Semaphore 1)
Testing `Picos_sync'.
This run has ID `PIP1QU00'.
[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 2.949s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 0)
Testing `Picos_sync'.
This run has ID `50MQSA5D'.
[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.018s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 1)
Testing `Picos_sync'.
This run has ID `Z59ZT9E9'.
[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.019s. 1 test run.
(cd _build/default/test && ./test_picos.exe)
Testing `Picos'.
This run has ID `NRX99BME'.
[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.216s. 7 tests run.
(cd _build/default/bench && ./main.exe -brief 'Picos FLS (excluding Current)')
Picos FLS (excluding Current):
time per get/1 worker:
8.15 ns
gets over time/1 worker:
122.72 M/s
time per set/1 worker:
14.87 ns
sets over time/1 worker:
67.23 M/s
time per get/2 workers:
5.80 ns
gets over time/2 workers:
344.63 M/s
time per set/2 workers:
20.61 ns
sets over time/2 workers:
97.03 M/s
time per get/4 workers:
24.45 ns
gets over time/4 workers:
163.58 M/s
time per set/4 workers:
224.85 ns
sets over time/4 workers:
17.79 M/s
(cd _build/default/test && ./test_schedulers.exe)
Testing `Picos schedulers'.
This run has ID `VN46TDYX'.
[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 65.959s. 8 tests run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 2)
Testing `Picos_sync'.
This run has ID `GJ1HAGD4'.
[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 35.120s. 1 test run.
(cd _build/default/bench && ./main.exe -brief 'Picos TLS')
Picos TLS:
time per get/1 worker:
9.09 ns
gets over time/1 worker:
110.05 M/s
time per set/1 worker:
44.09 ns
sets over time/1 worker:
22.68 M/s
time per get/2 workers:
9.75 ns
gets over time/2 workers:
205.12 M/s
time per set/2 workers:
84.07 ns
sets over time/2 workers:
23.79 M/s
time per get/4 workers:
41.17 ns
gets over time/4 workers:
97.17 M/s
time per set/4 workers:
108.29 ns
sets over time/4 workers:
36.94 M/s
(cd _build/default/test && ./test_mpmcq.exe)
random seed: 1033800811178380137
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.2s Mpmcq parallel
[ ] 2 0 0 2 / 32 4.9s Mpmcq parallel
[ ] 3 0 0 3 / 32 6.3s Mpmcq parallel
[ ] 4 0 0 4 / 32 8.3s Mpmcq parallel
[ ] 5 0 0 5 / 32 9.6s Mpmcq parallel
[ ] 6 0 0 6 / 32 11.5s Mpmcq parallel
[ ] 7 0 0 7 / 32 13.5s Mpmcq parallel
[ ] 8 0 0 8 / 32 15.2s Mpmcq parallel
[ ] 9 0 0 9 / 32 16.6s Mpmcq parallel
[ ] 10 0 0 10 / 32 17.4s Mpmcq parallel
[ ] 11 0 0 11 / 32 18.8s Mpmcq parallel
[ ] 12 0 0 12 / 32 21.3s Mpmcq parallel
[ ] 13 0 0 13 / 32 22.1s Mpmcq parallel
[ ] 14 0 0 14 / 32 23.2s Mpmcq parallel
[ ] 15 0 0 15 / 32 26.3s Mpmcq parallel
[ ] 16 0 0 16 / 32 27.8s Mpmcq parallel
[ ] 17 0 0 17 / 32 29.6s Mpmcq parallel
[ ] 18 0 0 18 / 32 31.5s Mpmcq parallel
[ ] 19 0 0 19 / 32 32.7s Mpmcq parallel
[ ] 20 0 0 20 / 32 33.9s Mpmcq parallel
[ ] 21 0 0 21 / 32 36.3s Mpmcq parallel
[ ] 22 0 0 22 / 32 38.4s Mpmcq parallel
[ ] 23 0 0 23 / 32 39.2s Mpmcq parallel
[ ] 24 0 0 24 / 32 40.5s Mpmcq parallel
[ ] 25 0 0 25 / 32 42.9s Mpmcq parallel
[ ] 26 0 0 26 / 32 44.1s Mpmcq parallel
[ ] 27 0 0 27 / 32 45.6s Mpmcq parallel
[ ] 28 0 0 28 / 32 47.0s Mpmcq parallel
[ ] 29 0 0 29 / 32 49.2s Mpmcq parallel
[ ] 30 0 0 30 / 32 50.7s Mpmcq parallel
[ ] 31 0 0 31 / 32 51.4s Mpmcq parallel
[ ] 32 0 0 32 / 32 54.2s Mpmcq parallel
[✓] 32 0 0 32 / 32 54.2s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 2346979145247893681
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Mpmcq sequential
[✓] 32 0 0 32 / 32 0.0s Mpmcq sequential
[ ] 0 0 0 0 / 32 0.0s Mpmcq parallel
[ ] 1 0 0 1 / 32 1.6s Mpmcq parallel
[ ] 2 0 0 2 / 32 2.7s Mpmcq parallel
[ ] 3 0 0 3 / 32 3.7s Mpmcq parallel
[ ] 4 0 0 4 / 32 4.3s Mpmcq parallel
[ ] 5 0 0 5 / 32 4.7s Mpmcq parallel
[ ] 6 0 0 6 / 32 5.8s Mpmcq parallel
[ ] 7 0 0 7 / 32 6.5s Mpmcq parallel
[ ] 8 0 0 8 / 32 7.9s Mpmcq parallel
[ ] 9 0 0 9 / 32 11.0s Mpmcq parallel
[ ] 10 0 0 10 / 32 12.5s Mpmcq parallel
[ ] 11 0 0 11 / 32 13.2s Mpmcq parallel
[ ] 12 0 0 12 / 32 14.8s Mpmcq parallel
[ ] 13 0 0 13 / 32 15.3s Mpmcq parallel
[ ] 14 0 0 14 / 32 17.2s Mpmcq parallel
[ ] 15 0 0 15 / 32 18.5s Mpmcq parallel
[ ] 16 0 0 16 / 32 19.0s Mpmcq parallel
[ ] 17 0 0 17 / 32 20.1s Mpmcq parallel
[ ] 18 0 0 18 / 32 20.6s Mpmcq parallel
[ ] 19 0 0 19 / 32 22.6s Mpmcq parallel
[ ] 20 0 0 20 / 32 23.7s Mpmcq parallel
[ ] 21 0 0 21 / 32 25.0s Mpmcq parallel
[ ] 22 0 0 22 / 32 26.9s Mpmcq parallel
[ ] 23 0 0 23 / 32 29.1s Mpmcq parallel
[ ] 24 0 0 24 / 32 30.4s Mpmcq parallel
[ ] 25 0 0 25 / 32 31.1s Mpmcq parallel
[ ] 26 0 0 26 / 32 32.2s Mpmcq parallel
[ ] 27 0 0 27 / 32 33.2s Mpmcq parallel
[ ] 28 0 0 28 / 32 34.6s Mpmcq parallel
[ ] 29 0 0 29 / 32 36.2s Mpmcq parallel
[ ] 30 0 0 30 / 32 41.0s Mpmcq parallel
[ ] 31 0 0 31 / 32 42.5s Mpmcq parallel
[ ] 32 0 0 32 / 32 44.8s Mpmcq parallel
[✓] 32 0 0 32 / 32 44.8s Mpmcq parallel
================================================================================
success (ran 2 tests)
(cd _build/default/bench && ./main.exe -brief 'Picos DLS')
Picos DLS:
time per get/1 worker:
8.94 ns
gets over time/1 worker:
111.81 M/s
time per set/1 worker:
15.67 ns
sets over time/1 worker:
63.82 M/s
time per get/2 workers:
9.10 ns
gets over time/2 workers:
219.75 M/s
time per set/2 workers:
15.98 ns
sets over time/2 workers:
125.17 M/s
time per get/4 workers:
27.38 ns
gets over time/4 workers:
146.12 M/s
time per set/4 workers:
137.50 ns
sets over time/4 workers:
29.09 M/s
(cd _build/default/test && ./test_htbl.exe)
random seed: 4564644799006783299
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Htbl sequential
[ ] 0 0 0 0 / 32 0.0s Htbl sequential (generating)
[✓] 32 0 0 32 / 32 0.0s Htbl sequential
[ ] 0 0 0 0 / 32 0.0s Htbl parallel
[ ] 1 0 0 1 / 32 2.3s Htbl parallel
[ ] 2 0 0 2 / 32 4.2s Htbl parallel
[ ] 3 0 0 3 / 32 5.5s Htbl parallel
[ ] 4 0 0 4 / 32 7.2s Htbl parallel
[ ] 5 0 0 5 / 32 8.2s Htbl parallel
[ ] 6 0 0 6 / 32 11.5s Htbl parallel
[ ] 7 0 0 7 / 32 12.1s Htbl parallel
[ ] 8 0 0 8 / 32 13.5s Htbl parallel
[ ] 9 0 0 9 / 32 14.5s Htbl parallel
[ ] 10 0 0 10 / 32 15.1s Htbl parallel
[ ] 11 0 0 11 / 32 16.7s Htbl parallel
[ ] 12 0 0 12 / 32 20.1s Htbl parallel
[ ] 13 0 0 13 / 32 22.6s Htbl parallel
[ ] 14 0 0 14 / 32 24.9s Htbl parallel
[ ] 15 0 0 15 / 32 25.4s Htbl parallel
[ ] 16 0 0 16 / 32 27.4s Htbl parallel
[ ] 17 0 0 17 / 32 28.9s Htbl parallel
[ ] 18 0 0 18 / 32 29.9s Htbl parallel
[ ] 19 0 0 19 / 32 30.6s Htbl parallel
[ ] 20 0 0 20 / 32 34.2s Htbl parallel
[ ] 21 0 0 21 / 32 35.4s Htbl parallel
[ ] 22 0 0 22 / 32 37.9s Htbl parallel
[ ] 23 0 0 23 / 32 39.8s Htbl parallel
[ ] 24 0 0 24 / 32 41.7s Htbl parallel
[ ] 25 0 0 25 / 32 45.2s Htbl parallel
[ ] 26 0 0 26 / 32 47.0s Htbl parallel
[ ] 27 0 0 27 / 32 49.8s Htbl parallel
[ ] 28 0 0 28 / 32 52.0s Htbl parallel
[ ] 29 0 0 29 / 32 52.8s Htbl parallel
[ ] 30 0 0 30 / 32 53.6s Htbl parallel
[ ] 31 0 0 31 / 32 54.7s Htbl parallel
[ ] 32 0 0 32 / 32 55.9s Htbl parallel
[✓] 32 0 0 32 / 32 55.9s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 2234590633038801552
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.7s Htbl parallel
[ ] 2 0 0 2 / 32 2.5s Htbl parallel
[ ] 3 0 0 3 / 32 5.1s Htbl parallel
[ ] 4 0 0 4 / 32 7.1s Htbl parallel
[ ] 5 0 0 5 / 32 9.0s Htbl parallel
[ ] 6 0 0 6 / 32 12.2s Htbl parallel
[ ] 7 0 0 7 / 32 13.5s Htbl parallel
[ ] 8 0 0 8 / 32 16.0s Htbl parallel
[ ] 9 0 0 9 / 32 17.8s Htbl parallel
[ ] 10 0 0 10 / 32 18.7s Htbl parallel
[ ] 11 0 0 11 / 32 20.5s Htbl parallel
[ ] 12 0 0 12 / 32 21.4s Htbl parallel
[ ] 13 0 0 13 / 32 22.8s Htbl parallel
[ ] 14 0 0 14 / 32 24.3s Htbl parallel
[ ] 15 0 0 15 / 32 24.9s Htbl parallel
[ ] 16 0 0 16 / 32 25.6s Htbl parallel
[ ] 17 0 0 17 / 32 26.7s Htbl parallel
[ ] 18 0 0 18 / 32 29.5s Htbl parallel
[ ] 19 0 0 19 / 32 32.2s Htbl parallel
[ ] 20 0 0 20 / 32 35.3s Htbl parallel
[ ] 21 0 0 21 / 32 36.5s Htbl parallel
[ ] 22 0 0 22 / 32 37.7s Htbl parallel
[ ] 23 0 0 23 / 32 38.3s Htbl parallel
[ ] 24 0 0 24 / 32 40.0s Htbl parallel
[ ] 25 0 0 25 / 32 42.6s Htbl parallel
[ ] 26 0 0 26 / 32 43.9s Htbl parallel
[ ] 27 0 0 27 / 32 45.2s Htbl parallel
[ ] 28 0 0 28 / 32 46.2s Htbl parallel
[ ] 29 0 0 29 / 32 47.2s Htbl parallel
[ ] 30 0 0 30 / 32 48.1s Htbl parallel
[ ] 31 0 0 31 / 32 50.0s Htbl parallel
[ ] 32 0 0 32 / 32 50.8s Htbl parallel
[✓] 32 0 0 32 / 32 50.8s Htbl parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test && ./test_mpscq.exe)
random seed: 1768320378979501318
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.0s Mpscq parallel
[ ] 3 0 0 3 / 32 11.4s Mpscq parallel
[ ] 4 0 0 4 / 32 17.6s Mpscq parallel
[ ] 5 0 0 5 / 32 28.1s Mpscq parallel
[ ] 6 0 0 6 / 32 32.1s Mpscq parallel
[ ] 7 0 0 7 / 32 36.8s Mpscq parallel
[ ] 8 0 0 8 / 32 42.1s Mpscq parallel
[ ] 9 0 0 9 / 32 45.7s Mpscq parallel
[ ] 10 0 0 10 / 32 46.7s Mpscq parallel
[ ] 11 0 0 11 / 32 50.6s Mpscq parallel
[ ] 12 0 0 12 / 32 57.8s Mpscq parallel
[ ] 13 0 0 13 / 32 60.9s Mpscq parallel
[ ] 14 0 0 14 / 32 68.9s Mpscq parallel
[ ] 15 0 0 15 / 32 72.8s Mpscq parallel
[ ] 16 0 0 16 / 32 77.6s Mpscq parallel
[ ] 17 0 0 17 / 32 81.5s Mpscq parallel
[ ] 18 0 0 18 / 32 86.3s Mpscq parallel
[ ] 19 0 0 19 / 32 97.0s Mpscq parallel
[ ] 20 0 0 20 / 32 102.4s Mpscq parallel
[ ] 21 0 0 21 / 32 110.2s Mpscq parallel
[ ] 22 0 0 22 / 32 114.0s Mpscq parallel
[ ] 23 0 0 23 / 32 118.5s Mpscq parallel
[ ] 24 0 0 24 / 32 123.7s Mpscq parallel
[ ] 25 0 0 25 / 32 124.4s Mpscq parallel
[ ] 26 0 0 26 / 32 126.2s Mpscq parallel
[ ] 27 0 0 27 / 32 127.6s Mpscq parallel
[ ] 28 0 0 28 / 32 128.7s Mpscq parallel
[ ] 29 0 0 29 / 32 130.5s Mpscq parallel
[ ] 30 0 0 30 / 32 132.1s Mpscq parallel
[ ] 31 0 0 31 / 32 133.5s Mpscq parallel
[ ] 32 0 0 32 / 32 135.6s Mpscq parallel
[✓] 32 0 0 32 / 32 135.6s Mpscq parallel
================================================================================
success (ran 2 tests)
(cd _build/default/bench && ./main.exe -brief 'Picos Mutex')
Picos Mutex:
time per locked yield/1 fiber:
280.76 ns
locked yields over time/1 fiber:
3.56 M/s
time per locked yield/2 fibers:
509.24 ns
locked yields over time/2 fibers:
1.96 M/s
time per locked yield/4 fibers:
6773.58 ns
locked yields over time/4 fibers:
0.15 M/s
time per locked yield/8 fibers:
3461.61 ns
locked yields over time/8 fibers:
0.29 M/s
time per locked yield/256 fibers:
10851.17 ns
locked yields over time/256 fibers:
0.09 M/s
time per locked yield/512 fibers:
15478.62 ns
locked yields over time/512 fibers:
0.06 M/s
time per locked yield/1024 fibers:
14891.18 ns
locked yields over time/1024 fibers:
0.07 M/s
time per locked yield/2 domains:
9845.64 ns
locked yields over time/2 domains:
0.20 M/s
time per locked yield/4 domains:
20191.00 ns
locked yields over time/4 domains:
0.20 M/s
time per locked yield/8 domains:
104482130.55 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:
4752.25 ns
acquired yields over time/4 fibers, 1 resource:
0.21 M/s
time per acquired yield/4 fibers, 2 resources:
10304.00 ns
acquired yields over time/4 fibers, 2 resources:
0.10 M/s
time per acquired yield/4 fibers, 3 resources:
5175.46 ns
acquired yields over time/4 fibers, 3 resources:
0.19 M/s
time per acquired yield/4 fibers, 4 resources:
1861.51 ns
acquired yields over time/4 fibers, 4 resources:
0.54 M/s
time per acquired yield/4 domains, 1 resource:
1130157.34 ns
acquired yields over time/4 domains, 1 resource:
0.00 M/s
time per acquired yield/4 domains, 2 resources:
196743.61 ns
acquired yields over time/4 domains, 2 resources:
0.02 M/s
time per acquired yield/4 domains, 3 resources:
7653.21 ns
acquired yields over time/4 domains, 3 resources:
0.52 M/s
time per acquired yield/4 domains, 4 resources:
2556.00 ns
acquired yields over time/4 domains, 4 resources:
1.56 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos Spawn')
Picos Spawn:
time per spawn/with packed computation:
166.32 ns
spawns over time/with packed computation:
6.01 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos Yield')
Picos Yield:
time per yield/1 fiber:
369.59 ns
yields over time/1 fiber:
2.71 M/s
time per yield/10 fibers:
402.15 ns
yields over time/10 fibers:
2.49 M/s
time per yield/100 fibers:
248.18 ns
yields over time/100 fibers:
4.03 M/s
time per yield/1000 fibers:
517.93 ns
yields over time/1000 fibers:
1.93 M/s
time per yield/10000 fibers:
1496.11 ns
yields over time/10000 fibers:
0.67 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:
13768.88 ns
round-trips over time/1 worker:
0.07 M/s
time per round-trip/2 workers:
36950.60 ns
round-trips over time/2 workers:
0.05 M/s
time per round-trip/4 workers:
53673.23 ns
round-trips over time/4 workers:
0.07 M/s
time per async round-trip/1 worker:
13480.61 ns
async round-trips over time/1 worker:
0.07 M/s
time per async round-trip/2 workers:
12776.94 ns
async round-trips over time/2 workers:
0.16 M/s
time per async round-trip/4 workers:
207952.86 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):
106.03 ns
ops over time/get (checked):
9.43 M/s
time per op/incr (checked):
285.62 ns
ops over time/incr (checked):
3.50 M/s
time per op/push & pop (checked):
256.74 ns
ops over time/push & pop (checked):
3.90 M/s
time per op/cas int (checked):
137.42 ns
ops over time/cas int (checked):
7.28 M/s
time per op/xchg int (checked):
300.15 ns
ops over time/xchg int (checked):
3.33 M/s
time per op/swap (checked):
136.00 ns
ops over time/swap (checked):
7.35 M/s
time per op/get (unchecked):
122.13 ns
ops over time/get (unchecked):
8.19 M/s
time per op/incr (unchecked):
72.25 ns
ops over time/incr (unchecked):
13.84 M/s
time per op/push & pop (unchecked):
209.52 ns
ops over time/push & pop (unchecked):
4.77 M/s
time per op/cas int (unchecked):
104.50 ns
ops over time/cas int (unchecked):
9.57 M/s
time per op/xchg int (unchecked):
72.44 ns
ops over time/xchg int (unchecked):
13.80 M/s
time per op/swap (unchecked):
255.69 ns
ops over time/swap (unchecked):
3.91 M/s
(cd _build/default/bench && ./main.exe -brief Picos_mpmcq)
Picos_mpmcq:
time per message/one domain:
66.13 ns
messages over time/one domain:
15.12 M/s
time per message/1 nb adder, 1 nb taker:
168.03 ns
messages over time/1 nb adder, 1 nb taker:
11.90 M/s
time per message/1 nb adder, 2 nb takers:
458.79 ns
messages over time/1 nb adder, 2 nb takers:
6.54 M/s
time per message/1 nb adder, 4 nb takers:
569.80 ns
messages over time/1 nb adder, 4 nb takers:
8.78 M/s
time per message/2 nb adders, 1 nb taker:
316.61 ns
messages over time/2 nb adders, 1 nb taker:
9.48 M/s
time per message/2 nb adders, 2 nb takers:
468.52 ns
messages over time/2 nb adders, 2 nb takers:
8.54 M/s
time per message/2 nb adders, 4 nb takers:
814.58 ns
messages over time/2 nb adders, 4 nb takers:
7.37 M/s
time per message/4 nb adders, 1 nb taker:
600.49 ns
messages over time/4 nb adders, 1 nb taker:
8.33 M/s
time per message/4 nb adders, 2 nb takers:
624.97 ns
messages over time/4 nb adders, 2 nb takers:
9.60 M/s
time per message/4 nb adders, 4 nb takers:
2228.27 ns
messages over time/4 nb adders, 4 nb takers:
3.59 M/s
(cd _build/default/bench && ./main.exe -brief Picos_mpscq)
Picos_mpscq:
time per message/one domain:
61.22 ns
messages over time/one domain:
16.33 M/s
time per message/1 nb adder, 1 nb taker:
92.61 ns
messages over time/1 nb adder, 1 nb taker:
21.60 M/s
time per message/2 nb adders, 1 nb taker:
160.17 ns
messages over time/2 nb adders, 1 nb taker:
18.73 M/s
time per message/4 nb adders, 1 nb taker:
1057.84 ns
messages over time/4 nb adders, 1 nb taker:
4.73 M/s
(cd _build/default/bench && ./main.exe -brief Picos_htbl)
Picos_htbl:
time per operation/1 worker, 10% reads:
158.26 ns
operations over time/1 worker, 10% reads:
6.32 M/s
time per operation/1 worker, 50% reads:
134.20 ns
operations over time/1 worker, 50% reads:
7.45 M/s
time per operation/1 worker, 90% reads:
89.57 ns
operations over time/1 worker, 90% reads:
11.16 M/s
time per operation/2 workers, 10% reads:
207.20 ns
operations over time/2 workers, 10% reads:
9.65 M/s
time per operation/2 workers, 50% reads:
350.83 ns
operations over time/2 workers, 50% reads:
5.70 M/s
time per operation/2 workers, 90% reads:
145.86 ns
operations over time/2 workers, 90% reads:
13.71 M/s
time per operation/4 workers, 10% reads:
1147.57 ns
operations over time/4 workers, 10% reads:
3.49 M/s
time per operation/4 workers, 50% reads:
635.86 ns
operations over time/4 workers, 50% reads:
6.29 M/s
time per operation/4 workers, 90% reads:
239.31 ns
operations over time/4 workers, 90% reads:
16.71 M/s
time per operation/8 workers, 10% reads:
1890.59 ns
operations over time/8 workers, 10% reads:
4.23 M/s
time per operation/8 workers, 50% reads:
892.76 ns
operations over time/8 workers, 50% reads:
8.96 M/s
time per operation/8 workers, 90% reads:
387.27 ns
operations over time/8 workers, 90% reads:
20.66 M/s
(cd _build/default/bench && ./main.exe -brief Picos_stdio)
Picos_stdio:
time per non-blocking read/1 worker:
3722.43 ns
non-blocking reads over time/1 worker:
0.27 M/s
time per non-blocking read/2 workers:
3768.26 ns
non-blocking reads over time/2 workers:
0.53 M/s
time per non-blocking read/4 workers:
4155.02 ns
non-blocking reads over time/4 workers:
0.96 M/s
time per blocking read/1 worker:
3314.79 ns
blocking reads over time/1 worker:
0.30 M/s
time per blocking read/2 workers:
3835.82 ns
blocking reads over time/2 workers:
0.52 M/s
time per blocking read/4 workers:
23276.29 ns
blocking reads over time/4 workers:
0.17 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos_sync Stream')
Picos_sync Stream:
time per message/one domain:
1380.33 ns
messages over time/one domain:
0.72 M/s
time per message/1 nb pusher, 1 nb reader:
721.99 ns
messages over time/1 nb pusher, 1 nb reader:
2.77 M/s
time per message/2 nb pushers, 1 nb reader:
2953.07 ns
messages over time/2 nb pushers, 1 nb reader:
1.02 M/s
time per message/4 nb pushers, 1 nb reader:
5774.02 ns
messages over time/4 nb pushers, 1 nb reader:
0.87 M/s
(cd _build/default/bench && ./main.exe -brief Fib)
Fib:
time per spawn/1 rando, fib 20:
2141.89 ns
spawns over time/1 rando, fib 20:
0.47 M/s
time per spawn/2 randos, fib 20:
4919.68 ns
spawns over time/2 randos, fib 20:
0.41 M/s
time per spawn/4 randos, fib 20:
28612.82 ns
spawns over time/4 randos, fib 20:
0.14 M/s
time per spawn/8 randos, fib 20:
1122950.62 ns
spawns over time/8 randos, fib 20:
0.01 M/s
time per spawn/1 mfifo, fib 20:
7049.22 ns
spawns over time/1 mfifo, fib 20:
0.14 M/s
time per spawn/2 mfifos, fib 20:
12138.10 ns
spawns over time/2 mfifos, fib 20:
0.16 M/s
time per spawn/4 mfifos, fib 20:
4257.87 ns
spawns over time/4 mfifos, fib 20:
0.94 M/s
time per spawn/8 mfifos, fib 20:
97488.38 ns
spawns over time/8 mfifos, fib 20:
0.08 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos binaries')
Picos binaries:
binary size/picos:
104.52 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.93 kB
binary size/picos_mux.multififo:
57.04 kB
binary size/picos_mux.random:
46.45 kB
binary size/picos_mux.thread:
21.17 kB
binary size/picos_std.event:
21.37 kB
binary size/picos_std.finally:
16.08 kB
binary size/picos_std.structured:
72.66 kB
binary size/picos_std.sync:
102.06 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:
172.27 ns
messages over time/one domain:
5.80 M/s
time per message/1 adder, 1 taker:
431.42 ns
messages over time/1 adder, 1 taker:
4.64 M/s
time per message/1 adder, 2 takers:
29218.43 ns
messages over time/1 adder, 2 takers:
0.10 M/s
time per message/1 adder, 4 takers:
7320251.20 ns
messages over time/1 adder, 4 takers:
0.00 M/s
time per message/2 adders, 1 taker:
2634.83 ns
messages over time/2 adders, 1 taker:
1.14 M/s
time per message/2 adders, 2 takers:
58475.57 ns
messages over time/2 adders, 2 takers:
0.07 M/s
time per message/2 adders, 4 takers:
14815805.33 ns
messages over time/2 adders, 4 takers:
0.00 M/s
time per message/4 adders, 1 taker:
10189842.83 ns
messages over time/4 adders, 1 taker:
0.00 M/s
time per message/4 adders, 2 takers:
12583144.28 ns
messages over time/4 adders, 2 takers:
0.00 M/s
time per message/4 adders, 4 takers:
161067028.88 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-22 10:57.17 ---> saved as "d4501be016d50ca3f0e4486be511ff658ff15f63068e45c300ec6c91ed0c4a12"
Job succeeded
2024-09-22 11:06.29: Job succeeded