tonarino / actor

A minimalist actor framework aiming for high performance and simplicity.
MIT License
39 stars 6 forks source link

Add a benchmark #16

Closed skywhale closed 1 year ago

skywhale commented 3 years ago
strohel commented 3 years ago

Perhaps one of the examples could be adapted as a simple benchmark. Sending one small message across the system to measure latency. Send a longer stream of bigger messages, measure the total time as a proxy to throughput.

Challenge: benchmark the crate itself rather than crossbeam, and OS CPU scheduler (due to the thread-based architecture).

mcginty commented 3 years ago

Added a simple benchmark suite in 6bbed84f7ba60243cf94df70f0a2f3ab43807e4d, but I think it's still probably flawed and could use some more attention if we want to take the numbers seriously.

strohel commented 1 year ago

Let's call this done, we now have various actor "shape" benches plus a pub/sub bench.