Skip to content

Instantly share code, notes, and snippets.

@colesbury
Last active October 11, 2021 21:29
Show Gist options
  • Save colesbury/c0b89f82e51779670265fb7c7cd37114 to your computer and use it in GitHub Desktop.
Save colesbury/c0b89f82e51779670265fb7c7cd37114 to your computer and use it in GitHub Desktop.
== CPython 3.11.0a1+ (heads/main:b108db63e0) ==
== x86_64 Linux on 'x86_64' ==
--- Throughput ---
Pi calculation (Python)
threads=1: 1576 iterations/s.
threads=2: 1549 ( 98 %)
threads=3: 1545 ( 98 %)
threads=4: 1550 ( 98 %)
regular expression (C)
threads=1: 518 iterations/s.
threads=2: 505 ( 97 %)
threads=3: 498 ( 96 %)
threads=4: 503 ( 97 %)
bz2 compression (C)
threads=1: 559 iterations/s.
threads=2: 1117 ( 199 %)
threads=3: 1655 ( 296 %)
threads=4: 2208 ( 395 %)
--- Latency ---
Background CPU task: Pi calculation (Python)
CPU threads=0: 0 ms. (std dev: 0 ms.)
CPU threads=1: 4 ms. (std dev: 1 ms.)
CPU threads=2: 135 ms. (std dev: 99 ms.)
CPU threads=3: 312 ms. (std dev: 252 ms.)
CPU threads=4: 222 ms. (std dev: 204 ms.)
Background CPU task: regular expression (C)
CPU threads=0: 0 ms. (std dev: 0 ms.)
CPU threads=1: 6 ms. (std dev: 1 ms.)
CPU threads=2: 3 ms. (std dev: 2 ms.)
CPU threads=3: 6 ms. (std dev: 4 ms.)
CPU threads=4: 9 ms. (std dev: 7 ms.)
Background CPU task: bz2 compression (C)
CPU threads=0: 0 ms. (std dev: 0 ms.)
CPU threads=1: 0 ms. (std dev: 0 ms.)
CPU threads=2: 0 ms. (std dev: 0 ms.)
CPU threads=3: 0 ms. (std dev: 0 ms.)
CPU threads=4: 0 ms. (std dev: 0 ms.)
--- I/O bandwidth ---
Background CPU task: Pi calculation (Python)
CPU threads=0: 30339.0 packets/s.
CPU threads=1: 97.6 ( 0 %)
CPU threads=2: 72.3 ( 0 %)
CPU threads=3: 88.4 ( 0 %)
CPU threads=4: 59.1 ( 0 %)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment