chadnickbok / librtcdcpp

A simple WebRTC DataChannels library
BSD 3-Clause "New" or "Revised" License
158 stars 41 forks source link

Performance? #38

Open ClosetGeek-Git opened 6 years ago

ClosetGeek-Git commented 6 years ago

I was able to get librtcdcpp compiled, but before I dive in too deep I was curious of librtcdcpp's general performance. Obviously a lot of local variables can come into play, but are there any specific issues that I should prepare for?

ClosetGeek-Git commented 6 years ago

I ask because using librtcdc took approx 10 seconds to send single messages. What's the (general) performance if librtcdcpp?

mo3rfan commented 6 years ago

I did a throughput stress test (localhost) on a modified version of this library. While I did not test latency for a single message, here are my findings. The version here might be even faster.

ClosetGeek-Git commented 6 years ago

Thank you @mo3rfan. I'm looking that over now