[roll] Roll fuchsia [setui] Add trait-object fn for storage write

Adds a trait-object version of DeviceStorage::write that is called by
the generic version. This change improves compilation speed and reduces
binary size.

Binary sizes checked after running: fx build garnet/bin/setui
Compile times collected with: time env RUST_BACKTRACE=1
RUST_ICU_MAJOR_VERSION_NUMBER=69 cargo +fuchsia test --no-run --release
--test settings_lib_test

Make write non-generic:
  8646976 Jan  6 17:40 out/default/setui_service
 19149168 Jan  6 17:41 out/default/settings_lib_test
135838880 Jan  6 17:40 out/default/exe.unstripped/setui_service
229738136 Jan  6 17:41 out/default/exe.unstripped/settings_lib_test

550.06s user 29.11s system 337% cpu 2:51.45 total
561.03s user 34.13s system 341% cpu 2:54.22 total
549.23s user 25.87s system 330% cpu 2:54.27 total

Make write and get non-generic (https://fxrev.dev/627471):
  8679744 Jan  6 18:30 out/default/setui_service
 19181936 Jan  6 18:28 out/default/settings_lib_test
136510816 Jan  6 18:30 out/default/exe.unstripped/setui_service
230579368 Jan  6 18:28 out/default/exe.unstripped/settings_lib_test

543.23s user 24.98s system 333% cpu 2:50.43 total
555.10s user 28.79s system 340% cpu 2:51.33 total
557.86s user 32.10s system 336% cpu 2:55.32 total

Baseline (write and get are generic):
  8683840 Jan  6 19:06 out/default/setui_service
 19206512 Jan  6 19:08 out/default/settings_lib_test
135973984 Jan  6 19:06 out/default/exe.unstripped/setui_service
229957672 Jan  6 19:07 out/default/exe.unstripped/settings_lib_test

561.96s user 25.71s system 329% cpu 2:58.33 total
576.25s user 30.80s system 313% cpu 3:13.47 total
563.20s user 26.97s system 336% cpu 2:55.15 total

Original-Fixed: 91101
Test: fx test -o setui_service_tests
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/627470
Original-Revision: a3d274378be6054c3ff1b6076e8dc44a6ce7043f
GitOrigin-RevId: 31546c1ef195a312fa3b4a3673c75906066f8a66
Change-Id: I359cffa55f9dd97e0f0f13fb5ee77b5e5bb76006
1 file changed
tree: b22a83aa5141038b7b5f65ea4ef6eaddca0d48a0
  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
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.