File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -73,10 +73,12 @@ The performance tests were conducted on a lightweight server with 2 CPU cores an
73
73
74
74
| Implementation | Producers | Consumers | Completion Time |
75
75
| ----------------| -----------| -----------| -----------------|
76
- | ** tokio-mpmc** | 4 | 4 | 318.360935ms |
77
- | ** tokio::sync::mpsc** | 4 | 1 | 987.390354ms |
78
- | ** tokio-mpmc IO** | 4 | 4 | 4.495057117s |
79
- | ** tokio::sync::mpsc IO** | 4 | 1 | 7.671314196s |
76
+ | ** tokio-mpmc** | 4 | 4 | 360.375444ms |
77
+ | ** flume::bounded** | 4 | 4 | 681.909465ms |
78
+ | ** tokio::sync::mpsc** | 4 | 1 | 966.765734ms |
79
+ | ** tokio-mpmc IO** | 4 | 4 | 4.947700184s |
80
+ | ** flume::bounded IO** | 4 | 4 | 7.535781974s |
81
+ | ** tokio::sync::mpsc IO** | 4 | 1 | 8.144663516s |
80
82
81
83
These results demonstrate the efficiency of tokio-mpmc in handling multiple producers and consumers compared to tokio::sync::mpsc.
82
84
You can’t perform that action at this time.
0 commit comments