Checked Span: Address `blink_perf` suites [chromium/src : main]

1 view
Skip to first unread message

chromeperf@appspot.gserviceaccount.com (Gerrit)

unread,
May 21, 2026, 4:12:20 AMMay 21
to Kalvin Lee, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Kentaro Hara, blink-re...@chromium.org
Attention needed from Kalvin Lee

Message from chrom...@appspot.gserviceaccount.com

📍 Job mac-m1_mini_2020-perf/blink_perf.bindings complete.

See results at: https://pinpoint-dot-chromeperf.appspot.com/job/17bdb32e490000

Open in Gerrit

Related details

Attention is currently required from:
  • Kalvin Lee
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I5210413b22ab6e9f7ac90de56059c44ac9d2b7d1
Gerrit-Change-Number: 7838801
Gerrit-PatchSet: 5
Gerrit-Owner: Kalvin Lee <kd...@chromium.org>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-Attention: Kalvin Lee <kd...@chromium.org>
Gerrit-Comment-Date: Thu, 21 May 2026 08:12:11 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

chromeperf@appspot.gserviceaccount.com (Gerrit)

unread,
May 21, 2026, 8:30:35 AMMay 21
to Kalvin Lee, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Kentaro Hara, blink-re...@chromium.org
Attention needed from Kalvin Lee

Message from chrom...@appspot.gserviceaccount.com

📍 Job mac-m1_mini_2020-perf/blink_perf.css complete.

See results at: https://pinpoint-dot-chromeperf.appspot.com/job/120f5582490000

Open in Gerrit

Related details

Attention is currently required from:
  • Kalvin Lee
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I5210413b22ab6e9f7ac90de56059c44ac9d2b7d1
Gerrit-Change-Number: 7838801
Gerrit-PatchSet: 6
Gerrit-Comment-Date: Thu, 21 May 2026 12:30:22 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

chromeperf@appspot.gserviceaccount.com (Gerrit)

unread,
May 22, 2026, 5:25:22 AM (13 days ago) May 22
to Kalvin Lee, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Kentaro Hara, blink-re...@chromium.org
Attention needed from Kalvin Lee

Message from chrom...@appspot.gserviceaccount.com

📍 Job mac-m1_mini_2020-perf/blink_perf.layout complete.

See results at: https://pinpoint-dot-chromeperf.appspot.com/job/10fb3ea6490000

Open in Gerrit

Related details

Attention is currently required from:
  • Kalvin Lee
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I5210413b22ab6e9f7ac90de56059c44ac9d2b7d1
Gerrit-Change-Number: 7838801
Gerrit-PatchSet: 7
Gerrit-Comment-Date: Fri, 22 May 2026 09:25:11 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

chromeperf@appspot.gserviceaccount.com (Gerrit)

unread,
May 22, 2026, 5:31:31 AM (13 days ago) May 22
to Kalvin Lee, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Kentaro Hara, blink-re...@chromium.org
Attention needed from Kalvin Lee

Message from chrom...@appspot.gserviceaccount.com

📍 Job mac-m1_mini_2020-perf/blink_perf.dom complete.

See results at: https://pinpoint-dot-chromeperf.appspot.com/job/12b5b16a490000

Open in Gerrit

Related details

Attention is currently required from:
  • Kalvin Lee
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I5210413b22ab6e9f7ac90de56059c44ac9d2b7d1
Gerrit-Change-Number: 7838801
Gerrit-PatchSet: 7
Gerrit-Owner: Kalvin Lee <kd...@chromium.org>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-Attention: Kalvin Lee <kd...@chromium.org>
Gerrit-Comment-Date: Fri, 22 May 2026 09:31:21 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Kalvin Lee (Gerrit)

unread,
May 25, 2026, 1:27:38 AM (11 days ago) May 25
to chrom...@appspot.gserviceaccount.com, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Kentaro Hara, blink-re...@chromium.org

Kalvin Lee added 1 comment

Patchset-level comments
File-level comment, Patchset 7 (Latest):
Kalvin Lee . resolved

# Exposition on patchset 7

  • `blink_perf.dom` improves somewhat. We should be close to within noise, as a new statistically significant regression comes up, while the order of regressions changes. I think I may have to crack open a babysat lldb run to identify any last Checked Spans.
  • `blink_perf.layout` improves a lot --- we are down to 8 statistically significant regressions (from 21), none over 2%.

For now, I think I'd like to get this set landed so I can continue iterating without carrying around this large delta.

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I5210413b22ab6e9f7ac90de56059c44ac9d2b7d1
Gerrit-Change-Number: 7838801
Gerrit-PatchSet: 7
Gerrit-Owner: Kalvin Lee <kd...@chromium.org>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-Comment-Date: Mon, 25 May 2026 05:27:13 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Kalvin Lee (Gerrit)

unread,
May 25, 2026, 2:45:29 AM (11 days ago) May 25
to Daniel Cheng, Chromium LUCI CQ, chrom...@appspot.gserviceaccount.com, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Kentaro Hara, blink-re...@chromium.org
Attention needed from Daniel Cheng

Kalvin Lee added 1 comment

Patchset-level comments
File-level comment, Patchset 9 (Latest):
Kalvin Lee . resolved

Over to Daniel as a Gerrit-suggested reviewer (and apparently indirect owner of just about every file here).

Open in Gerrit

Related details

Attention is currently required from:
  • Daniel Cheng
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I5210413b22ab6e9f7ac90de56059c44ac9d2b7d1
Gerrit-Change-Number: 7838801
Gerrit-PatchSet: 9
Gerrit-Owner: Kalvin Lee <kd...@chromium.org>
Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
Gerrit-Reviewer: Kalvin Lee <kd...@chromium.org>
Gerrit-Attention: Daniel Cheng <dch...@chromium.org>
Gerrit-Comment-Date: Mon, 25 May 2026 06:44:59 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Daniel Cheng (Gerrit)

unread,
May 29, 2026, 2:15:45 AM (7 days ago) May 29
to Kalvin Lee, Daniel Cheng, Code Review Nudger, Chromium LUCI CQ, chrom...@appspot.gserviceaccount.com, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Kentaro Hara, blink-re...@chromium.org
Attention needed from Kalvin Lee

Daniel Cheng voted and added 1 comment

Votes added by Daniel Cheng

Code-Review+1

1 comment

Patchset-level comments
Daniel Cheng . unresolved

I guess I'm OK with this but I have some overall concerns:

1. Let's try to link some non-Google-internal docs from the CL description for additional context for readers. Let's try to address this before landing; I don't think most of this context needs to be internal only.

2. More generally, where `base::unchecked` gets sprinkled in looks quite arbitrary, and it's easy to get copied and pasted to places it doesn't need (and it seems like it's also easy to introduce small performance regressions/hotspots if we're not careful). That doesn't seem great and it seems like something we'll need to think about for long-term maintainability... I think it's one thing if we just needed it in a few spots; it's another thing to have it spread out over 30+ files (so far, and presumably potentially more in the future).

Open in Gerrit

Related details

Attention is currently required from:
  • Kalvin Lee
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I5210413b22ab6e9f7ac90de56059c44ac9d2b7d1
Gerrit-Change-Number: 7838801
Gerrit-PatchSet: 9
Gerrit-Owner: Kalvin Lee <kd...@chromium.org>
Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
Gerrit-Reviewer: Kalvin Lee <kd...@chromium.org>
Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
Gerrit-Attention: Kalvin Lee <kd...@chromium.org>
Gerrit-Comment-Date: Fri, 29 May 2026 06:15:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Kalvin Lee (Gerrit)

unread,
Jun 2, 2026, 4:34:25 AM (2 days ago) Jun 2
to Daniel Cheng, Code Review Nudger, Chromium LUCI CQ, chrom...@appspot.gserviceaccount.com, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Kentaro Hara, blink-re...@chromium.org

Kalvin Lee voted and added 2 comments

Votes added by Kalvin Lee

Commit-Queue+2

2 comments

Patchset-level comments
File-level comment, Patchset 9:
Daniel Cheng . resolved

I guess I'm OK with this but I have some overall concerns:

1. Let's try to link some non-Google-internal docs from the CL description for additional context for readers. Let's try to address this before landing; I don't think most of this context needs to be internal only.

2. More generally, where `base::unchecked` gets sprinkled in looks quite arbitrary, and it's easy to get copied and pasted to places it doesn't need (and it seems like it's also easy to introduce small performance regressions/hotspots if we're not careful). That doesn't seem great and it seems like something we'll need to think about for long-term maintainability... I think it's one thing if we just needed it in a few spots; it's another thing to have it spread out over 30+ files (so far, and presumably potentially more in the future).

Kalvin Lee

1. Done --- pasted the original design doc into the public explainer. Please let me know if you want anything else.

1. nuskos@ suggested we could (as a precondition to launch) just whack a check for this into the presubmit in the vein of `RAW_PTR_EXCLUSION` and friends. Hopefully that would mostly mitigate.

File-level comment, Patchset 10 (Latest):
Kalvin Lee . resolved

Thanks for reviewing.

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I5210413b22ab6e9f7ac90de56059c44ac9d2b7d1
    Gerrit-Change-Number: 7838801
    Gerrit-PatchSet: 10
    Gerrit-Owner: Kalvin Lee <kd...@chromium.org>
    Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
    Gerrit-Reviewer: Kalvin Lee <kd...@chromium.org>
    Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-Comment-Date: Tue, 02 Jun 2026 08:33:56 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Daniel Cheng <dch...@chromium.org>
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    Jun 2, 2026, 5:40:17 AM (2 days ago) Jun 2
    to Kalvin Lee, Daniel Cheng, Code Review Nudger, chrom...@appspot.gserviceaccount.com, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Kentaro Hara, blink-re...@chromium.org

    Chromium LUCI CQ submitted the change

    Unreviewed changes

    9 is the latest approved patch-set.
    No files were changed between the latest approved patch-set and the submitted one.

    Change information

    Commit message:
    Checked Span: Address `blink_perf` suites

    This change doesn't introduce any behavioral change. The context for
    this CL is given by:
    https://docs.google.com/document/d/1kduT2_nbBMd49_J2K2Jvw9Z6M18itKz6AIS1S7HMocg/edit?tab=t.0
    The linked doc also attaches a public version of the original design
    doc.

    Looking at the alerts that fired when we last tried to enable Checked
    Span in release, `blink_perf` suites are strongly affected.

    This CL opts out spans in several places, particularly `renderer/core/`.
    It's guided by what pprof surfaces when individual `blink_perf` suites
    are run.
    Bug: 501113358
    Change-Id: I5210413b22ab6e9f7ac90de56059c44ac9d2b7d1
    Reviewed-by: Daniel Cheng <dch...@chromium.org>
    Commit-Queue: Kalvin Lee <kd...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1640031}
    Files:
    • M base/containers/vector_buffer.h
    • M mojo/core/channel.cc
    • M mojo/core/ipcz_driver/mojo_message.cc
    • M third_party/blink/renderer/bindings/core/v8/pass_as_span.h
    • M third_party/blink/renderer/bindings/core/v8/serialization/serialized_script_value.cc
    • M third_party/blink/renderer/bindings/core/v8/serialization/serialized_script_value_fuzzer.cc
    • M third_party/blink/renderer/bindings/core/v8/serialization/v8_script_value_deserializer.h
    • M third_party/blink/renderer/bindings/core/v8/v8_code_cache.h
    • M third_party/blink/renderer/bindings/core/v8/v8_wasm_response_extensions.cc
    • M third_party/blink/renderer/bindings/modules/v8/v8_context_snapshot_impl.cc
    • M third_party/blink/renderer/core/css/css_property_value_set.cc
    • M third_party/blink/renderer/core/css/css_property_value_set.h
    • M third_party/blink/renderer/core/css/css_variable_data.h
    • M third_party/blink/renderer/core/css/parser/css_parser_token.h
    • M third_party/blink/renderer/core/css/parser/css_selector_parser.cc
    • M third_party/blink/renderer/core/css/parser/css_selector_parser.h
    • M third_party/blink/renderer/core/dom/element_data.h
    • M third_party/blink/renderer/core/editing/iterators/text_searcher_icu.cc
    • M third_party/blink/renderer/core/html/parser/html_stack_item.h
    • M third_party/blink/renderer/core/inspector/inspector_session_state.cc
    • M third_party/blink/renderer/core/inspector/v8_inspector_string.cc
    • M third_party/blink/renderer/core/inspector/v8_inspector_string.h
    • M third_party/blink/renderer/core/layout/block_break_token.h
    • M third_party/blink/renderer/core/layout/inline/offset_mapping.cc
    • M third_party/blink/renderer/core/typed_arrays/array_buffer/array_buffer_contents.cc
    • M third_party/blink/renderer/core/typed_arrays/array_buffer/array_buffer_contents.h
    • M third_party/blink/renderer/core/typed_arrays/dom_array_buffer_view.h
    • M third_party/blink/renderer/core/typed_arrays/dom_typed_array.h
    • M third_party/blink/renderer/core/xml/parser/xml_document_parser.cc
    • M third_party/blink/renderer/core/xml/xslt_processor_libxslt.cc
    • M third_party/blink/renderer/core/xml/xslt_unicode_sort.cc
    • M third_party/blink/renderer/platform/bindings/source_location.cc
    • M third_party/blink/renderer/platform/wtf/text/atomic_string.cc
    • M third_party/blink/renderer/platform/wtf/text/atomic_string.h
    • M third_party/blink/renderer/platform/wtf/text/atomic_string_table.cc
    • M third_party/blink/renderer/platform/wtf/vector.h
    Change size: M
    Delta: 36 files changed, 125 insertions(+), 95 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Daniel Cheng
    Open in Gerrit
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: merged
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I5210413b22ab6e9f7ac90de56059c44ac9d2b7d1
    Gerrit-Change-Number: 7838801
    Gerrit-PatchSet: 11
    Gerrit-Owner: Kalvin Lee <kd...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
    Gerrit-Reviewer: Kalvin Lee <kd...@chromium.org>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages