--
You received this message because you are subscribed to the Google Groups "media-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to media-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/media-dev/64fa1529-1e9e-4a4a-75a2-8ce60f5d2744%40gmail.com.
I was able to lower the AudioInputDevice thread's CPU usage by disabling a series of audio processing stages through the WebRTC media constraints. I also used the devtools for remote profiling. However, while those indicate a large amount of activity in WebRTC_Network, the tasks in that thread are opaque - no details are given.
I did add the extra flags to args.gn as indicated in
https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/profiling.md#General-checkout-setup
, except the tcmalloc (it caused segfaults) and
blink_symbol_level=2 (I set it to 1, otherwise ld would complain
with "ELF section name out of range"). Unfortunately, this did not
help - the WebRTC_Network tasks are still opaque. Is the remote
devtool even the proper tool for this? My next attempt would be
with perf, but I do not know if perf support is still up to date.