microsoft / onefuzz

A self-hosted Fuzzing-As-A-Service platform
MIT License
2.82k stars 199 forks source link

Make the coverage save function async #3419

Open chkeita opened 1 year ago

chkeita commented 1 year ago
          It might be worthwhile (as a forever backlog feature) to add `AsyncWrite` support for `write_xml`, that way we can use tokio's `BufWriter`. I'm not sure how much time we spend blocking the thread to write these coverage files but I guess if they get big enough there's some value there. Especially since we write the file every time we merge the coverage which I think is on every input processed?

_Originally posted by @tevoinea in https://github.com/microsoft/onefuzz/pull/3410#discussion_r1294603223_

AB#164551