[Vertical Tabs] Add perf metrics for Tabstrip animations [chromium/src : main]

0 views
Skip to first unread message

Tom Lukaszewicz (Gerrit)

unread,
Apr 12, 2026, 6:33:16 PMApr 12
to Eshwar Stalin, Caroline Rising, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, asvitkine...@chromium.org
Attention needed from Caroline Rising and Eshwar Stalin

Tom Lukaszewicz voted and added 2 comments

Votes added by Tom Lukaszewicz

Code-Review+1

2 comments

Patchset-level comments
File-level comment, Patchset 3 (Latest):
Tom Lukaszewicz . resolved

lgtm

File chrome/browser/ui/views/frame/vertical_tab_strip_region_view.h
Line 233, Patchset 3 (Latest): class AnimationPerfReporter : public ui::CompositorObserver {
Tom Lukaszewicz . unresolved

optional: I know we so this with the classes above but would it work to forward declare this in `private:` and move the full declaration and definition into the .cc file? Current approach is file also

Open in Gerrit

Related details

Attention is currently required from:
  • Caroline Rising
  • Eshwar Stalin
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not 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: Ifb73e153ecceb683b2dddf3aa4052238edb261df
Gerrit-Change-Number: 7750653
Gerrit-PatchSet: 3
Gerrit-Owner: Eshwar Stalin <est...@chromium.org>
Gerrit-Reviewer: Caroline Rising <cori...@chromium.org>
Gerrit-Reviewer: Eshwar Stalin <est...@chromium.org>
Gerrit-Reviewer: Tom Lukaszewicz <tl...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-Attention: Caroline Rising <cori...@chromium.org>
Gerrit-Attention: Eshwar Stalin <est...@chromium.org>
Gerrit-Comment-Date: Sun, 12 Apr 2026 22:32:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Caroline Rising (Gerrit)

unread,
Apr 13, 2026, 10:22:38 AMApr 13
to Eshwar Stalin, Tom Lukaszewicz, chromiu...@luci-project-accounts.iam.gserviceaccount.com, Chromium Metrics Reviews, chromium...@chromium.org, asvitkine...@chromium.org
Attention needed from Eshwar Stalin

Caroline Rising voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Eshwar Stalin
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not 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: Ifb73e153ecceb683b2dddf3aa4052238edb261df
Gerrit-Change-Number: 7750653
Gerrit-PatchSet: 3
Gerrit-Owner: Eshwar Stalin <est...@chromium.org>
Gerrit-Reviewer: Caroline Rising <cori...@chromium.org>
Gerrit-Reviewer: Eshwar Stalin <est...@chromium.org>
Gerrit-Reviewer: Tom Lukaszewicz <tl...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-Attention: Eshwar Stalin <est...@chromium.org>
Gerrit-Comment-Date: Mon, 13 Apr 2026 14:22:26 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Eshwar Stalin (Gerrit)

unread,
Apr 20, 2026, 12:53:04 AM (11 days ago) Apr 20
to Dana Fried, Caroline Rising, Thomas Lukaszewicz, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, asvitkine...@chromium.org
Attention needed from Dana Fried

Eshwar Stalin added 1 comment

File chrome/browser/ui/views/frame/vertical_tab_strip_region_view.h
Line 233, Patchset 3 (Latest): class AnimationPerfReporter : public ui::CompositorObserver {
Eshwar Stalin . unresolved

+dfr...@chromium.org I wanted to get some quick performance numbers for VTS animation. Per our discussion last week, would like your help to roll these metrics logging directly into the framework. But until that's available wanted to add this directly to the feature.

Open in Gerrit

Related details

Attention is currently required from:
  • Dana Fried
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not 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: Ifb73e153ecceb683b2dddf3aa4052238edb261df
Gerrit-Change-Number: 7750653
Gerrit-PatchSet: 3
Gerrit-Owner: Eshwar Stalin <est...@chromium.org>
Gerrit-Reviewer: Caroline Rising <cori...@chromium.org>
Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
Gerrit-Reviewer: Eshwar Stalin <est...@chromium.org>
Gerrit-Reviewer: Thomas Lukaszewicz <tl...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-Attention: Dana Fried <dfr...@chromium.org>
Gerrit-Comment-Date: Mon, 20 Apr 2026 04:52:49 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Dana Fried (Gerrit)

unread,
Apr 20, 2026, 8:59:14 AM (11 days ago) Apr 20
to Eshwar Stalin, Caroline Rising, Thomas Lukaszewicz, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, asvitkine...@chromium.org
Attention needed from Eshwar Stalin

Dana Fried added 4 comments

File chrome/browser/ui/views/frame/vertical_tab_strip_region_view.h
Line 256, Patchset 3 (Latest): BrowserAnimationUpdate animation_status_;
const base::TimeDelta total_animation_time_;
Dana Fried . unresolved

Please fix this WARNING reported by ClangTidy: check: modernize-use-default-member-init

use default member initializer for 'an...

check: modernize-use-default-member-init

use default member initializer for 'animation_status_' (https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-default-member-init.html)

(Note: You can add `Skip-Clang-Tidy-Checks: modernize-use-default-member-init` footer to the CL description to skip the check)

(Lint observed on `linux-clang-tidy-rel`, but not on `android-clang-tidy-rel`)

Line 233, Patchset 3 (Latest): class AnimationPerfReporter : public ui::CompositorObserver {
Thomas Lukaszewicz . unresolved

optional: I know we so this with the classes above but would it work to forward declare this in `private:` and move the full declaration and definition into the .cc file? Current approach is file also

Dana Fried

This does seem preferable, since so many things include this file.

Line 233, Patchset 3 (Latest): class AnimationPerfReporter : public ui::CompositorObserver {
Eshwar Stalin . resolved

+dfr...@chromium.org I wanted to get some quick performance numbers for VTS animation. Per our discussion last week, would like your help to roll these metrics logging directly into the framework. But until that's available wanted to add this directly to the feature.

Dana Fried

Acknowledged

File chrome/browser/ui/views/frame/vertical_tab_strip_region_view.cc
Line 883, Patchset 3 (Latest):VerticalTabStripRegionView::AnimationPerfReporter::AnimationPerfReporter(
Dana Fried . unresolved

Is it possible to reuse/share what is being used by side panel instead of copy-pasting code, or would that just be more work?

Open in Gerrit

Related details

Attention is currently required from:
  • Eshwar Stalin
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not 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: Ifb73e153ecceb683b2dddf3aa4052238edb261df
Gerrit-Change-Number: 7750653
Gerrit-PatchSet: 3
Gerrit-Owner: Eshwar Stalin <est...@chromium.org>
Gerrit-Reviewer: Caroline Rising <cori...@chromium.org>
Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
Gerrit-Reviewer: Eshwar Stalin <est...@chromium.org>
Gerrit-Reviewer: Thomas Lukaszewicz <tl...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-Attention: Eshwar Stalin <est...@chromium.org>
Gerrit-Comment-Date: Mon, 20 Apr 2026 12:59:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Eshwar Stalin <est...@chromium.org>
Comment-In-Reply-To: Thomas Lukaszewicz <tl...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Eshwar Stalin (Gerrit)

unread,
Apr 20, 2026, 9:13:29 PM (10 days ago) Apr 20
to Dana Fried, Caroline Rising, Thomas Lukaszewicz, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, asvitkine...@chromium.org
Attention needed from Dana Fried

Eshwar Stalin added 3 comments

File chrome/browser/ui/views/frame/vertical_tab_strip_region_view.h
Line 256, Patchset 3: BrowserAnimationUpdate animation_status_;
const base::TimeDelta total_animation_time_;
Dana Fried . resolved

Please fix this WARNING reported by ClangTidy: check: modernize-use-default-member-init

use default member initializer for 'an...

check: modernize-use-default-member-init

use default member initializer for 'animation_status_' (https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-default-member-init.html)

(Note: You can add `Skip-Clang-Tidy-Checks: modernize-use-default-member-init` footer to the CL description to skip the check)

(Lint observed on `linux-clang-tidy-rel`, but not on `android-clang-tidy-rel`)

Eshwar Stalin

Done

Line 233, Patchset 3: class AnimationPerfReporter : public ui::CompositorObserver {
Thomas Lukaszewicz . resolved

optional: I know we so this with the classes above but would it work to forward declare this in `private:` and move the full declaration and definition into the .cc file? Current approach is file also

Dana Fried

This does seem preferable, since so many things include this file.

Eshwar Stalin

Done

File chrome/browser/ui/views/frame/vertical_tab_strip_region_view.cc
Line 883, Patchset 3:VerticalTabStripRegionView::AnimationPerfReporter::AnimationPerfReporter(
Dana Fried . resolved

Is it possible to reuse/share what is being used by side panel instead of copy-pasting code, or would that just be more work?

Eshwar Stalin

I think we eventually want to move this into the animation controller framework and eliminate this. So that's how we can clean this up. But this is interim until that is available.

Open in Gerrit

Related details

Attention is currently required from:
  • Dana Fried
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not 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: Ifb73e153ecceb683b2dddf3aa4052238edb261df
    Gerrit-Change-Number: 7750653
    Gerrit-PatchSet: 4
    Gerrit-Owner: Eshwar Stalin <est...@chromium.org>
    Gerrit-Reviewer: Caroline Rising <cori...@chromium.org>
    Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
    Gerrit-Reviewer: Eshwar Stalin <est...@chromium.org>
    Gerrit-Reviewer: Thomas Lukaszewicz <tl...@chromium.org>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
    Gerrit-Attention: Dana Fried <dfr...@chromium.org>
    Gerrit-Comment-Date: Tue, 21 Apr 2026 01:13:19 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Dana Fried <dfr...@chromium.org>
    Comment-In-Reply-To: Thomas Lukaszewicz <tl...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Dana Fried (Gerrit)

    unread,
    Apr 21, 2026, 3:18:07 PM (9 days ago) Apr 21
    to Eshwar Stalin, Caroline Rising, Thomas Lukaszewicz, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, asvitkine...@chromium.org
    Attention needed from Eshwar Stalin

    Dana Fried voted Code-Review+1

    Code-Review+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Eshwar Stalin
    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: Ifb73e153ecceb683b2dddf3aa4052238edb261df
    Gerrit-Change-Number: 7750653
    Gerrit-PatchSet: 4
    Gerrit-Owner: Eshwar Stalin <est...@chromium.org>
    Gerrit-Reviewer: Caroline Rising <cori...@chromium.org>
    Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
    Gerrit-Reviewer: Eshwar Stalin <est...@chromium.org>
    Gerrit-Reviewer: Thomas Lukaszewicz <tl...@chromium.org>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
    Gerrit-Attention: Eshwar Stalin <est...@chromium.org>
    Gerrit-Comment-Date: Tue, 21 Apr 2026 19:17:56 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Eshwar Stalin (Gerrit)

    unread,
    Apr 21, 2026, 4:28:15 PM (9 days ago) Apr 21
    to Dana Fried, Caroline Rising, Thomas Lukaszewicz, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, asvitkine...@chromium.org

    Eshwar Stalin voted Commit-Queue+2

    Commit-Queue+2
    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: Ifb73e153ecceb683b2dddf3aa4052238edb261df
    Gerrit-Change-Number: 7750653
    Gerrit-PatchSet: 4
    Gerrit-Owner: Eshwar Stalin <est...@chromium.org>
    Gerrit-Reviewer: Caroline Rising <cori...@chromium.org>
    Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
    Gerrit-Reviewer: Eshwar Stalin <est...@chromium.org>
    Gerrit-Reviewer: Thomas Lukaszewicz <tl...@chromium.org>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
    Gerrit-Comment-Date: Tue, 21 Apr 2026 20:28:08 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    Apr 21, 2026, 6:39:47 PM (9 days ago) Apr 21
    to Eshwar Stalin, Dana Fried, Caroline Rising, Thomas Lukaszewicz, Chromium Metrics Reviews, chromium...@chromium.org, asvitkine...@chromium.org

    Chromium LUCI CQ submitted the change

    Change information

    Commit message:
    [Vertical Tabs] Add perf metrics for Tabstrip animations

    Adding performance metrics for the different Tabstrip animations
    Bug: 501743908
    Change-Id: Ifb73e153ecceb683b2dddf3aa4052238edb261df
    Reviewed-by: Dana Fried <dfr...@chromium.org>
    Reviewed-by: Thomas Lukaszewicz <tl...@chromium.org>
    Commit-Queue: Eshwar Stalin <est...@chromium.org>
    Reviewed-by: Caroline Rising <cori...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1618503}
    Files:
    • M chrome/browser/ui/views/frame/vertical_tab_strip_region_view.cc
    • M chrome/browser/ui/views/frame/vertical_tab_strip_region_view.h
    • M tools/metrics/histograms/metadata/tab/histograms.xml
    Change size: M
    Delta: 3 files changed, 117 insertions(+), 3 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Dana Fried, +1 by Thomas Lukaszewicz, +1 by Caroline Rising
    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: Ifb73e153ecceb683b2dddf3aa4052238edb261df
    Gerrit-Change-Number: 7750653
    Gerrit-PatchSet: 5
    Gerrit-Owner: Eshwar Stalin <est...@chromium.org>
    Gerrit-Reviewer: Caroline Rising <cori...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
    Gerrit-Reviewer: Eshwar Stalin <est...@chromium.org>
    Gerrit-Reviewer: Thomas Lukaszewicz <tl...@chromium.org>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages