2024-09-11 13:30.32: New job: test ocaml-multicore/multicore-bench https://github.com/ocaml-multicore/multicore-bench.git#refs/heads/main (298c5d1e24da82a9640825ef4a68b9aef88daaca) (linux-arm64:debian-12-5.2_arm32_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-5.2@sha256:c759ff3266bbc67d2db6dcef3480d966f5b9173c1113b591944d5f8e77daf93b
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/multicore-bench.git" -b "main" && cd "multicore-bench" && git reset --hard 298c5d1e
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.2@sha256:c759ff3266bbc67d2db6dcef3480d966f5b9173c1113b591944d5f8e77daf93b
# debian-12-5.2_arm32_opam-2.2
USER 1000:1000
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /usr/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 0329818dcfd3de1a722ea09eeeed94cd24caa375 || git fetch origin master) && git reset -q --hard 0329818dcfd3de1a722ea09eeeed94cd24caa375 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 multicore-bench.opam ./
RUN opam pin add -yn multicore-bench.dev './'
ENV DEPS="astring.0.8.5 backoff.0.1.0 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-arm32.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-magic.2.3.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-option-bytecode-only.1 ocaml-options-vanilla.1 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 re.1.12.0 result.1.5 seq.base thread-table.1.0.0 topkg.1.0.7 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y multicore-bench.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-11 13:30.32: Using cache hint "ocaml-multicore/multicore-bench-ocaml/opam:debian-12-ocaml-5.2@sha256:c759ff3266bbc67d2db6dcef3480d966f5b9173c1113b591944d5f8e77daf93b-debian-12-5.2_arm32_opam-2.2-6134eefe9e9e8139626585b4d7ff451e"
2024-09-11 13:30.32: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:c759ff3266bbc67d2db6dcef3480d966f5b9173c1113b591944d5f8e77daf93b)
(comment debian-12-5.2_arm32_opam-2.2)
(user (uid 1000) (gid 1000))
(shell /usr/bin/linux32 /bin/sh -c)
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/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 0329818dcfd3de1a722ea09eeeed94cd24caa375 || git fetch origin master) && git reset -q --hard 0329818dcfd3de1a722ea09eeeed94cd24caa375 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src multicore-bench.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn multicore-bench.dev './'"))
(env DEPS "astring.0.8.5 backoff.0.1.0 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-arm32.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-magic.2.3.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-option-bytecode-only.1 ocaml-options-vanilla.1 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 re.1.12.0 result.1.5 seq.base thread-table.1.0.0 topkg.1.0.7 yojson.2.2.2")
(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 multicore-bench.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-11 13:30.32: Waiting for resource in pool OCluster
2024-09-11 14:19.31: Waiting for worker…
2024-09-11 16:32.30: Got resource from pool OCluster
Building on molpadia.caelum.ci.dev
All commits already cached
HEAD is now at 298c5d1 Add a naïve bounded queue benchmark
(from ocaml/opam:debian-12-ocaml-5.2@sha256:c759ff3266bbc67d2db6dcef3480d966f5b9173c1113b591944d5f8e77daf93b)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.2@sha256:c759ff3266bbc67d2db6dcef3480d966f5b9173c1113b591944d5f8e77daf93b' locally
docker.io/ocaml/opam@sha256:c759ff3266bbc67d2db6dcef3480d966f5b9173c1113b591944d5f8e77daf93b: Pulling from ocaml/opam
a7d514534f7f: Already exists
6abf3fbf9b2d: Pulling fs layer
78d0ec2dce2a: Pulling fs layer
710f4c41c7a3: Pulling fs layer
7dd4bd626ace: Pulling fs layer
6d26907217df: Pulling fs layer
ce24837d4cec: Pulling fs layer
da212adb9fbd: Pulling fs layer
6d26907217df: Waiting
ce24837d4cec: Waiting
da212adb9fbd: Waiting
7dd4bd626ace: Waiting
710f4c41c7a3: Verifying Checksum
710f4c41c7a3: Download complete
78d0ec2dce2a: Verifying Checksum
6abf3fbf9b2d: Verifying Checksum
6abf3fbf9b2d: Download complete
6abf3fbf9b2d: Pull complete
78d0ec2dce2a: Pull complete
710f4c41c7a3: Pull complete
6d26907217df: Download complete
ce24837d4cec: Verifying Checksum
ce24837d4cec: Download complete
da212adb9fbd: Verifying Checksum
da212adb9fbd: Download complete
7dd4bd626ace: Verifying Checksum
7dd4bd626ace: Download complete
7dd4bd626ace: Pull complete
6d26907217df: Pull complete
ce24837d4cec: Pull complete
da212adb9fbd: Pull complete
Digest: sha256:c759ff3266bbc67d2db6dcef3480d966f5b9173c1113b591944d5f8e77daf93b
Status: Downloaded newer image for ocaml/opam@sha256:c759ff3266bbc67d2db6dcef3480d966f5b9173c1113b591944d5f8e77daf93b
WARNING: The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
2024-09-11 16:32.30 ---> using "01745a0110b63cb6933dad93376377695f96e6fc394dfd7faf3cbfb730441038" from cache
/: (comment debian-12-5.2_arm32_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (shell /usr/bin/linux32 /bin/sh -c)
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-09-11 16:32.30 ---> using "e88d2a325cd1b262b1be099c3beffad64793174051055cf6d43891fa2681dfe7" from cache
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from 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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-09-11 16:32.30 ---> using "80b03159597195c45a9dcd03502925236eb4de1330b74bb3d0d87d81787745db" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-119-generic
The OCaml toplevel, version 5.2.0
2.2.1
2024-09-11 16:32.30 ---> using "343836a4a0de71a439d52b6140a1e934b1d0e55c25487eea9e2fd54d2f487237" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-11 16:32.30 ---> using "511717593968fcb22aa00d7ab0f582b562babbd43de0e877abf8c7e38c3ec15c" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 0329818dcfd3de1a722ea09eeeed94cd24caa375 || git fetch origin master) && git reset -q --hard 0329818dcfd3de1a722ea09eeeed94cd24caa375 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
e89899ac28..0329818dcf master -> origin/master
0329818dcf Merge pull request #26527 from dbuenzli/b0-publish-mtime.2.1.0-etc-b00ab5a8b3cb608d
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-09-11 16:32.30 ---> using "8868ae965709079d45271d0f54b2a8da4c12a18474a4884689816a6d627be9e9" from cache
/src: (copy (src multicore-bench.opam) (dst ./))
2024-09-11 16:32.30 ---> saved as "5520ab6e7c0f991851fb83006d50e8056fe9bf243745ee6073fe001d7e0f6cae"
/src: (run (network host)
(shell "opam pin add -yn multicore-bench.dev './'"))
[multicore-bench.dev] synchronised (file:///src)
multicore-bench is now pinned to file:///src (version dev)
2024-09-11 16:32.32 ---> saved as "900075c399646aef7930a3b2c58282224a519dd21d9bfd36c5c7857d27968a55"
/src: (env DEPS "astring.0.8.5 backoff.0.1.0 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.16.0 fmt.0.9.0 host-arch-arm32.1 host-system-other.1 logs.0.7.0 mdx.2.4.1 mtime.2.1.0 multicore-magic.2.3.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-option-bytecode-only.1 ocaml-options-vanilla.1 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 re.1.12.0 result.1.5 seq.base thread-table.1.0.0 topkg.1.0.7 yojson.2.2.2")
/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 multicore-bench.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm/main armhf Packages [8499 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main armhf Packages.diff/Index [11.7 kB]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main armhf Packages [173 kB]
- Get:7 http://deb.debian.org/debian bookworm-updates/main armhf Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1112 B]
- Get:7 http://deb.debian.org/debian bookworm-updates/main armhf Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1112 B]
- Fetched 8939 kB in 1s (6817 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[multicore-bench.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-option-bytecode-only 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-arm32 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).
2024-09-11 16:32.47 ---> saved as "5580141672928b951d66a1843c24b8e950e6eacde1c733e1617fb9cecf545014"
/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-option-bytecode-only 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-arm32 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 23 packages
- install astring 0.8.5
- install backoff 0.1.0
- install camlp-streams 5.0.1
- install cmdliner 1.3.0
- install cppo 1.7.0
- install csexp 1.5.2
- install domain-local-await 1.0.1
- install domain_shims 0.1.0
- install dune 3.16.0
- install fmt 0.9.0
- install logs 0.7.0
- install mdx 2.4.1
- install mtime 2.1.0
- install multicore-magic 2.3.0
- install ocaml-version 3.6.8
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install re 1.12.0
- install result 1.5
- install seq base
- install thread-table 1.0.0
- install topkg 1.0.7
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved backoff.0.1.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved cppo.1.7.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved domain-local-await.1.0.1 (cached)
-> retrieved domain_shims.0.1.0 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved mdx.2.4.1 (cached)
-> retrieved multicore-magic.2.3.0 (cached)
-> retrieved ocaml-version.3.6.8 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved dune.3.16.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved thread-table.1.0.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed mtime.2.1.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed logs.0.7.0
-> installed dune.3.16.0
-> installed domain_shims.0.1.0
-> installed backoff.0.1.0
-> installed csexp.1.5.2
-> installed result.1.5
-> installed ocaml-version.3.6.8
-> installed thread-table.1.0.0
-> installed camlp-streams.5.0.1
-> installed multicore-magic.2.3.0
-> installed domain-local-await.1.0.1
-> installed re.1.12.0
-> installed cppo.1.7.0
-> installed yojson.2.2.2
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-11 16:33.47 ---> saved as "a5b683ed2f035b83966e770644c17daeb25b8423ed6fb89e484ca1535c1b1aa0"
/src: (copy (src .) (dst /src))
2024-09-11 16:33.47 ---> saved as "f7f5503a4cf8d6c4fe01013922f7fd2a6438672a1c41561c5accafc794ebe162"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/bench && ./main.exe -brief)
Atomic:
time per op/get:
37.20 ns
ops over time/get:
26.89 M/s
time per op/incr:
37.97 ns
ops over time/incr:
26.34 M/s
time per op/push & pop:
113.12 ns
ops over time/push & pop:
8.84 M/s
time per op/cas int:
48.64 ns
ops over time/cas int:
20.56 M/s
time per op/xchg int:
45.46 ns
ops over time/xchg int:
22.00 M/s
time per op/swap:
122.02 ns
ops over time/swap:
8.20 M/s
Atomic incr:
time per op/CAS, 1 domains:
73.03 ns
ops over time/CAS, 1 domains:
13.69 M/s
time per op/CAS, 2 domains:
171.96 ns
ops over time/CAS, 2 domains:
11.63 M/s
time per op/CAS, 4 domains:
265.06 ns
ops over time/CAS, 4 domains:
15.09 M/s
time per op/CAS, 8 domains:
305.70 ns
ops over time/CAS, 8 domains:
27.52 M/s
time per op/CAS with backoff, 1 domains:
69.03 ns
ops over time/CAS with backoff, 1 domains:
14.49 M/s
time per op/CAS with backoff, 2 domains:
130.28 ns
ops over time/CAS with backoff, 2 domains:
15.35 M/s
time per op/CAS with backoff, 4 domains:
146.46 ns
ops over time/CAS with backoff, 4 domains:
27.31 M/s
time per op/CAS with backoff, 8 domains:
228.67 ns
ops over time/CAS with backoff, 8 domains:
34.98 M/s
time per op/Incr, 1 domains:
34.06 ns
ops over time/Incr, 1 domains:
29.36 M/s
time per op/Incr, 2 domains:
95.42 ns
ops over time/Incr, 2 domains:
20.96 M/s
time per op/Incr, 4 domains:
130.79 ns
ops over time/Incr, 4 domains:
30.58 M/s
time per op/Incr, 8 domains:
50.88 ns
ops over time/Incr, 8 domains:
157.23 M/s
Bounded_q:
time per message/one domain:
440.25 ns
messages over time/one domain:
2.27 M/s
time per message/1 adder, 1 taker:
1583.62 ns
messages over time/1 adder, 1 taker:
1.26 M/s
time per message/1 adder, 2 takers:
1979.54 ns
messages over time/1 adder, 2 takers:
1.52 M/s
time per message/1 adder, 4 takers:
1839.46 ns
messages over time/1 adder, 4 takers:
2.72 M/s
time per message/2 adders, 1 taker:
1836.26 ns
messages over time/2 adders, 1 taker:
1.63 M/s
time per message/2 adders, 2 takers:
2063.38 ns
messages over time/2 adders, 2 takers:
1.94 M/s
time per message/2 adders, 4 takers:
1807.14 ns
messages over time/2 adders, 4 takers:
3.32 M/s
time per message/4 adders, 1 taker:
1677.82 ns
messages over time/4 adders, 1 taker:
2.98 M/s
time per message/4 adders, 2 takers:
2080.59 ns
messages over time/4 adders, 2 takers:
2.88 M/s
time per message/4 adders, 4 takers:
1713.94 ns
messages over time/4 adders, 4 takers:
4.67 M/s
Hashtbl:
time per operation/one domain, 10% reads:
265.68 ns
operations over time/one domain, 10% reads:
3.76 M/s
time per operation/one domain, 50% reads:
247.40 ns
operations over time/one domain, 50% reads:
4.04 M/s
time per operation/one domain, 90% reads:
217.74 ns
operations over time/one domain, 90% reads:
4.59 M/s
time per operation/1 worker, 10% reads:
312.26 ns
operations over time/1 worker, 10% reads:
3.20 M/s
time per operation/2 workers, 10% reads:
561.50 ns
operations over time/2 workers, 10% reads:
3.56 M/s
time per operation/4 workers, 10% reads:
527.86 ns
operations over time/4 workers, 10% reads:
7.58 M/s
time per operation/8 workers, 10% reads:
544.55 ns
operations over time/8 workers, 10% reads:
14.69 M/s
time per operation/1 worker, 50% reads:
301.67 ns
operations over time/1 worker, 50% reads:
3.32 M/s
time per operation/2 workers, 50% reads:
995.12 ns
operations over time/2 workers, 50% reads:
2.01 M/s
time per operation/4 workers, 50% reads:
1042.77 ns
operations over time/4 workers, 50% reads:
3.84 M/s
time per operation/8 workers, 50% reads:
989.64 ns
operations over time/8 workers, 50% reads:
8.08 M/s
time per operation/1 worker, 90% reads:
271.05 ns
operations over time/1 worker, 90% reads:
3.69 M/s
time per operation/2 workers, 90% reads:
1192.14 ns
operations over time/2 workers, 90% reads:
1.68 M/s
time per operation/4 workers, 90% reads:
1207.57 ns
operations over time/4 workers, 90% reads:
3.31 M/s
time per operation/8 workers, 90% reads:
1228.71 ns
operations over time/8 workers, 90% reads:
6.51 M/s
Queue:
time per message/one domain:
220.32 ns
messages over time/one domain:
4.54 M/s
Ref with Mutex:
time per op/get:
60.86 ns
ops over time/get:
16.43 M/s
time per op/incr:
70.01 ns
ops over time/incr:
14.28 M/s
time per op/push & pop:
77.86 ns
ops over time/push & pop:
12.84 M/s
time per op/cas int:
97.71 ns
ops over time/cas int:
10.23 M/s
time per op/xchg int:
95.25 ns
ops over time/xchg int:
10.50 M/s
time per op/swap:
86.64 ns
ops over time/swap:
11.54 M/s
Ref with [@poll error]:
time per op/get:
31.60 ns
ops over time/get:
31.64 M/s
time per op/incr:
37.47 ns
ops over time/incr:
26.69 M/s
time per op/push & pop:
116.98 ns
ops over time/push & pop:
8.55 M/s
time per op/cas int:
58.30 ns
ops over time/cas int:
17.15 M/s
time per op/xchg int:
47.47 ns
ops over time/xchg int:
21.06 M/s
time per op/swap:
121.94 ns
ops over time/swap:
8.20 M/s
Stack:
time per message/one domain:
178.84 ns
messages over time/one domain:
5.59 M/s
Unix:
time per blocking read/1 worker:
491.09 ns
blocking reads over time/1 worker:
2.04 M/s
time per blocking read/2 workers:
491.35 ns
blocking reads over time/2 workers:
4.07 M/s
time per blocking read/4 workers:
488.63 ns
blocking reads over time/4 workers:
8.19 M/s
2024-09-11 16:33.58 ---> saved as "2cca96d374286dccc14ab84719e18fe54da8f43b78710808bcaa44957a32ce2e"
Job succeeded
2024-09-11 16:33.58: Job succeeded