Skip to content

Instantly share code, notes, and snippets.

@Matthias247
Created September 9, 2019 06:34
Show Gist options
  • Save Matthias247/fbdd66ae096cda2c7ca7848613d61d01 to your computer and use it in GitHub Desktop.
Save Matthias247/fbdd66ae096cda2c7ca7848613d61d01 to your computer and use it in GitHub Desktop.
Channel benchmark results
Channels (Single Threaded)/intrusive local channel with producers/5
time: [31.879 us 36.663 us 45.492 us]
Channels (Single Threaded)/intrusive local channel with producers/20
time: [25.602 us 25.952 us 26.363 us]
Channels (Single Threaded)/intrusive local channel with producers/100
time: [58.846 us 62.851 us 66.238 us]
Channels (Single Threaded)/intrusive channel with producers/5
time: [37.125 us 37.235 us 37.315 us]
Channels (Single Threaded)/intrusive channel with producers/20
time: [69.708 us 82.663 us 96.711 us]
Channels (Single Threaded)/intrusive channel with producers/100
time: [80.304 us 80.534 us 80.849 us]
Channels (Single Threaded)/intrusive unbuffered channel with producers/5
time: [64.248 us 66.039 us 68.409 us]
Channels (Single Threaded)/intrusive unbuffered channel with producers/20
time: [61.829 us 62.725 us 64.141 us]
Channels (Single Threaded)/intrusive unbuffered channel with producers/100
time: [91.499 us 97.857 us 106.66 us]
Channels (Single Threaded)/futures::channel::mpsc with producers/5
time: [89.050 us 90.649 us 92.730 us]
Channels (Single Threaded)/futures::channel::mpsc with producers/20
time: [116.93 us 118.28 us 119.48 us]
Channels (Single Threaded)/futures::channel::mpsc with producers/100
time: [203.43 us 204.67 us 206.37 us]
Channels (Single Threaded)/tokio::sync::mpsc with producers/5
time: [47.532 us 47.666 us 47.838 us]
Channels (Single Threaded)/tokio::sync::mpsc with producers/20
time: [80.170 us 80.799 us 81.531 us]
Channels (Single Threaded)/tokio::sync::mpsc with producers/100
time: [197.23 us 199.46 us 203.34 us]
Channels (Thread per producer)/intrusive channel with producers/5
time: [504.42 us 535.29 us 568.63 us]
Channels (Thread per producer)/intrusive channel with producers/20
time: [997.40 us 1.0217 ms 1.0552 ms]
Channels (Thread per producer)/intrusive channel with producers/100
time: [4.7063 ms 5.1097 ms 5.7150 ms]
Channels (Thread per producer)/intrusive unbuffered channel with producers/5
time: [2.2573 ms 2.3347 ms 2.4346 ms]
Channels (Thread per producer)/intrusive unbuffered channel with producers/20
time: [2.9902 ms 4.0008 ms 5.1686 ms]
Channels (Thread per producer)/intrusive unbuffered channel with producers/100
time: [5.0613 ms 5.1386 ms 5.2018 ms]
Channels (Thread per producer)/futures::channel::mpsc with producers/5
time: [1.2427 ms 1.4839 ms 1.6714 ms]
Channels (Thread per producer)/futures::channel::mpsc with producers/20
time: [2.1096 ms 2.3408 ms 2.5298 ms]
Channels (Thread per producer)/futures::channel::mpsc with producers/100
time: [4.1518 ms 4.4036 ms 4.6464 ms]
Channels (Thread per producer)/tokio::sync::mpsc with producers/5
time: [632.37 us 741.96 us 828.37 us]
Channels (Thread per producer)/tokio::sync::mpsc with producers/20
time: [1.7852 ms 1.9045 ms 2.1048 ms]
Channels (Thread per producer)/tokio::sync::mpsc with producers/100
time: [3.6762 ms 3.7561 ms 3.8580 ms]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment