commit | c6e09f4e3116f37f89bc247d8fdc5fee3ab60053 | [log] [tgz] |
---|---|---|
author | Daniel Cheng <dcheng@chromium.org> | Thu May 08 22:26:47 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 08 22:26:47 2025 |
tree | 472635920dba807530746893387afbb5aad74ff0 | |
parent | c33caba78d9099d16d2b4ab7b87685d1dced38ca [diff] |
UpdateManifestFetcher: remove dependency on data decoder's JSON parser JSON parsing is backed by Rust now and is considered memory-safe for the rule of 2. This moves the JSON parsing in-process and removes the need for callbacks to parse JSON. Unlike before, the JSON parsing is now synchronous; this is based on performance data gathered while launching the Rust JSON parser. In general, the overhead of posting a task vastly outweighs the cost of synchronously parsing the JSON. Bug: 415079996 Bug: 416086602 Change-Id: I6bf20ca4f4f80edb2759dfbd14c9537386774519 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6518636 Commit-Queue: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Robbie McElrath <rmcelrath@chromium.org> Cr-Commit-Position: refs/heads/main@{#1457860}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.