[roll] Roll fuchsia [audio_core] Optimizations to squeeze out a bit more performance

Optimizations:

1. Logging is not free: even when the log level is disabled (such as
   TRACE), the log message is still constructed. Hence, every log
   statement on the critical path should be wrapped with a constexpr
   guard.

2. Avoid some duplicate computation in MixStage::ForEachStream.

3. In stream2::ReadableStream::Trim, don't call TrimImpl unless we are
   trimming something new.

This improves output pipeline benchmarks on nelson by about 3% over ToT,
but the follow-up CL (fxrev.dev/478521) improves by 25%-30%. After this
CL, fxrev.dev/478521 is still slower than ToT, but only by about 10%.
I believe the remaining 10% comes from repeated calls to

Also, fix a small bug that got accidentally added to the last patchset
of fxrev.dev/639969.

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/651006
Original-Revision: ac73e29369e485dcf44c74d0b0ab7fd9adddb134
GitOrigin-RevId: 8df2778a321e2f9a0d2aff5a74b4ca04945727c4
Change-Id: I2a978a63b0446403c47af96d0c3d8d0041627eb0
1 file changed
tree: d475d90416cfb4bd1f4b82bb35f6b8de5a950e77
  1. infra/
  2. third_party/
  3. cts
  4. firmware
  5. flower
  6. jiri.lock
  7. minimal
  8. prebuilts
  9. README.md
  10. stem
  11. test_durations
  12. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.