You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I've been evaluating methods for fast data transfer between threads in Rust. After benchmark tests, I found that the crossbeam_channel appeared to be the most efficient mechanism in Rust, even outperforming Go channels on initial tests.
However, when introducing data with a delay, I observed that crossbeam_channel was significantly slower than Go channels.
Is there a known reason for this behavior? I would like to understand if there's a way to reduce the delay on data transfer between channels in crossbeam or if there are recommended practices for managing when data has delays.
Thank you for your insights.
The text was updated successfully, but these errors were encountered:
Description:
Hello,
I've been evaluating methods for fast data transfer between threads in Rust. After benchmark tests, I found that the crossbeam_channel appeared to be the most efficient mechanism in Rust, even outperforming Go channels on initial tests.
However, when introducing data with a delay, I observed that crossbeam_channel was significantly slower than Go channels.
Code:
Link to my Rust test code
Link to my Go test code
Benchmark Results:
Rust crossbeam:
Go channels:
Test Environment:
Crossbeam Version: 0.8
Machine: AMD Ryzen 7 5800H
Rust Version:
rustc 1.72.0 (5680fa18f 2023-08-23)
Go Version:
go1.21.1 linux/amd64
Is there a known reason for this behavior? I would like to understand if there's a way to reduce the delay on data transfer between channels in crossbeam or if there are recommended practices for managing when data has delays.
Thank you for your insights.
The text was updated successfully, but these errors were encountered: