rust-av/av-metrics

Use async-await on metrics

Luni-4 opened this issue · 2 comments

Since the async-await construct is now stable on Rust, it would be helpful to use it on metrics in order to speed up their computation.

@shssoichiro

Is this still relevant for av-metrics?

I'm not sure that there's a need for this. async normally is better for applications with many small parallel tasks, like web requests. Given that we parallelize on the frame level, our current implementation with crossbeam and rayon is probably fine and async would be overkill and probably give minimal benefits.