2024-09-18 21:16.04: New job: test ocaml-multicore/picos https://github.com/ocaml-multicore/picos.git#refs/heads/add-hello-cohttp (1b6723c87a8ea841ed981ce335eb7dedb743676d) (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 "add-hello-cohttp" && cd "picos" && git reset --hard 1b6723c8
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-18 21:16.04: Using cache hint "ocaml-multicore/picos-freebsd-ocaml-5.2-freebsd-5.2_opam-2.2-cb19b444f59bbbc9738e84341f658770"
2024-09-18 21:16.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-18 21:16.04: Waiting for resource in pool OCluster
2024-09-18 21:16.04: Waiting for worker…
2024-09-18 21:16.37: Got resource from pool OCluster
Building on spring
All commits already cached
HEAD is now at 1b6723c Add a hello server example using cohttp
(from freebsd-ocaml-5.2)
2024-09-18 21:07.34 ---> 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-18 21:07.37 ---> 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-18 21:07.40 ---> 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-18 21:07.42 ---> using "122bbc3ca2d5d079e67c62df055dfe2029bb1467ac0b82961d95a877a82d7ad7" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-18 21:07.43 ---> 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-18 21:07.44 ---> 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-18 21:07.45 ---> 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-18 21:07.47 ---> 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-18 21:07.50 ---> 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-18 21:07.53 ---> using "b2dd7ec99430d82644a6e4ad375c32d59360005a32e66691432d137e9de0dfc6" from cache
/src: (copy (src .) (dst /src))
2024-09-18 21:08.02 ---> saved as "fc998a1244db4d7528971a412147a67fd6e3f06adc80e9425ccf72c75782003d"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/bench && ./main.exe -brief 'Picos Computation')
Picos Computation:
time per attach detach pair/trivial:
751.22 ns
attach detach pairs over time/trivial:
1.33 M/s
time per attach detach pair/1 worker:
1359.18 ns
attach detach pairs over time/1 worker:
0.74 M/s
time per attach detach pair/2 workers:
2212.68 ns
attach detach pairs over time/2 workers:
0.90 M/s
time per attach detach pair/4 workers:
8902.79 ns
attach detach pairs over time/4 workers:
0.45 M/s
(cd _build/default/test && ./test_lwt_unix.exe)
Testing `Picos_lwt'.
This run has ID `3EPXRN2O'.
[OK] Basics 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_lwt'.
Test Successful in 0.060s. 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/bench && ./main.exe -brief 'Picos Current')
Picos Current:
time per op/1 worker:
52.43 ns
ops over time/1 worker:
19.07 M/s
time per op/2 workers:
51.60 ns
ops over time/2 workers:
38.76 M/s
time per op/4 workers:
2347.59 ns
ops over time/4 workers:
1.70 M/s
(cd _build/default/test && ./test_server_and_client.exe)
Using non-blocking sockets and fibers on OCaml 5:
Recursive 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 accepting
Server accepted client
Server accepting
Server read 100
Server wrote 50
Server read 100
Server wrote 50
Client A read 50
Client B read 50
Server and Client test: OK
(cd _build/default/test && ./test_finally.exe)
Testing `Picos_finally'.
This run has ID `OLKNCXV4'.
[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.112s. 2 tests run.
(cd _build/default/test && ./test_io.exe)
Testing `Picos_io'.
This run has ID `I9LJIVI7'.
[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.907s. 6 tests run.
(cd _build/default/test && ./test_structured.exe)
Testing `Picos_structured'.
This run has ID `KCMA29U1'.
[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 2.440s. 14 tests run.
(cd _build/default/test && ./test_io_with_lwt.exe)
Testing `Picos_io_with_lwt'.
This run has ID `4TRKK405'.
[OK] Unix 0 system.
Full test results in `/src/_build/default/test/_build/_tests/Picos_io_with_lwt'.
Test Successful in 2.153s. 1 test run.
(cd _build/default/test && ./test_io_cohttp.exe)
Uri: //127.0.0.1:14474/hello-io-cohttp
Method: POST
host: 127.0.0.1:14474
user-agent: ocaml-cohttp/v6.0.0_beta2
content-length: 17
Body: It's-a-Me, Picos!
(cd _build/default/test && ./test_mpmcq_dscheck.exe)
Testing `Picos_mpmcq DSCheck'.
This run has ID `MVLROLQ6'.
[OK] Multiple pushes and pops 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_mpmcq DSCheck'.
Test Successful in 6.487s. 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 -- Event 0)
Testing `Picos_sync'.
This run has ID `Z5BQBCYN'.
[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.192s. 1 test run.
(cd _build/default/test && ./test_picos_dscheck.exe)
Testing `Picos DSCheck'.
This run has ID `WXHIVM75'.
[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.878s. 3 tests run.
(cd _build/default/lib/picos_std.structured && ./mdx_gen.bc.exe picos_std_structured.mli) > _build/default/lib/picos_std.structured/.mdx/picos_std_structured.mli.corrected
Leaked file descriptor (9).
(cd _build/default/test && ./test_sync.exe -- Lazy 0)
Testing `Picos_sync'.
This run has ID `3OVADM3V'.
[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_sync.exe -- Lazy 1)
Testing `Picos_sync'.
This run has ID `MMVZAZPL'.
[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.001s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Semaphore 0)
Testing `Picos_sync'.
This run has ID `3MF3KGRW'.
[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.004s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Semaphore 1)
Testing `Picos_sync'.
This run has ID `XSGEA6GU'.
[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 1.026s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 0)
Testing `Picos_sync'.
This run has ID `NQV3DVJ4'.
[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.008s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 1)
Testing `Picos_sync'.
This run has ID `K4UO2FUH'.
[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.049s. 1 test run.
(cd _build/default/test && ./test_select.exe)
Testing `Picos_select'.
This run has ID `48BBVT5B'.
[OK] Intr 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_select'.
Test Successful in 47.347s. 1 test run.
(cd _build/default/bench && ./main.exe -brief 'Picos FLS (excluding Current)')
Picos FLS (excluding Current):
time per get/1 worker:
5.62 ns
gets over time/1 worker:
177.94 M/s
time per set/1 worker:
14.08 ns
sets over time/1 worker:
71.04 M/s
time per get/2 workers:
6.07 ns
gets over time/2 workers:
329.36 M/s
time per set/2 workers:
16.72 ns
sets over time/2 workers:
119.61 M/s
time per get/4 workers:
56.74 ns
gets over time/4 workers:
70.49 M/s
time per set/4 workers:
103.07 ns
sets over time/4 workers:
38.81 M/s
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 2)
Testing `Picos_sync'.
This run has ID `VB9KN8PF'.
[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 5.480s. 1 test run.
(cd _build/default/bench && ./main.exe -brief 'Picos TLS')
Picos TLS:
time per get/1 worker:
10.84 ns
gets over time/1 worker:
92.24 M/s
time per set/1 worker:
25.37 ns
sets over time/1 worker:
39.42 M/s
time per get/2 workers:
18.86 ns
gets over time/2 workers:
106.03 M/s
time per set/2 workers:
63.76 ns
sets over time/2 workers:
31.37 M/s
time per get/4 workers:
36.29 ns
gets over time/4 workers:
110.23 M/s
time per set/4 workers:
145.92 ns
sets over time/4 workers:
27.41 M/s
(cd _build/default/test && ./test_picos.exe)
Testing `Picos'.
This run has ID `267LYO7J'.
[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.507s. 7 tests run.
(cd _build/default/test && ./test_mpmcq.exe)
random seed: 4305574097120098495
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Mpmcq sequential
[ ] 0 0 0 0 / 32 0.0s Mpmcq sequential (generating)
[✓] 32 0 0 32 / 32 0.0s Mpmcq sequential
[ ] 0 0 0 0 / 32 0.0s Mpmcq parallel
[ ] 1 0 0 1 / 32 1.6s Mpmcq parallel
[ ] 2 0 0 2 / 32 3.9s Mpmcq parallel
[ ] 3 0 0 3 / 32 6.3s Mpmcq parallel
[ ] 4 0 0 4 / 32 8.0s Mpmcq parallel
[ ] 5 0 0 5 / 32 8.9s Mpmcq parallel
[ ] 6 0 0 6 / 32 11.7s Mpmcq parallel
[ ] 7 0 0 7 / 32 13.9s Mpmcq parallel
[ ] 8 0 0 8 / 32 15.5s Mpmcq parallel
[ ] 9 0 0 9 / 32 17.1s Mpmcq parallel
[ ] 10 0 0 10 / 32 18.6s Mpmcq parallel
[ ] 11 0 0 11 / 32 21.8s Mpmcq parallel
[ ] 12 0 0 12 / 32 24.0s Mpmcq parallel
[ ] 13 0 0 13 / 32 25.8s 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 31.6s Mpmcq parallel
[ ] 17 0 0 17 / 32 33.2s Mpmcq parallel
[ ] 18 0 0 18 / 32 34.3s Mpmcq parallel
[ ] 19 0 0 19 / 32 35.1s Mpmcq parallel
[ ] 20 0 0 20 / 32 36.5s Mpmcq parallel
[ ] 21 0 0 21 / 32 37.6s Mpmcq parallel
[ ] 22 0 0 22 / 32 38.8s Mpmcq parallel
[ ] 23 0 0 23 / 32 43.1s Mpmcq parallel
[ ] 24 0 0 24 / 32 48.0s Mpmcq parallel
[ ] 25 0 0 25 / 32 51.3s Mpmcq parallel
[ ] 26 0 0 26 / 32 54.7s Mpmcq parallel
[ ] 27 0 0 27 / 32 58.9s Mpmcq parallel
[ ] 28 0 0 28 / 32 61.0s Mpmcq parallel
[ ] 29 0 0 29 / 32 63.1s Mpmcq parallel
[ ] 30 0 0 30 / 32 65.2s Mpmcq parallel
[ ] 31 0 0 31 / 32 67.3s Mpmcq parallel
[ ] 32 0 0 32 / 32 69.1s Mpmcq parallel
[✓] 32 0 0 32 / 32 69.1s Mpmcq parallel
================================================================================
success (ran 2 tests)
(cd _build/default/bench && ./main.exe -brief 'Picos DLS')
Picos DLS:
time per get/1 worker:
9.06 ns
gets over time/1 worker:
110.35 M/s
time per set/1 worker:
15.90 ns
sets over time/1 worker:
62.89 M/s
time per get/2 workers:
14.62 ns
gets over time/2 workers:
136.76 M/s
time per set/2 workers:
20.30 ns
sets over time/2 workers:
98.50 M/s
time per get/4 workers:
59.47 ns
gets over time/4 workers:
67.26 M/s
time per set/4 workers:
165.31 ns
sets over time/4 workers:
24.20 M/s
(cd _build/default/test && ./test_schedulers.exe)
Testing `Picos schedulers'.
This run has ID `CM8Q58SS'.
[OK] Trivial main returns 0
[OK] Scheduler completes main computation 0
[OK] Current 0
[OK] Cancel_after 0 basic.
[OK] Cancel_after 1 long timeout.
[OK] Operation on canceled fiber raises 0
[OK] Cross scheduler wakeup 0
[OK] Fatal exception terminates scheduler 0
Full test results in `/src/_build/default/test/_build/_tests/Picos schedulers'.
Test Successful in 66.898s. 8 tests run.
(cd _build/default/test && ./test_htbl.exe)
random seed: 665727113881234426
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.4s Htbl parallel
[ ] 2 0 0 2 / 32 3.8s Htbl parallel
[ ] 3 0 0 3 / 32 5.5s Htbl parallel
[ ] 4 0 0 4 / 32 6.8s Htbl parallel
[ ] 5 0 0 5 / 32 8.8s Htbl parallel
[ ] 6 0 0 6 / 32 10.4s Htbl parallel
[ ] 7 0 0 7 / 32 12.5s Htbl parallel
[ ] 8 0 0 8 / 32 14.5s Htbl parallel
[ ] 9 0 0 9 / 32 17.3s Htbl parallel
[ ] 10 0 0 10 / 32 19.5s Htbl parallel
[ ] 11 0 0 11 / 32 21.6s Htbl parallel
[ ] 12 0 0 12 / 32 23.3s Htbl parallel
[ ] 13 0 0 13 / 32 25.6s Htbl parallel
[ ] 14 0 0 14 / 32 27.7s Htbl parallel
[ ] 15 0 0 15 / 32 29.6s Htbl parallel
[ ] 16 0 0 16 / 32 30.4s Htbl parallel
[ ] 17 0 0 17 / 32 31.5s Htbl parallel
[ ] 18 0 0 18 / 32 32.3s Htbl parallel
[ ] 19 0 0 19 / 32 33.1s Htbl parallel
[ ] 20 0 0 20 / 32 34.5s Htbl parallel
[ ] 21 0 0 21 / 32 35.5s Htbl parallel
[ ] 22 0 0 22 / 32 37.8s Htbl parallel
[ ] 23 0 0 23 / 32 39.0s Htbl parallel
[ ] 24 0 0 24 / 32 40.1s Htbl parallel
[ ] 25 0 0 25 / 32 41.3s Htbl parallel
[ ] 26 0 0 26 / 32 42.2s Htbl parallel
[ ] 27 0 0 27 / 32 43.0s Htbl parallel
[ ] 28 0 0 28 / 32 43.8s Htbl parallel
[ ] 29 0 0 29 / 32 45.1s Htbl parallel
[ ] 30 0 0 30 / 32 46.0s Htbl parallel
[ ] 31 0 0 31 / 32 46.8s Htbl parallel
[ ] 32 0 0 32 / 32 47.9s Htbl parallel
[✓] 32 0 0 32 / 32 47.9s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 1878632068516904146
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Htbl sequential
[✓] 32 0 0 32 / 32 0.0s Htbl sequential
[ ] 0 0 0 0 / 32 0.0s Htbl parallel
[ ] 1 0 0 1 / 32 1.2s Htbl parallel
[ ] 2 0 0 2 / 32 2.9s Htbl parallel
[ ] 3 0 0 3 / 32 4.2s Htbl parallel
[ ] 4 0 0 4 / 32 5.8s Htbl parallel
[ ] 5 0 0 5 / 32 7.5s Htbl parallel
[ ] 6 0 0 6 / 32 9.2s Htbl parallel
[ ] 7 0 0 7 / 32 11.2s Htbl parallel
[ ] 8 0 0 8 / 32 13.3s Htbl parallel
[ ] 9 0 0 9 / 32 15.0s Htbl parallel
[ ] 10 0 0 10 / 32 16.6s Htbl parallel
[ ] 11 0 0 11 / 32 17.9s Htbl parallel
[ ] 12 0 0 12 / 32 20.1s Htbl parallel
[ ] 13 0 0 13 / 32 23.4s Htbl parallel
[ ] 14 0 0 14 / 32 26.2s Htbl parallel
[ ] 15 0 0 15 / 32 27.5s Htbl parallel
[ ] 16 0 0 16 / 32 29.0s Htbl parallel
[ ] 17 0 0 17 / 32 30.7s Htbl parallel
[ ] 18 0 0 18 / 32 31.7s Htbl parallel
[ ] 19 0 0 19 / 32 33.2s Htbl parallel
[ ] 20 0 0 20 / 32 36.0s Htbl parallel
[ ] 21 0 0 21 / 32 37.0s Htbl parallel
[ ] 22 0 0 22 / 32 38.5s Htbl parallel
[ ] 23 0 0 23 / 32 42.1s Htbl parallel
[ ] 24 0 0 24 / 32 44.5s Htbl parallel
[ ] 25 0 0 25 / 32 48.5s Htbl parallel
[ ] 26 0 0 26 / 32 51.8s Htbl parallel
[ ] 27 0 0 27 / 32 56.1s Htbl parallel
[ ] 28 0 0 28 / 32 59.4s Htbl parallel
[ ] 29 0 0 29 / 32 62.0s Htbl parallel
[ ] 30 0 0 30 / 32 65.1s Htbl parallel
[ ] 31 0 0 31 / 32 71.6s Htbl parallel
[ ] 32 0 0 32 / 32 82.7s Htbl parallel
[✓] 32 0 0 32 / 32 82.7s Htbl parallel
================================================================================
success (ran 2 tests)
(cd _build/default/bench && ./main.exe -brief 'Picos Mutex')
Picos Mutex:
time per locked yield/1 fiber:
972.00 ns
locked yields over time/1 fiber:
1.03 M/s
time per locked yield/2 fibers:
2497.15 ns
locked yields over time/2 fibers:
0.40 M/s
time per locked yield/4 fibers:
4406.03 ns
locked yields over time/4 fibers:
0.23 M/s
time per locked yield/8 fibers:
11149.90 ns
locked yields over time/8 fibers:
0.09 M/s
time per locked yield/256 fibers:
13457.55 ns
locked yields over time/256 fibers:
0.07 M/s
time per locked yield/512 fibers:
21597.29 ns
locked yields over time/512 fibers:
0.05 M/s
time per locked yield/1024 fibers:
19372.17 ns
locked yields over time/1024 fibers:
0.05 M/s
time per locked yield/2 domains:
8696.19 ns
locked yields over time/2 domains:
0.23 M/s
time per locked yield/4 domains:
75986.26 ns
locked yields over time/4 domains:
0.05 M/s
time per locked yield/8 domains:
46527348.66 ns
locked yields over time/8 domains:
0.00 M/s
(cd _build/default/test && ./test_mpscq.exe)
random seed: 3284290813552244043
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 4.2s Mpscq parallel
[ ] 2 0 0 2 / 32 8.2s Mpscq parallel
[ ] 3 0 0 3 / 32 14.4s Mpscq parallel
[ ] 4 0 0 4 / 32 23.3s Mpscq parallel
[ ] 5 0 0 5 / 32 30.8s Mpscq parallel
[ ] 6 0 0 6 / 32 35.4s Mpscq parallel
[ ] 7 0 0 7 / 32 41.1s Mpscq parallel
[ ] 8 0 0 8 / 32 49.2s Mpscq parallel
[ ] 9 0 0 9 / 32 56.7s Mpscq parallel
[ ] 10 0 0 10 / 32 65.5s Mpscq parallel
[ ] 11 0 0 11 / 32 74.3s Mpscq parallel
[ ] 12 0 0 12 / 32 81.5s Mpscq parallel
[ ] 13 0 0 13 / 32 88.5s Mpscq parallel
[ ] 14 0 0 14 / 32 98.6s Mpscq parallel
[ ] 15 0 0 15 / 32 108.4s Mpscq parallel
[ ] 16 0 0 16 / 32 114.2s Mpscq parallel
[ ] 17 0 0 17 / 32 121.5s Mpscq parallel
[ ] 18 0 0 18 / 32 134.5s Mpscq parallel
[ ] 19 0 0 19 / 32 146.4s Mpscq parallel
[ ] 20 0 0 20 / 32 156.7s Mpscq parallel
[ ] 21 0 0 21 / 32 167.6s Mpscq parallel
[ ] 22 0 0 22 / 32 177.0s Mpscq parallel
[ ] 23 0 0 23 / 32 185.9s Mpscq parallel
[ ] 24 0 0 24 / 32 191.5s Mpscq parallel
[ ] 25 0 0 25 / 32 197.6s Mpscq parallel
[ ] 26 0 0 26 / 32 202.7s Mpscq parallel
[ ] 27 0 0 27 / 32 205.7s Mpscq parallel
[ ] 28 0 0 28 / 32 209.4s Mpscq parallel
[ ] 29 0 0 29 / 32 215.1s Mpscq parallel
[ ] 30 0 0 30 / 32 223.3s Mpscq parallel
[ ] 31 0 0 31 / 32 227.2s Mpscq parallel
[ ] 32 0 0 32 / 32 232.3s Mpscq parallel
[✓] 32 0 0 32 / 32 232.3s Mpscq parallel
================================================================================
success (ran 2 tests)
(cd _build/default/bench && ./main.exe -brief 'Picos Semaphore')
Picos Semaphore:
time per acquired yield/4 fibers, 1 resource:
24706.48 ns
acquired yields over time/4 fibers, 1 resource:
0.04 M/s
time per acquired yield/4 fibers, 2 resources:
31814.84 ns
acquired yields over time/4 fibers, 2 resources:
0.03 M/s
time per acquired yield/4 fibers, 3 resources:
13250.22 ns
acquired yields over time/4 fibers, 3 resources:
0.08 M/s
time per acquired yield/4 fibers, 4 resources:
341.91 ns
acquired yields over time/4 fibers, 4 resources:
2.92 M/s
time per acquired yield/4 domains, 1 resource:
2735466.74 ns
acquired yields over time/4 domains, 1 resource:
0.00 M/s
time per acquired yield/4 domains, 2 resources:
108387.66 ns
acquired yields over time/4 domains, 2 resources:
0.04 M/s
time per acquired yield/4 domains, 3 resources:
4392.75 ns
acquired yields over time/4 domains, 3 resources:
0.91 M/s
time per acquired yield/4 domains, 4 resources:
1026.57 ns
acquired yields over time/4 domains, 4 resources:
3.90 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos Spawn')
Picos Spawn:
time per spawn/with packed computation:
200.62 ns
spawns over time/with packed computation:
4.98 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos Yield')
Picos Yield:
time per yield/1 fiber:
161.83 ns
yields over time/1 fiber:
6.18 M/s
time per yield/10 fibers:
275.66 ns
yields over time/10 fibers:
3.63 M/s
time per yield/100 fibers:
320.06 ns
yields over time/100 fibers:
3.12 M/s
time per yield/1000 fibers:
450.84 ns
yields over time/1000 fibers:
2.22 M/s
time per yield/10000 fibers:
2068.60 ns
yields over time/10000 fibers:
0.48 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:
26921.86 ns
round-trips over time/1 worker:
0.04 M/s
time per round-trip/2 workers:
19340.74 ns
round-trips over time/2 workers:
0.10 M/s
time per round-trip/4 workers:
55738.26 ns
round-trips over time/4 workers:
0.07 M/s
time per async round-trip/1 worker:
12574.99 ns
async round-trips over time/1 worker:
0.08 M/s
time per async round-trip/2 workers:
24901.60 ns
async round-trips over time/2 workers:
0.08 M/s
time per async round-trip/4 workers:
235651.56 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):
162.13 ns
ops over time/get (checked):
6.17 M/s
time per op/incr (checked):
438.35 ns
ops over time/incr (checked):
2.28 M/s
time per op/push & pop (checked):
511.16 ns
ops over time/push & pop (checked):
1.96 M/s
time per op/cas int (checked):
766.62 ns
ops over time/cas int (checked):
1.30 M/s
time per op/xchg int (checked):
1031.09 ns
ops over time/xchg int (checked):
0.97 M/s
time per op/swap (checked):
858.44 ns
ops over time/swap (checked):
1.16 M/s
time per op/get (unchecked):
154.95 ns
ops over time/get (unchecked):
6.45 M/s
time per op/incr (unchecked):
86.38 ns
ops over time/incr (unchecked):
11.58 M/s
time per op/push & pop (unchecked):
240.49 ns
ops over time/push & pop (unchecked):
4.16 M/s
time per op/cas int (unchecked):
74.11 ns
ops over time/cas int (unchecked):
13.49 M/s
time per op/xchg int (unchecked):
172.42 ns
ops over time/xchg int (unchecked):
5.80 M/s
time per op/swap (unchecked):
105.69 ns
ops over time/swap (unchecked):
9.46 M/s
(cd _build/default/bench && ./main.exe -brief Picos_mpmcq)
Picos_mpmcq:
time per message/one domain:
65.09 ns
messages over time/one domain:
15.36 M/s
time per message/1 nb adder, 1 nb taker:
216.39 ns
messages over time/1 nb adder, 1 nb taker:
9.24 M/s
time per message/1 nb adder, 2 nb takers:
340.10 ns
messages over time/1 nb adder, 2 nb takers:
8.82 M/s
time per message/1 nb adder, 4 nb takers:
631.93 ns
messages over time/1 nb adder, 4 nb takers:
7.91 M/s
time per message/2 nb adders, 1 nb taker:
336.83 ns
messages over time/2 nb adders, 1 nb taker:
8.91 M/s
time per message/2 nb adders, 2 nb takers:
486.37 ns
messages over time/2 nb adders, 2 nb takers:
8.22 M/s
time per message/2 nb adders, 4 nb takers:
716.93 ns
messages over time/2 nb adders, 4 nb takers:
8.37 M/s
time per message/4 nb adders, 1 nb taker:
710.88 ns
messages over time/4 nb adders, 1 nb taker:
7.03 M/s
time per message/4 nb adders, 2 nb takers:
1081.34 ns
messages over time/4 nb adders, 2 nb takers:
5.55 M/s
time per message/4 nb adders, 4 nb takers:
2786.14 ns
messages over time/4 nb adders, 4 nb takers:
2.87 M/s
(cd _build/default/bench && ./main.exe -brief Picos_mpscq)
Picos_mpscq:
time per message/one domain:
60.79 ns
messages over time/one domain:
16.45 M/s
time per message/1 nb adder, 1 nb taker:
102.81 ns
messages over time/1 nb adder, 1 nb taker:
19.45 M/s
time per message/2 nb adders, 1 nb taker:
699.26 ns
messages over time/2 nb adders, 1 nb taker:
4.29 M/s
time per message/4 nb adders, 1 nb taker:
1714.23 ns
messages over time/4 nb adders, 1 nb taker:
2.92 M/s
(cd _build/default/bench && ./main.exe -brief Picos_htbl)
Picos_htbl:
time per operation/1 worker, 10% reads:
167.67 ns
operations over time/1 worker, 10% reads:
5.96 M/s
time per operation/1 worker, 50% reads:
160.60 ns
operations over time/1 worker, 50% reads:
6.23 M/s
time per operation/1 worker, 90% reads:
90.17 ns
operations over time/1 worker, 90% reads:
11.09 M/s
time per operation/2 workers, 10% reads:
411.86 ns
operations over time/2 workers, 10% reads:
4.86 M/s
time per operation/2 workers, 50% reads:
323.62 ns
operations over time/2 workers, 50% reads:
6.18 M/s
time per operation/2 workers, 90% reads:
217.30 ns
operations over time/2 workers, 90% reads:
9.20 M/s
time per operation/4 workers, 10% reads:
1028.35 ns
operations over time/4 workers, 10% reads:
3.89 M/s
time per operation/4 workers, 50% reads:
640.16 ns
operations over time/4 workers, 50% reads:
6.25 M/s
time per operation/4 workers, 90% reads:
354.98 ns
operations over time/4 workers, 90% reads:
11.27 M/s
time per operation/8 workers, 10% reads:
1717.94 ns
operations over time/8 workers, 10% reads:
4.66 M/s
time per operation/8 workers, 50% reads:
1028.80 ns
operations over time/8 workers, 50% reads:
7.78 M/s
time per operation/8 workers, 90% reads:
423.94 ns
operations over time/8 workers, 90% reads:
18.87 M/s
(cd _build/default/bench && ./main.exe -brief Picos_stdio)
Picos_stdio:
time per non-blocking read/1 worker:
1878.86 ns
non-blocking reads over time/1 worker:
0.53 M/s
time per non-blocking read/2 workers:
4862.63 ns
non-blocking reads over time/2 workers:
0.41 M/s
time per non-blocking read/4 workers:
3170.52 ns
non-blocking reads over time/4 workers:
1.26 M/s
time per blocking read/1 worker:
62956.64 ns
blocking reads over time/1 worker:
0.02 M/s
time per blocking read/2 workers:
21634.38 ns
blocking reads over time/2 workers:
0.09 M/s
time per blocking read/4 workers:
18859.99 ns
blocking reads over time/4 workers:
0.21 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos_sync Stream')
Picos_sync Stream:
time per message/one domain:
1397.37 ns
messages over time/one domain:
0.72 M/s
time per message/1 nb pusher, 1 nb reader:
454.54 ns
messages over time/1 nb pusher, 1 nb reader:
4.40 M/s
time per message/2 nb pushers, 1 nb reader:
3936.78 ns
messages over time/2 nb pushers, 1 nb reader:
0.76 M/s
time per message/4 nb pushers, 1 nb reader:
13207.26 ns
messages over time/4 nb pushers, 1 nb reader:
0.38 M/s
(cd _build/default/bench && ./main.exe -brief Fib)
Fib:
time per spawn/1 rando, fib 20:
2107.69 ns
spawns over time/1 rando, fib 20:
0.47 M/s
time per spawn/2 randos, fib 20:
25710.88 ns
spawns over time/2 randos, fib 20:
0.08 M/s
time per spawn/4 randos, fib 20:
116052.70 ns
spawns over time/4 randos, fib 20:
0.03 M/s
time per spawn/8 randos, fib 20:
3648301.94 ns
spawns over time/8 randos, fib 20:
0.00 M/s
time per spawn/1 mfifo, fib 20:
3532.03 ns
spawns over time/1 mfifo, fib 20:
0.28 M/s
time per spawn/2 mfifos, fib 20:
13812.32 ns
spawns over time/2 mfifos, fib 20:
0.14 M/s
time per spawn/4 mfifos, fib 20:
152559.32 ns
spawns over time/4 mfifos, fib 20:
0.03 M/s
time per spawn/8 mfifos, fib 20:
735891.89 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.14 kB
binary size/picos_mux.fifo:
27.11 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:
13.48 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:
473.99 ns
messages over time/one domain:
2.11 M/s
time per message/1 adder, 1 taker:
1276.49 ns
messages over time/1 adder, 1 taker:
1.57 M/s
time per message/1 adder, 2 takers:
11082.38 ns
messages over time/1 adder, 2 takers:
0.27 M/s
time per message/1 adder, 4 takers:
463261.26 ns
messages over time/1 adder, 4 takers:
0.01 M/s
time per message/2 adders, 1 taker:
192959.60 ns
messages over time/2 adders, 1 taker:
0.02 M/s
time per message/2 adders, 2 takers:
10339267.21 ns
messages over time/2 adders, 2 takers:
0.00 M/s
time per message/2 adders, 4 takers:
11726578.10 ns
messages over time/2 adders, 4 takers:
0.00 M/s
time per message/4 adders, 1 taker:
3158319.55 ns
messages over time/4 adders, 1 taker:
0.00 M/s
time per message/4 adders, 2 takers:
32378142.71 ns
messages over time/4 adders, 2 takers:
0.00 M/s
time per message/4 adders, 4 takers:
144147.77 ns
messages over time/4 adders, 4 takers:
0.06 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-18 21:32.01 ---> saved as "325a2f510fa86565bd00bed46066a3c0e895cf70a0012aac7e4695e2ba8b6698"
Job succeeded
2024-09-18 21:41.11: Job succeeded