elfo-rs / elfo

An asynchronous distributed actor framework in Rust with robust observability
265 stars 16 forks source link

Measure time of handling `TryRecvError::Empty` #64

Closed loyd closed 2 years ago

loyd commented 2 years ago

Actors can handle TryRecvError::Empty and spent time in handling aren't considered in elfo_message_handling_time. Thus, the utilization metrics cannot be calculated right way for such actors.