Created
November 29, 2019 10:12
-
-
Save jamesmunns/470c37a3920c9fa7e1d0b78641180325 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
james@archx1c6g ➜ spsc-bip-buffer git:(master) cargo +master run --release --example perf --features nightly_perf_example -- 0 2 255 16384 100000 true | |
Finished release [optimized] target(s) in 0.01s | |
Running `/tmp/.cargo-build-cache/release/examples/perf 0 2 255 16384 100000 true` | |
sender done | |
receiver done | |
elapsed (nanos) bytes msgs bytes/s msgs/s | |
2363048796 3264000000 12800000 1381266440.8475463 5416731.140578614 | |
reserve and send: | |
╭ 6.200000e1 8.400000e1 9.200000e1 1.120000e2 1.600000e2 2.080000e2 2.949120e5 ╮ | |
╰ [ 0.25 0.5 0.75 ]--- 0.95 ------- 0.99 ------- 0.999 -------| max ╯ | |
james@archx1c6g ➜ spsc-bip-buffer git:(master) python | |
Python 3.7.4 (default, Oct 4 2019, 06:57:26) | |
[GCC 9.2.0] on linux | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> 1381266440.8475463 / 1024 | |
1348893.008640182 | |
>>> _ / 1024 | |
1317.2783287501777 | |
>>> _ / 1024 | |
1.2864046179200954 | |
>>> | |
james@archx1c6g ➜ spsc-bip-buffer git:(master) cargo +master run --release --example perf --features nightly_perf_example -- 0 2 8192 65536 100000 true | |
Finished release [optimized] target(s) in 0.01s | |
Running `/tmp/.cargo-build-cache/release/examples/perf 0 2 8192 65536 100000 true` | |
sender done | |
receiver done | |
elapsed (nanos) bytes msgs bytes/s msgs/s | |
54267709873 104857600000 12800000 1932228211.6822872 235867.70162137295 | |
reserve and send: | |
╭ 5.120000e2 5.440000e2 5.760000e2 6.080000e2 6.720000e2 1.600000e3 3.604480e5 ╮ | |
╰ [ 0.25 0.5 0.75 ]--- 0.95 ------- 0.99 ------- 0.999 -------| max ╯ | |
james@archx1c6g ➜ spsc-bip-buffer git:(master) python | |
Python 3.7.4 (default, Oct 4 2019, 06:57:26) | |
[GCC 9.2.0] on linux | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> 1932228211.6822872 / 1024 | |
1886941.6129709836 | |
>>> _ / 1024 | |
1842.7164189169762 | |
>>> _ / 1024 | |
1.7995277528486096 |
Author
jamesmunns
commented
Nov 29, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment