compute pressure: Add ownContributionEstimate [devtools/devtools-frontend : main]

8 views
Skip to first unread message

Arnaud Mandy (Gerrit)

unread,
Jun 2, 2025, 2:55:41 AMJun 2
to Alex Rudenko, Devtools-frontend LUCI CQ, AyeAye, devtools-rev...@chromium.org
Attention needed from Alex Rudenko

Arnaud Mandy added 3 comments

Patchset-level comments
File-level comment, Patchset 4 (Latest):
Arnaud Mandy . unresolved

I couldn't find a very good solution here, and typescript is not my main strength.

I wanted to have a slider that would trigger a CDP call, through emulationModel.
like we did with the pressure state.

When the slider value is changed (here, let s have a 1s gap to avoid updates for each value) then it will trigger an event on EmulationModel and then we call the CDP function.

I couldn't find a proper implementation for the slider. If someone would have a suggestion, I would be happy to hear it.

Thanks

File front_end/panels/sensors/SensorsView.ts
Line 536, Patchset 4 (Latest):
Arnaud Mandy . unresolved

Actually, here I would be interested to have like the "cpu-pressure" state above (line 523), a trigger, that would trigger directly a call on EmulationModel.

How can I do that with a slider? I didn't find any example.

Line 545, Patchset 4 (Latest): for (const emulationModel of SDK.TargetManager.TargetManager.instance().models(
Arnaud Mandy . unresolved

This should be applied only to the current emulationModel, not on all the tabs.
That is also something I didn't find a solution for. Would you have a suggestion?

Open in Gerrit

Related details

Attention is currently required from:
  • Alex Rudenko
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff
Gerrit-Change-Number: 6605671
Gerrit-PatchSet: 4
Gerrit-Owner: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
Gerrit-Reviewer: Arnaud Mandy <arnaud...@intel.com>
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Attention: Alex Rudenko <alexr...@chromium.org>
Gerrit-Comment-Date: Mon, 02 Jun 2025 06:55:37 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Arnaud Mandy (Gerrit)

unread,
Jun 2, 2025, 2:56:00 AMJun 2
to devtools...@chromium.org
Attention needed from Alex Rudenko and devtools...@chromium.org

Arnaud Mandy has uploaded the change for review

Arnaud Mandy would like devtools...@chromium.org to review this change.

Commit message

compute pressure: Add ownContributionEstimate

Adding ownContributionEstimate slider and also using
setPressureDataOverride instead of setPressureStateOverride
to pass state and also own contribution estimate value.
Bug: 421125375
Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff

Change diff


Change information

Files:
  • M front_end/core/sdk/EmulationModel.ts
  • M front_end/panels/sensors/SensorsView.ts
Change size: M
Delta: 2 files changed, 52 insertions(+), 2 deletions(-)
Open in Gerrit

Related details

Attention is currently required from:
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newchange
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff
Gerrit-Change-Number: 6605671
Gerrit-PatchSet: 4
Gerrit-Owner: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
Gerrit-Reviewer: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: devtools...@chromium.org
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Attention: Alex Rudenko <alexr...@chromium.org>
Gerrit-Attention: devtools...@chromium.org
unsatisfied_requirement
open
diffy

Alex Rudenko (Gerrit)

unread,
Jun 2, 2025, 3:35:34 AMJun 2
to Arnaud Mandy, Jack Franklin, devtools...@chromium.org, Devtools-frontend LUCI CQ, AyeAye, devtools-rev...@chromium.org
Attention needed from Arnaud Mandy, Jack Franklin and devtools...@chromium.org

Alex Rudenko added 1 comment

Patchset-level comments
Alex Rudenko . resolved

@jacktf...@chromium.org could you please review?

Open in Gerrit

Related details

Attention is currently required from:
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff
Gerrit-Change-Number: 6605671
Gerrit-PatchSet: 4
Gerrit-Owner: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Jack Franklin <jacktf...@chromium.org>
Gerrit-Attention: Jack Franklin <jacktf...@chromium.org>
Gerrit-Attention: devtools...@chromium.org
Gerrit-Attention: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Comment-Date: Mon, 02 Jun 2025 07:35:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Jack Franklin (Gerrit)

unread,
Jun 2, 2025, 4:02:15 AMJun 2
to Arnaud Mandy, devtools...@chromium.org, Devtools-frontend LUCI CQ, AyeAye, devtools-rev...@chromium.org
Attention needed from Arnaud Mandy and devtools...@chromium.org

Jack Franklin added 1 comment

Patchset-level comments
Jack Franklin . resolved

Hey, thanks for this CL. Is there a design doc / bug with more context on exactly what this feature is? The attached bug doesn't have much description. I'd like to make sure I understand the feature and why it's needed before reviewing properly. Thanks!

Open in Gerrit

Related details

Attention is currently required from:
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff
Gerrit-Change-Number: 6605671
Gerrit-PatchSet: 4
Gerrit-Owner: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Jack Franklin <jacktf...@chromium.org>
Gerrit-Reviewer: devtools...@chromium.org
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Attention: devtools...@chromium.org
Gerrit-Attention: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Comment-Date: Mon, 02 Jun 2025 08:02:11 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Arnaud Mandy (Gerrit)

unread,
Jun 2, 2025, 4:17:15 AMJun 2
to Arnaud Mandy, Jack Franklin, devtools...@chromium.org, Devtools-frontend LUCI CQ, AyeAye, devtools-rev...@chromium.org
Attention needed from Arnaud Mandy and devtools...@chromium.org

Arnaud Mandy added 1 comment

Patchset-level comments
Jack Franklin . unresolved

Hey, thanks for this CL. Is there a design doc / bug with more context on exactly what this feature is? The attached bug doesn't have much description. I'd like to make sure I understand the feature and why it's needed before reviewing properly. Thanks!

Arnaud Mandy

Sure, I fully understand!
I think, the only document we have is this:

https://w3c.github.io/compute-pressure/?experimental=1#dfn-owncontributionestimate
https://w3c.github.io/compute-pressure/?experimental=1#update-virtual-pressure-source

I ll try to explain briefly in a document later and share it with you.

Open in Gerrit

Related details

Attention is currently required from:
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff
Gerrit-Change-Number: 6605671
Gerrit-PatchSet: 4
Gerrit-Owner: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Jack Franklin <jacktf...@chromium.org>
Gerrit-Reviewer: devtools...@chromium.org
Gerrit-CC: Arnaud Mandy <arnaud...@gmail.com>
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Attention: devtools...@chromium.org
Gerrit-Attention: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Comment-Date: Mon, 02 Jun 2025 08:17:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Jack Franklin <jacktf...@chromium.org>
unsatisfied_requirement
open
diffy

fabian athayde (Gerrit)

unread,
Jun 2, 2025, 4:23:46 AMJun 2
to Arnaud Mandy, Arnaud Mandy, Jack Franklin, devtools...@chromium.org, Devtools-frontend LUCI CQ, AyeAye, devtools-rev...@chromium.org
Attention needed from Arnaud Mandy and devtools...@chromium.org

fabian athayde added 1 comment

Message

On Mon, Jun 2, 2025, 3:17 AM Arnaud Mandy (Gerrit) <noreply-gerritcodereview+kRHynMC6C5486BCA920FQQ==@> wrote: chromium.org

1 comment

Patchset-level comments
fabian athayde . resolved

On Mon, Jun 2, 2025, 3:17 AM Arnaud Mandy (Gerrit) <noreply-gerritcodereview+kRHynMC6C5486BCA920FQQ==@> wrote: chromium.org

Gerrit-Comment-Date: Mon, 02 Jun 2025 08:23:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Arnaud Mandy (Gerrit)

unread,
Jun 2, 2025, 7:24:46 AMJun 2
to Arnaud Mandy, Jack Franklin, devtools...@chromium.org, Devtools-frontend LUCI CQ, AyeAye, devtools-rev...@chromium.org
Attention needed from Arnaud Mandy, Jack Franklin and devtools...@chromium.org

Arnaud Mandy added 1 comment

Patchset-level comments
Jack Franklin . unresolved

Hey, thanks for this CL. Is there a design doc / bug with more context on exactly what this feature is? The attached bug doesn't have much description. I'd like to make sure I understand the feature and why it's needed before reviewing properly. Thanks!

Arnaud Mandy

Sure, I fully understand!
I think, the only document we have is this:

https://w3c.github.io/compute-pressure/?experimental=1#dfn-owncontributionestimate
https://w3c.github.io/compute-pressure/?experimental=1#update-virtual-pressure-source

I ll try to explain briefly in a document later and share it with you.

Arnaud Mandy

@jacktf...@chromium.org I sent you a document with a short explanation on what we want to achieve/test with devtools for the Compute Pressure feature.
Let me know if you need more info.

Open in Gerrit

Related details

Attention is currently required from:
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff
Gerrit-Change-Number: 6605671
Gerrit-PatchSet: 4
Gerrit-Owner: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Jack Franklin <jacktf...@chromium.org>
Gerrit-Reviewer: devtools...@chromium.org
Gerrit-CC: Arnaud Mandy <arnaud...@gmail.com>
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Attention: Jack Franklin <jacktf...@chromium.org>
Gerrit-Attention: devtools...@chromium.org
Gerrit-Attention: Arnaud Mandy <arnaud...@gmail.com>
Gerrit-Comment-Date: Mon, 02 Jun 2025 11:24:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Jack Franklin <jacktf...@chromium.org>
Comment-In-Reply-To: Arnaud Mandy <arnaud...@gmail.com>
unsatisfied_requirement
open
diffy

fabian athayde (Gerrit)

unread,
Jun 2, 2025, 7:27:00 AMJun 2
to Arnaud Mandy, Jack Franklin, devtools...@chromium.org, Devtools-frontend LUCI CQ, AyeAye, devtools-rev...@chromium.org
Attention needed from Jack Franklin and devtools...@chromium.org

fabian athayde added 1 comment

Message

On Mon, Jun 2, 2025, 6:24 AM Arnaud Mandy (Gerrit) <noreply-gerritcodereview+kRHynMC6C5486BCA920FQQ==@> wrote: chromium.org

1 comment

Patchset-level comments
fabian athayde . resolved

On Mon, Jun 2, 2025, 6:24 AM Arnaud Mandy (Gerrit) <noreply-gerritcodereview+kRHynMC6C5486BCA920FQQ==@> wrote: chromium.org

Open in Gerrit

Related details

Attention is currently required from:
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff
Gerrit-Change-Number: 6605671
Gerrit-PatchSet: 4
Gerrit-Owner: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Jack Franklin <jacktf...@chromium.org>
Gerrit-Reviewer: devtools...@chromium.org
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Attention: Jack Franklin <jacktf...@chromium.org>
Gerrit-Attention: devtools...@chromium.org
Gerrit-Comment-Date: Mon, 02 Jun 2025 11:26:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Arnaud Mandy (Gerrit)

unread,
Jun 10, 2025, 8:24:41 AMJun 10
to Jack Franklin, devtools...@chromium.org, Devtools-frontend LUCI CQ, AyeAye, devtools-rev...@chromium.org
Attention needed from Jack Franklin and devtools...@chromium.org

Arnaud Mandy added 2 comments

Patchset-level comments
File-level comment, Patchset 4:
Arnaud Mandy . resolved

I couldn't find a very good solution here, and typescript is not my main strength.

I wanted to have a slider that would trigger a CDP call, through emulationModel.
like we did with the pressure state.

When the slider value is changed (here, let s have a 1s gap to avoid updates for each value) then it will trigger an event on EmulationModel and then we call the CDP function.

I couldn't find a proper implementation for the slider. If someone would have a suggestion, I would be happy to hear it.

Thanks

Arnaud Mandy

Done

File front_end/panels/sensors/SensorsView.ts
Line 545, Patchset 4: for (const emulationModel of SDK.TargetManager.TargetManager.instance().models(
Arnaud Mandy . resolved

This should be applied only to the current emulationModel, not on all the tabs.
That is also something I didn't find a solution for. Would you have a suggestion?

Arnaud Mandy

Done

Open in Gerrit

Related details

Attention is currently required from:
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff
Gerrit-Change-Number: 6605671
Gerrit-PatchSet: 4
Gerrit-Owner: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Jack Franklin <jacktf...@chromium.org>
Gerrit-Reviewer: devtools...@chromium.org
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Attention: Jack Franklin <jacktf...@chromium.org>
Gerrit-Attention: devtools...@chromium.org
Gerrit-Comment-Date: Tue, 10 Jun 2025 12:24:37 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Arnaud Mandy <arnaud...@intel.com>
unsatisfied_requirement
open
diffy

Arnaud Mandy (Gerrit)

unread,
Jun 10, 2025, 8:24:54 AMJun 10
to Jack Franklin, devtools...@chromium.org, Devtools-frontend LUCI CQ, AyeAye, devtools-rev...@chromium.org
Attention needed from Jack Franklin and devtools...@chromium.org

Arnaud Mandy added 1 comment

File front_end/panels/sensors/SensorsView.ts
Line 536, Patchset 4:
Arnaud Mandy . resolved

Actually, here I would be interested to have like the "cpu-pressure" state above (line 523), a trigger, that would trigger directly a call on EmulationModel.

How can I do that with a slider? I didn't find any example.

Arnaud Mandy

Done

Open in Gerrit

Related details

Attention is currently required from:
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff
Gerrit-Change-Number: 6605671
Gerrit-PatchSet: 6
Gerrit-Owner: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Jack Franklin <jacktf...@chromium.org>
Gerrit-Reviewer: devtools...@chromium.org
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Attention: Jack Franklin <jacktf...@chromium.org>
Gerrit-Attention: devtools...@chromium.org
Gerrit-Comment-Date: Tue, 10 Jun 2025 12:24:51 +0000
unsatisfied_requirement
open
diffy

Arnaud Mandy (Gerrit)

unread,
Jun 13, 2025, 9:00:53 AMJun 13
to Jack Franklin, devtools...@chromium.org, Devtools-frontend LUCI CQ, AyeAye, devtools-rev...@chromium.org
Attention needed from Jack Franklin and devtools...@chromium.org

Arnaud Mandy added 1 comment

Patchset-level comments
File-level comment, Patchset 6 (Latest):
Arnaud Mandy . unresolved

@jacktf...@chromium.org, did you get access to the document I shared (by email)

The end of the document describes the usage of compute pressure virtual source on DevTools.

I think all my concerns, have been now fixed. Can you please have a look if it is ok?

Thanks!

Open in Gerrit

Related details

Attention is currently required from:
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff
Gerrit-Change-Number: 6605671
Gerrit-PatchSet: 6
Gerrit-Owner: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Jack Franklin <jacktf...@chromium.org>
Gerrit-Reviewer: devtools...@chromium.org
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Attention: Jack Franklin <jacktf...@chromium.org>
Gerrit-Attention: devtools...@chromium.org
Gerrit-Comment-Date: Fri, 13 Jun 2025 13:00:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Arnaud Mandy (Gerrit)

unread,
Jun 17, 2025, 9:47:40 AMJun 17
to Jack Franklin, devtools...@chromium.org, Devtools-frontend LUCI CQ, AyeAye, devtools-rev...@chromium.org
Attention needed from Jack Franklin and devtools...@chromium.org

Arnaud Mandy added 1 comment

Patchset-level comments
Arnaud Mandy . resolved
Open in Gerrit

Related details

Attention is currently required from:
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff
Gerrit-Change-Number: 6605671
Gerrit-PatchSet: 6
Gerrit-Owner: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Jack Franklin <jacktf...@chromium.org>
Gerrit-Reviewer: devtools...@chromium.org
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Attention: Jack Franklin <jacktf...@chromium.org>
Gerrit-Attention: devtools...@chromium.org
Gerrit-Comment-Date: Tue, 17 Jun 2025 13:47:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Arnaud Mandy (Gerrit)

unread,
Jun 18, 2025, 1:52:26 AMJun 18
to Paul Irish, Kenneth R Christiansen, Jack Franklin, devtools...@chromium.org, Devtools-frontend LUCI CQ, AyeAye, devtools-rev...@chromium.org
Attention needed from Jack Franklin, Paul Irish and devtools...@chromium.org

Arnaud Mandy added 1 comment

Patchset-level comments
Arnaud Mandy . unresolved

PTAL,

@paul...@chromium.org can you help me with reviewing this patch since you already have reviewed @kenneth.r.c...@intel.com patch on this matter.

https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5816509

Thanks in advance.

Open in Gerrit

Related details

Attention is currently required from:
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff
Gerrit-Change-Number: 6605671
Gerrit-PatchSet: 6
Gerrit-Owner: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Jack Franklin <jacktf...@chromium.org>
Gerrit-Reviewer: Paul Irish <paul...@chromium.org>
Gerrit-CC: Kenneth R Christiansen <kenneth.r.c...@intel.com>
Gerrit-Attention: Jack Franklin <jacktf...@chromium.org>
Gerrit-Attention: devtools...@chromium.org
Gerrit-Attention: Paul Irish <paul...@chromium.org>
Gerrit-Comment-Date: Wed, 18 Jun 2025 05:52:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Paul Irish (Gerrit)

unread,
Jul 9, 2025, 7:53:44 PMJul 9
to Arnaud Mandy, Kenneth R Christiansen, Jack Franklin, devtools...@chromium.org, Devtools-frontend LUCI CQ, AyeAye, devtools-rev...@chromium.org
Attention needed from Arnaud Mandy, Jack Franklin and devtools...@chromium.org

Paul Irish added 8 comments

Patchset-level comments
File-level comment, Patchset 9 (Latest):
Paul Irish . resolved

Cool stuff. A few items below, mostly improving on the UX.

File front_end/core/sdk/EmulationModel.ts
Line 38, Patchset 9 (Latest): this.#cpuPressureOwnContributionEstimate = 0;
Paul Irish . unresolved

just verifying you want the default of the slider to be 0. (fine with me)

based on below, a 0 turns into undefined in the pressureRecord, yeah?

(again, fine with me but .. just making sure its all intended)

File front_end/panels/sensors/SensorsView.ts
Line 129, Patchset 9 (Latest): forcedSelectedPressureOwnContribution: 'Site contribution to global CPU pressure',
Paul Irish . unresolved

maybe lets connect it to the field name.

```suggestion
forcedSelectedPressureOwnContribution: 'Site contribution reported as ownContributionEstimate',
```
Line 521, Patchset 9 (Latest): private createPressureSection(): void {
Paul Irish . unresolved

lets add

    .reload-warning {
margin: var(--sys-size-3) var(--sys-size-5);
}

to the bottom of sensors.css

Line 541, Patchset 9 (Latest): component.addEventListener('change', () => {
Paul Irish . unresolved
```suggestion
component.addEventListener('input', () => {
```

input event will make this feel a lot more responsive

Line 544, Patchset 9 (Latest): timerId = setTimeout(() => {
Paul Irish . resolved

good call on debouncing the setting/cdp work!

Line 551, Patchset 9 (Latest):
Paul Irish . unresolved

It kinda makes sense to disable the slider if the main setting is in 'no override'.

something like this will take care of that:


const dropDown = control?.querySelector('select');
function maybeDisableSlider(): void {
const noOverride = dropDown?.value === 'none';
cpuSlider.classList.toggle('disabled', noOverride);
component.disabled = noOverride;
}
maybeDisableSlider();
dropDown?.addEventListener('change', maybeDisableSlider);


plus some styles at the bottom of sensors.css

    .own-contribution-estimate input:disabled + span {
opacity: 38%;
}

this 38% matches something similar for disabled checkboxes.

Line 553, Patchset 9 (Latest): const oceSection = this.contentElement.createChild('div', 'own-contribution-estimate');
oceSection.appendChild(control2);
container.appendChild(oceSection);
Paul Irish . unresolved

if we skip the extra div


```suggestion
control2.classList.add('own-contribution-estimate');
container.appendChild(control2);
```

and add this to the bottom of sensors.css:

```
.own-contribution-estimate {
margin: var(--sys-size-8) var(--sys-size-10);
gap: var(--sys-size-5);
display: grid;
  label {
color: var(--sys-color-token-subtle);
}
}
```

itll look a lot better

Open in Gerrit

Related details

Attention is currently required from:
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff
Gerrit-Change-Number: 6605671
Gerrit-PatchSet: 9
Gerrit-Owner: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Jack Franklin <jacktf...@chromium.org>
Gerrit-Reviewer: Paul Irish <paul...@chromium.org>
Gerrit-Reviewer: devtools...@chromium.org
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-CC: Kenneth R Christiansen <kenneth.r.c...@intel.com>
Gerrit-Attention: Jack Franklin <jacktf...@chromium.org>
Gerrit-Attention: devtools...@chromium.org
Gerrit-Attention: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Comment-Date: Wed, 09 Jul 2025 23:53:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Arnaud Mandy (Gerrit)

unread,
Jul 16, 2025, 8:47:56 AMJul 16
to Paul Irish, Kenneth R Christiansen, Jack Franklin, devtools...@chromium.org, Devtools-frontend LUCI CQ, AyeAye, devtools-rev...@chromium.org
Attention needed from Jack Franklin, Paul Irish and devtools...@chromium.org

Arnaud Mandy added 10 comments

Patchset-level comments
File-level comment, Patchset 4:
Jack Franklin . resolved

Hey, thanks for this CL. Is there a design doc / bug with more context on exactly what this feature is? The attached bug doesn't have much description. I'd like to make sure I understand the feature and why it's needed before reviewing properly. Thanks!

Arnaud Mandy

Sure, I fully understand!
I think, the only document we have is this:

https://w3c.github.io/compute-pressure/?experimental=1#dfn-owncontributionestimate
https://w3c.github.io/compute-pressure/?experimental=1#update-virtual-pressure-source

I ll try to explain briefly in a document later and share it with you.

Arnaud Mandy

@jacktf...@chromium.org I sent you a document with a short explanation on what we want to achieve/test with devtools for the Compute Pressure feature.
Let me know if you need more info.

Arnaud Mandy

Done

File-level comment, Patchset 6:
Arnaud Mandy . resolved

PTAL,

@paul...@chromium.org can you help me with reviewing this patch since you already have reviewed @kenneth.r.c...@intel.com patch on this matter.

https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5816509

Thanks in advance.

Arnaud Mandy

Done

File-level comment, Patchset 6:
Arnaud Mandy . resolved

@jacktf...@chromium.org, did you get access to the document I shared (by email)

The end of the document describes the usage of compute pressure virtual source on DevTools.

I think all my concerns, have been now fixed. Can you please have a look if it is ok?

Thanks!

Arnaud Mandy

Done

File-level comment, Patchset 9:
Arnaud Mandy . resolved

Thanks Paul for that thorough review. I appreciate the effort in improving the feature.
I took care of all the comments.
Thanks again

File front_end/core/sdk/EmulationModel.ts
Line 38, Patchset 9: this.#cpuPressureOwnContributionEstimate = 0;
Paul Irish . resolved

just verifying you want the default of the slider to be 0. (fine with me)

based on below, a 0 turns into undefined in the pressureRecord, yeah?

(again, fine with me but .. just making sure its all intended)

Arnaud Mandy

yes.
Having 1% or 0% is about the same, so 0% can be used as undefined

File front_end/panels/sensors/SensorsView.ts
Line 129, Patchset 9: forcedSelectedPressureOwnContribution: 'Site contribution to global CPU pressure',
Paul Irish . resolved

maybe lets connect it to the field name.

```suggestion
forcedSelectedPressureOwnContribution: 'Site contribution reported as ownContributionEstimate',
```
Arnaud Mandy

Done

Line 521, Patchset 9: private createPressureSection(): void {
Paul Irish . resolved

lets add

    .reload-warning {
margin: var(--sys-size-3) var(--sys-size-5);
}

to the bottom of sensors.css

Arnaud Mandy

Done

Line 541, Patchset 9: component.addEventListener('change', () => {
Paul Irish . resolved
```suggestion
component.addEventListener('input', () => {
```

input event will make this feel a lot more responsive

Arnaud Mandy

Done

Line 551, Patchset 9:
Paul Irish . resolved

It kinda makes sense to disable the slider if the main setting is in 'no override'.

something like this will take care of that:


const dropDown = control?.querySelector('select');
function maybeDisableSlider(): void {
const noOverride = dropDown?.value === 'none';
cpuSlider.classList.toggle('disabled', noOverride);
component.disabled = noOverride;
}
maybeDisableSlider();
dropDown?.addEventListener('change', maybeDisableSlider);


plus some styles at the bottom of sensors.css

    .own-contribution-estimate input:disabled + span {
opacity: 38%;
}

this 38% matches something similar for disabled checkboxes.

Arnaud Mandy

Done

Line 553, Patchset 9: const oceSection = this.contentElement.createChild('div', 'own-contribution-estimate');
oceSection.appendChild(control2);
container.appendChild(oceSection);
Paul Irish . resolved

if we skip the extra div


```suggestion
control2.classList.add('own-contribution-estimate');
container.appendChild(control2);
```

and add this to the bottom of sensors.css:

```
.own-contribution-estimate {
margin: var(--sys-size-8) var(--sys-size-10);
gap: var(--sys-size-5);
display: grid;
  label {
color: var(--sys-color-token-subtle);
}
}
```

itll look a lot better

Arnaud Mandy

Done

Open in Gerrit

Related details

Attention is currently required from:
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff
Gerrit-Change-Number: 6605671
Gerrit-PatchSet: 9
Gerrit-Owner: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Jack Franklin <jacktf...@chromium.org>
Gerrit-Reviewer: Paul Irish <paul...@chromium.org>
Gerrit-Reviewer: devtools...@chromium.org
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-CC: Kenneth R Christiansen <kenneth.r.c...@intel.com>
Gerrit-Attention: Jack Franklin <jacktf...@chromium.org>
Gerrit-Attention: devtools...@chromium.org
Gerrit-Attention: Paul Irish <paul...@chromium.org>
Gerrit-Comment-Date: Wed, 16 Jul 2025 12:47:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Jack Franklin <jacktf...@chromium.org>
Comment-In-Reply-To: Arnaud Mandy <arnaud...@gmail.com>
Comment-In-Reply-To: Paul Irish <paul...@chromium.org>
Comment-In-Reply-To: Arnaud Mandy <arnaud...@intel.com>
unsatisfied_requirement
open
diffy

Paul Irish (Gerrit)

unread,
Jul 16, 2025, 11:26:50 AMJul 16
to Arnaud Mandy, Kenneth R Christiansen, Jack Franklin, devtools...@chromium.org, Devtools-frontend LUCI CQ, AyeAye, devtools-rev...@chromium.org
Attention needed from Arnaud Mandy, Jack Franklin and devtools...@chromium.org

Paul Irish voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff
Gerrit-Change-Number: 6605671
Gerrit-PatchSet: 10
Gerrit-Owner: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Reviewer: Jack Franklin <jacktf...@chromium.org>
Gerrit-Reviewer: Paul Irish <paul...@chromium.org>
Gerrit-Reviewer: devtools...@chromium.org
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-CC: Kenneth R Christiansen <kenneth.r.c...@intel.com>
Gerrit-Attention: Jack Franklin <jacktf...@chromium.org>
Gerrit-Attention: devtools...@chromium.org
Gerrit-Attention: Arnaud Mandy <arnaud...@intel.com>
Gerrit-Comment-Date: Wed, 16 Jul 2025 15:26:48 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Arnaud Mandy (Gerrit)

unread,
Jul 17, 2025, 2:25:20 AMJul 17
to Paul Irish, Kenneth R Christiansen, Jack Franklin, devtools...@chromium.org, Devtools-frontend LUCI CQ, AyeAye, devtools-rev...@chromium.org
Attention needed from Jack Franklin and devtools...@chromium.org

Arnaud Mandy voted and added 1 comment

Votes added by Arnaud Mandy

Auto-Submit+1

1 comment

Patchset-level comments
File-level comment, Patchset 10 (Latest):
Arnaud Mandy . unresolved

@paul...@chromium.org Do you know anyone else that would be ready to review?
Apparently I need 2 reviews to submit this patch.
Thanks.

Open in Gerrit

Related details

Attention is currently required from:
Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: devtools/devtools-frontend
    Gerrit-Branch: main
    Gerrit-Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff
    Gerrit-Change-Number: 6605671
    Gerrit-PatchSet: 10
    Gerrit-Owner: Arnaud Mandy <arnaud...@intel.com>
    Gerrit-Reviewer: Arnaud Mandy <arnaud...@intel.com>
    Gerrit-Reviewer: Jack Franklin <jacktf...@chromium.org>
    Gerrit-Reviewer: Paul Irish <paul...@chromium.org>
    Gerrit-Reviewer: devtools...@chromium.org
    Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-CC: Kenneth R Christiansen <kenneth.r.c...@intel.com>
    Gerrit-Attention: Jack Franklin <jacktf...@chromium.org>
    Gerrit-Attention: devtools...@chromium.org
    Gerrit-Comment-Date: Thu, 17 Jul 2025 06:25:14 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Paul Irish (Gerrit)

    unread,
    Jul 17, 2025, 5:49:51 PMJul 17
    to Arnaud Mandy, Kenneth R Christiansen, Jack Franklin, devtools...@chromium.org, Devtools-frontend LUCI CQ, AyeAye, devtools-rev...@chromium.org
    Attention needed from Arnaud Mandy, Jack Franklin and devtools...@chromium.org

    Paul Irish added 1 comment

    Patchset-level comments
    Paul Irish . resolved

    jack can. ptal jack!

    Open in Gerrit

    Related details

    Attention is currently required from:
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: devtools/devtools-frontend
    Gerrit-Branch: main
    Gerrit-Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff
    Gerrit-Change-Number: 6605671
    Gerrit-PatchSet: 10
    Gerrit-Owner: Arnaud Mandy <arnaud...@intel.com>
    Gerrit-Reviewer: Arnaud Mandy <arnaud...@intel.com>
    Gerrit-Reviewer: Jack Franklin <jacktf...@chromium.org>
    Gerrit-Reviewer: Paul Irish <paul...@chromium.org>
    Gerrit-Reviewer: devtools...@chromium.org
    Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-CC: Kenneth R Christiansen <kenneth.r.c...@intel.com>
    Gerrit-Attention: Jack Franklin <jacktf...@chromium.org>
    Gerrit-Attention: devtools...@chromium.org
    Gerrit-Attention: Arnaud Mandy <arnaud...@intel.com>
    Gerrit-Comment-Date: Thu, 17 Jul 2025 21:49:48 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Paul Irish (Gerrit)

    unread,
    Jul 17, 2025, 5:49:59 PMJul 17
    to devtools...@chromium.org
    Attention needed from Arnaud Mandy and Jack Franklin

    Arnaud Mandy has uploaded the change for review

    Commit message

    compute pressure: Add ownContributionEstimate

    This patch is adding a slider to the CPU Pressure section in Sensors
    tools.

    Screenshot: https://imgur.com/a/s8U10E4.png

    The slider controls the ownContributionEstimate parameter.

    Specifications:
    https://w3c.github.io/compute-pressure/?experimental=1#update-virtual-pressure-source

    setPressureDataOverride call is used instead of setPressureStateOverride

    to pass state and also own contribution estimate value.
    Bug: 421125375
    Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff

    Change diff


    Change information

    Files:
    • M front_end/core/sdk/EmulationModel.ts
    • M front_end/panels/sensors/SensorsView.ts
    • M front_end/panels/sensors/sensors.css
    Change size: M
    Delta: 3 files changed, 91 insertions(+), 2 deletions(-)
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Arnaud Mandy
    • Jack Franklin
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: newchange
    Gerrit-Project: devtools/devtools-frontend
    Gerrit-Branch: main
    Gerrit-Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff
    Gerrit-Change-Number: 6605671
    Gerrit-PatchSet: 10
    Gerrit-Owner: Arnaud Mandy <arnaud...@intel.com>
    Gerrit-Reviewer: Arnaud Mandy <arnaud...@intel.com>
    Gerrit-Reviewer: Jack Franklin <jacktf...@chromium.org>
    Gerrit-Reviewer: Paul Irish <paul...@chromium.org>
    Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-CC: Kenneth R Christiansen <kenneth.r.c...@intel.com>
    Gerrit-Attention: Jack Franklin <jacktf...@chromium.org>
    Gerrit-Attention: Arnaud Mandy <arnaud...@intel.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Arnaud Mandy (Gerrit)

    unread,
    Jul 21, 2025, 6:55:14 AMJul 21
    to devtools...@chromium.org, Paul Irish, Kenneth R Christiansen, Jack Franklin, Devtools-frontend LUCI CQ, AyeAye, devtools-rev...@chromium.org
    Attention needed from Jack Franklin

    Arnaud Mandy added 1 comment

    Patchset-level comments
    Arnaud Mandy . unresolved

    @paul...@chromium.org Do you know anyone else that would be ready to review?
    Apparently I need 2 reviews to submit this patch.
    Thanks.

    Arnaud Mandy
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Jack Franklin
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: devtools/devtools-frontend
    Gerrit-Branch: main
    Gerrit-Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff
    Gerrit-Change-Number: 6605671
    Gerrit-PatchSet: 10
    Gerrit-Owner: Arnaud Mandy <arnaud...@intel.com>
    Gerrit-Reviewer: Arnaud Mandy <arnaud...@intel.com>
    Gerrit-Reviewer: Jack Franklin <jacktf...@chromium.org>
    Gerrit-Reviewer: Paul Irish <paul...@chromium.org>
    Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-CC: Kenneth R Christiansen <kenneth.r.c...@intel.com>
    Gerrit-Attention: Jack Franklin <jacktf...@chromium.org>
    Gerrit-Comment-Date: Mon, 21 Jul 2025 10:55:09 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Arnaud Mandy <arnaud...@intel.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Arnaud Mandy (Gerrit)

    unread,
    Jul 28, 2025, 7:57:48 AMJul 28
    to Mathias Bynens, devtools...@chromium.org, Paul Irish, Kenneth R Christiansen, Jack Franklin, Devtools-frontend LUCI CQ, AyeAye, devtools-rev...@chromium.org
    Attention needed from Jack Franklin and Mathias Bynens

    Arnaud Mandy added 1 comment

    Patchset-level comments
    Arnaud Mandy . unresolved

    @mat...@chromium.org PTAL. This was already reviewed by Paul, I just need another +1. Thanks

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Jack Franklin
    • Mathias Bynens
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: devtools/devtools-frontend
    Gerrit-Branch: main
    Gerrit-Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff
    Gerrit-Change-Number: 6605671
    Gerrit-PatchSet: 10
    Gerrit-Owner: Arnaud Mandy <arnaud...@intel.com>
    Gerrit-Reviewer: Arnaud Mandy <arnaud...@intel.com>
    Gerrit-Reviewer: Jack Franklin <jacktf...@chromium.org>
    Gerrit-Reviewer: Mathias Bynens <mat...@chromium.org>
    Gerrit-Reviewer: Paul Irish <paul...@chromium.org>
    Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-CC: Kenneth R Christiansen <kenneth.r.c...@intel.com>
    Gerrit-Attention: Jack Franklin <jacktf...@chromium.org>
    Gerrit-Attention: Mathias Bynens <mat...@chromium.org>
    Gerrit-Comment-Date: Mon, 28 Jul 2025 11:57:44 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Arnaud Mandy (Gerrit)

    unread,
    Jul 30, 2025, 3:43:25 AMJul 30
    to Alex Rudenko, Mathias Bynens, devtools...@chromium.org, Paul Irish, Kenneth R Christiansen, Jack Franklin, Devtools-frontend LUCI CQ, AyeAye, devtools-rev...@chromium.org
    Attention needed from Alex Rudenko, Jack Franklin and Mathias Bynens

    Arnaud Mandy added 1 comment

    Patchset-level comments
    Arnaud Mandy . resolved

    @alexr...@chromium.org Can you please have a look.
    Apparently I m having issue to get another +1, though Paul Irish made a thorough and complete review. Thanks!

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Alex Rudenko
    • Jack Franklin
    • Mathias Bynens
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: devtools/devtools-frontend
    Gerrit-Branch: main
    Gerrit-Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff
    Gerrit-Change-Number: 6605671
    Gerrit-PatchSet: 10
    Gerrit-Owner: Arnaud Mandy <arnaud...@intel.com>
    Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
    Gerrit-Reviewer: Arnaud Mandy <arnaud...@intel.com>
    Gerrit-Reviewer: Jack Franklin <jacktf...@chromium.org>
    Gerrit-Reviewer: Mathias Bynens <mat...@chromium.org>
    Gerrit-Reviewer: Paul Irish <paul...@chromium.org>
    Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-CC: Kenneth R Christiansen <kenneth.r.c...@intel.com>
    Gerrit-Attention: Jack Franklin <jacktf...@chromium.org>
    Gerrit-Attention: Alex Rudenko <alexr...@chromium.org>
    Gerrit-Attention: Mathias Bynens <mat...@chromium.org>
    Gerrit-Comment-Date: Wed, 30 Jul 2025 07:43:20 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Alex Rudenko (Gerrit)

    unread,
    Jul 30, 2025, 7:19:34 AMJul 30
    to Arnaud Mandy, Mathias Bynens, devtools...@chromium.org, Paul Irish, Kenneth R Christiansen, Jack Franklin, Devtools-frontend LUCI CQ, AyeAye, devtools-rev...@chromium.org
    Attention needed from Arnaud Mandy, Jack Franklin and Mathias Bynens

    Alex Rudenko added 3 comments

    File front_end/core/sdk/EmulationModel.ts
    Line 262, Patchset 10 (Latest): async setPressureDataOverride(pressureState: string, ownContributionEstimate: number): Promise<void> {
    Alex Rudenko . unresolved

    could we add test coverage for these to front_end/core/sdk/EmulationModel.test.ts ?

    Line 291, Patchset 10 (Latest): void this.setPressureDataOverride(settingValue, this.#cpuPressureOwnContributionEstimate);
    Alex Rudenko . unresolved

    any reason not to await the call here?

    File front_end/panels/sensors/SensorsView.ts
    Line 555, Patchset 10 (Latest): const cpuSlider = this.contentElement.createChild('div', 'own-contribution-slider');
    Alex Rudenko . unresolved

    let's add a e2e test for these to test/e2e_non_hosted/sensors/compute_pressure_test.ts?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Arnaud Mandy
    • Jack Franklin
    • Mathias Bynens
    Gerrit-Attention: Mathias Bynens <mat...@chromium.org>
    Gerrit-Attention: Arnaud Mandy <arnaud...@intel.com>
    Gerrit-Comment-Date: Wed, 30 Jul 2025 11:19:29 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mathias Bynens (Gerrit)

    unread,
    Aug 5, 2025, 5:11:43 PMAug 5
    to Arnaud Mandy, Alex Rudenko, devtools...@chromium.org, Paul Irish, Kenneth R Christiansen, Jack Franklin, Devtools-frontend LUCI CQ, AyeAye, devtools-rev...@chromium.org
    Attention needed from Arnaud Mandy and Jack Franklin

    Mathias Bynens added 1 comment

    Patchset-level comments
    Mathias Bynens . resolved

    (Removing myself as reviewer as I’m OOO)

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Arnaud Mandy
    • Jack Franklin
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: devtools/devtools-frontend
    Gerrit-Branch: main
    Gerrit-Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff
    Gerrit-Change-Number: 6605671
    Gerrit-PatchSet: 10
    Gerrit-Owner: Arnaud Mandy <arnaud...@intel.com>
    Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
    Gerrit-Reviewer: Arnaud Mandy <arnaud...@intel.com>
    Gerrit-Reviewer: Jack Franklin <jacktf...@chromium.org>
    Gerrit-Reviewer: Paul Irish <paul...@chromium.org>
    Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-CC: Kenneth R Christiansen <kenneth.r.c...@intel.com>
    Gerrit-Attention: Jack Franklin <jacktf...@chromium.org>
    Gerrit-Attention: Arnaud Mandy <arnaud...@intel.com>
    Gerrit-Comment-Date: Tue, 05 Aug 2025 21:11:41 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Arnaud Mandy (Gerrit)

    unread,
    Aug 14, 2025, 7:20:42 AMAug 14
    to Alex Rudenko, devtools...@chromium.org, Paul Irish, Kenneth R Christiansen, Jack Franklin, Devtools-frontend LUCI CQ, AyeAye, devtools-rev...@chromium.org
    Attention needed from Alex Rudenko and Jack Franklin

    Arnaud Mandy added 2 comments

    File front_end/core/sdk/EmulationModel.ts
    Line 262, Patchset 10 (Latest): async setPressureDataOverride(pressureState: string, ownContributionEstimate: number): Promise<void> {
    Alex Rudenko . unresolved

    could we add test coverage for these to front_end/core/sdk/EmulationModel.test.ts ?

    Arnaud Mandy

    Sorry, can you elaborate, since there is no test for any other functions from this file in front_end/core/sdk/EmulationModel.test.ts.

    Line 291, Patchset 10 (Latest): void this.setPressureDataOverride(settingValue, this.#cpuPressureOwnContributionEstimate);
    Alex Rudenko . unresolved

    any reason not to await the call here?

    Arnaud Mandy

    right!

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Alex Rudenko
    • Jack Franklin
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: devtools/devtools-frontend
    Gerrit-Branch: main
    Gerrit-Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff
    Gerrit-Change-Number: 6605671
    Gerrit-PatchSet: 10
    Gerrit-Owner: Arnaud Mandy <arnaud...@intel.com>
    Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
    Gerrit-Reviewer: Arnaud Mandy <arnaud...@intel.com>
    Gerrit-Reviewer: Jack Franklin <jacktf...@chromium.org>
    Gerrit-Reviewer: Paul Irish <paul...@chromium.org>
    Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-CC: Kenneth R Christiansen <kenneth.r.c...@intel.com>
    Gerrit-Attention: Jack Franklin <jacktf...@chromium.org>
    Gerrit-Attention: Alex Rudenko <alexr...@chromium.org>
    Gerrit-Comment-Date: Thu, 14 Aug 2025 11:20:37 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Alex Rudenko <alexr...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Alex Rudenko (Gerrit)

    unread,
    Aug 14, 2025, 7:30:23 AMAug 14
    to Arnaud Mandy, devtools...@chromium.org, Paul Irish, Kenneth R Christiansen, Jack Franklin, Devtools-frontend LUCI CQ, AyeAye, devtools-rev...@chromium.org
    Attention needed from Arnaud Mandy and Jack Franklin

    Alex Rudenko added 1 comment

    File front_end/core/sdk/EmulationModel.ts
    Line 262, Patchset 10 (Latest): async setPressureDataOverride(pressureState: string, ownContributionEstimate: number): Promise<void> {
    Alex Rudenko . unresolved

    could we add test coverage for these to front_end/core/sdk/EmulationModel.test.ts ?

    Arnaud Mandy

    Sorry, can you elaborate, since there is no test for any other functions from this file in front_end/core/sdk/EmulationModel.test.ts.

    Alex Rudenko

    in front_end/core/sdk/EmulationModel.test.ts there are tests covering the emulate touch logic, could we add similar tests for the new functions?

    1) for setPressureDataOverride verify that ownContributionEstimate is computed correctly
    2) setPressureOwnContributionEstimate verify that it does not send anything (enable/disable) is the setting is none; Another test could test that the override is enabled if the settings allow that.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Arnaud Mandy
    • Jack Franklin
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: devtools/devtools-frontend
    Gerrit-Branch: main
    Gerrit-Change-Id: Iba66f298217e5ec3aa7bf85f0069f5eb2326fdff
    Gerrit-Change-Number: 6605671
    Gerrit-PatchSet: 10
    Gerrit-Owner: Arnaud Mandy <arnaud...@intel.com>
    Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
    Gerrit-Reviewer: Arnaud Mandy <arnaud...@intel.com>
    Gerrit-Reviewer: Jack Franklin <jacktf...@chromium.org>
    Gerrit-Reviewer: Paul Irish <paul...@chromium.org>
    Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-CC: Kenneth R Christiansen <kenneth.r.c...@intel.com>
    Gerrit-Attention: Jack Franklin <jacktf...@chromium.org>
    Gerrit-Attention: Arnaud Mandy <arnaud...@intel.com>
    Gerrit-Comment-Date: Thu, 14 Aug 2025 11:30:17 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Alex Rudenko <alexr...@chromium.org>
    Comment-In-Reply-To: Arnaud Mandy <arnaud...@intel.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages