Siso: Optimize libc++ header tracking to reduce Windows lstat calls [chromium/src : main]

0 views
Skip to first unread message

Junji Watanabe (Gerrit)

unread,
Jun 16, 2026, 8:44:41 AMJun 16
to Ryosuke Miyake, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com
Attention needed from Ryosuke Miyake

Junji Watanabe added 2 comments

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Junji Watanabe . resolved

CC: ms...@google.com

The context is that https://crrev.com/c/7809476 caused a build performance regression on Windows.

File build/config/siso/clang_all.star
Line 85, Patchset 1 (Parent): "third_party/libc++/src/include:headers",
Junji Watanabe . unresolved

Does this CL mean `third_party/libc++/src/include:headers` wasn't necessary...?

Open in Gerrit

Related details

Attention is currently required from:
  • Ryosuke Miyake
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • 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: Id00499bfe1a7752c4288cbd8c2f7f63d0326ad50
Gerrit-Change-Number: 7950337
Gerrit-PatchSet: 2
Gerrit-Owner: Ryosuke Miyake <ry...@google.com>
Gerrit-Reviewer: Ryosuke Miyake <ry...@google.com>
Gerrit-CC: Junji Watanabe <jw...@google.com>
Gerrit-CC: Matt Stark <ms...@google.com>
Gerrit-Attention: Ryosuke Miyake <ry...@google.com>
Gerrit-Comment-Date: Tue, 16 Jun 2026 12:44:09 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Junji Watanabe (Gerrit)

unread,
Jun 16, 2026, 8:48:36 AMJun 16
to Ryosuke Miyake, Fumitoshi Ukai, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com
Attention needed from Fumitoshi Ukai and Ryosuke Miyake

Junji Watanabe added 1 comment

File build/config/siso/clang_all.star
Line 85, Patchset 1 (Parent): "third_party/libc++/src/include:headers",
Junji Watanabe . unresolved

Does this CL mean `third_party/libc++/src/include:headers` wasn't necessary...?

Junji Watanabe

I guess it should rely on the Siso's internal handling for tree inputs rather than explicitly specifying ":headers" filegroup.
https://source.chromium.org/chromium/build/+/main:siso/build/deps_gcc.go;l=91-100;drc=633997ad07f17a700a6822c5dbca050ec5ef26e6

@uk...@google.com Can you confirm if this config was misuse?

Open in Gerrit

Related details

Attention is currently required from:
  • Fumitoshi Ukai
  • Ryosuke Miyake
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • 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: Id00499bfe1a7752c4288cbd8c2f7f63d0326ad50
Gerrit-Change-Number: 7950337
Gerrit-PatchSet: 2
Gerrit-Owner: Ryosuke Miyake <ry...@google.com>
Gerrit-Reviewer: Ryosuke Miyake <ry...@google.com>
Gerrit-CC: Fumitoshi Ukai <uk...@google.com>
Gerrit-CC: Junji Watanabe <jw...@google.com>
Gerrit-CC: Matt Stark <ms...@google.com>
Gerrit-Attention: Ryosuke Miyake <ry...@google.com>
Gerrit-Attention: Fumitoshi Ukai <uk...@google.com>
Gerrit-Comment-Date: Tue, 16 Jun 2026 12:47:58 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Junji Watanabe <jw...@google.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Fumitoshi Ukai (Gerrit)

unread,
Jun 16, 2026, 9:14:50 PM (14 days ago) Jun 16
to Ryosuke Miyake, Fumitoshi Ukai, Junji Watanabe, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com
Attention needed from Ryosuke Miyake

Fumitoshi Ukai added 2 comments

Commit Message
Line 13, Patchset 2 (Latest):inputs to all compiler targets unconditionally. This increases the
Fumitoshi Ukai . unresolved

hmm, this sounds like hashfs bug. it should not call lstat so many times?

File build/config/siso/clang_all.star
Line 85, Patchset 1 (Parent): "third_party/libc++/src/include:headers",
Junji Watanabe . unresolved

Does this CL mean `third_party/libc++/src/include:headers` wasn't necessary...?

Junji Watanabe

I guess it should rely on the Siso's internal handling for tree inputs rather than explicitly specifying ":headers" filegroup.
https://source.chromium.org/chromium/build/+/main:siso/build/deps_gcc.go;l=91-100;drc=633997ad07f17a700a6822c5dbca050ec5ef26e6

@uk...@google.com Can you confirm if this config was misuse?

Fumitoshi Ukai

`:headers` are specially handled if this directory is used as sysroot/include dirs on command line (as used as precomputed headers).

other suffix are handled as just filegroup, so always expand.

Open in Gerrit

Related details

Attention is currently required from:
  • Ryosuke Miyake
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • 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: Id00499bfe1a7752c4288cbd8c2f7f63d0326ad50
Gerrit-Change-Number: 7950337
Gerrit-PatchSet: 2
Gerrit-Owner: Ryosuke Miyake <ry...@google.com>
Gerrit-Reviewer: Ryosuke Miyake <ry...@google.com>
Gerrit-CC: Fumitoshi Ukai <uk...@google.com>
Gerrit-CC: Junji Watanabe <jw...@google.com>
Gerrit-CC: Matt Stark <ms...@google.com>
Gerrit-Attention: Ryosuke Miyake <ry...@google.com>
Gerrit-Comment-Date: Wed, 17 Jun 2026 01:14:26 +0000
satisfied_requirement
unsatisfied_requirement
open
diffy

Junji Watanabe (Gerrit)

unread,
Jun 17, 2026, 12:12:58 AM (13 days ago) Jun 17
to Ryosuke Miyake, Fumitoshi Ukai, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com
Attention needed from Ryosuke Miyake

Junji Watanabe added 1 comment

File build/config/siso/clang_all.star
Line 85, Patchset 1 (Parent): "third_party/libc++/src/include:headers",
Junji Watanabe . unresolved

Does this CL mean `third_party/libc++/src/include:headers` wasn't necessary...?

Junji Watanabe

I guess it should rely on the Siso's internal handling for tree inputs rather than explicitly specifying ":headers" filegroup.
https://source.chromium.org/chromium/build/+/main:siso/build/deps_gcc.go;l=91-100;drc=633997ad07f17a700a6822c5dbca050ec5ef26e6

@uk...@google.com Can you confirm if this config was misuse?

Fumitoshi Ukai

`:headers` are specially handled if this directory is used as sysroot/include dirs on command line (as used as precomputed headers).

other suffix are handled as just filegroup, so always expand.

Junji Watanabe

I wanted to ask if you specify :headers filegroup as an input like this, does it expand it repeatedly, which ended up having many lstats rather than reusing the precomputed tree?

Gerrit-Comment-Date: Wed, 17 Jun 2026 04:12:33 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Fumitoshi Ukai <uk...@google.com>
Comment-In-Reply-To: Junji Watanabe <jw...@google.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Junji Watanabe (Gerrit)

unread,
Jun 17, 2026, 12:15:19 AM (13 days ago) Jun 17
to Ryosuke Miyake, Fumitoshi Ukai, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com
Attention needed from Ryosuke Miyake

Junji Watanabe added 1 comment

Commit Message
Line 13, Patchset 2 (Latest):inputs to all compiler targets unconditionally. This increases the
Fumitoshi Ukai . unresolved

hmm, this sounds like hashfs bug. it should not call lstat so many times?

Junji Watanabe

I guess if multiple compiles start running in parallel with the filegroup. All compiles try to do the existence check in parallel competing each other?

Gerrit-Comment-Date: Wed, 17 Jun 2026 04:14:49 +0000
satisfied_requirement
unsatisfied_requirement
open
diffy

Matt Stark (Gerrit)

unread,
Jun 17, 2026, 12:19:49 AM (13 days ago) Jun 17
to Ryosuke Miyake, Fumitoshi Ukai, Junji Watanabe, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com
Attention needed from Ryosuke Miyake

Matt Stark voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Ryosuke Miyake
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement is not 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: Id00499bfe1a7752c4288cbd8c2f7f63d0326ad50
Gerrit-Change-Number: 7950337
Gerrit-PatchSet: 2
Gerrit-Owner: Ryosuke Miyake <ry...@google.com>
Gerrit-Reviewer: Matt Stark <ms...@google.com>
Gerrit-Reviewer: Ryosuke Miyake <ry...@google.com>
Gerrit-CC: Fumitoshi Ukai <uk...@google.com>
Gerrit-CC: Junji Watanabe <jw...@google.com>
Gerrit-Comment-Date: Wed, 17 Jun 2026 04:19:11 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Fumitoshi Ukai (Gerrit)

unread,
Jun 17, 2026, 12:19:55 AM (13 days ago) Jun 17
to Ryosuke Miyake, Fumitoshi Ukai, Junji Watanabe, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com
Attention needed from Ryosuke Miyake

Fumitoshi Ukai added 1 comment

Commit Message
Line 13, Patchset 2 (Latest):inputs to all compiler targets unconditionally. This increases the
Fumitoshi Ukai . unresolved

hmm, this sounds like hashfs bug. it should not call lstat so many times?

Junji Watanabe

I guess if multiple compiles start running in parallel with the filegroup. All compiles try to do the existence check in parallel competing each other?

Fumitoshi Ukai
Gerrit-Comment-Date: Wed, 17 Jun 2026 04:19:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Junji Watanabe <jw...@google.com>
Comment-In-Reply-To: Fumitoshi Ukai <uk...@google.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Junji Watanabe (Gerrit)

unread,
Jun 17, 2026, 12:23:34 AM (13 days ago) Jun 17
to Ryosuke Miyake, Fumitoshi Ukai, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com
Attention needed from Ryosuke Miyake

Junji Watanabe added 1 comment

Commit Message
Line 13, Patchset 2 (Latest):inputs to all compiler targets unconditionally. This increases the
Fumitoshi Ukai . unresolved

hmm, this sounds like hashfs bug. it should not call lstat so many times?

Junji Watanabe

I guess if multiple compiles start running in parallel with the filegroup. All compiles try to do the existence check in parallel competing each other?

Fumitoshi Ukai

I think precomputed tree compute digest once.
https://chromium.googlesource.com/build/+/refs/heads/main/siso/build/tree_input.go#127

Junji Watanabe

That is only when the filegroup is treated via [treeInput](https://source.chromium.org/chromium/build/+/main:siso/build/tree_input.go;l=82;bpv=1;bpt=1?q=treeInput%20-file:%5Eout%20-file:%5Egen), right?

If you add `foo:headers` to `inputs`, it's expanded as a normal filegroup, IIUC.

Gerrit-Comment-Date: Wed, 17 Jun 2026 04:22:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Junji Watanabe (Gerrit)

unread,
Jun 17, 2026, 12:24:32 AM (13 days ago) Jun 17
to Ryosuke Miyake, Fumitoshi Ukai, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com
Attention needed from Ryosuke Miyake

Junji Watanabe added 1 comment

File build/config/siso/clang_all.star
Line 85, Patchset 2 (Parent): "third_party/libc++/src/include:headers",
Junji Watanabe . unresolved

Probably, you can just remove this filegroup from the libcxx_inputs.

Gerrit-Comment-Date: Wed, 17 Jun 2026 04:23:59 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Fumitoshi Ukai (Gerrit)

unread,
Jun 17, 2026, 12:26:03 AM (13 days ago) Jun 17
to Ryosuke Miyake, Fumitoshi Ukai, Junji Watanabe, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com
Attention needed from Ryosuke Miyake

Fumitoshi Ukai added 1 comment

Commit Message
Line 13, Patchset 2 (Latest):inputs to all compiler targets unconditionally. This increases the
Fumitoshi Ukai . unresolved

hmm, this sounds like hashfs bug. it should not call lstat so many times?

Junji Watanabe

I guess if multiple compiles start running in parallel with the filegroup. All compiles try to do the existence check in parallel competing each other?

Fumitoshi Ukai

I think precomputed tree compute digest once.
https://chromium.googlesource.com/build/+/refs/heads/main/siso/build/tree_input.go#127

Junji Watanabe

That is only when the filegroup is treated via [treeInput](https://source.chromium.org/chromium/build/+/main:siso/build/tree_input.go;l=82;bpv=1;bpt=1?q=treeInput%20-file:%5Eout%20-file:%5Egen), right?

If you add `foo:headers` to `inputs`, it's expanded as a normal filegroup, IIUC.

Fumitoshi Ukai

yeah, but then it would cause hashfs contention, but not call lstat so much?

Gerrit-Comment-Date: Wed, 17 Jun 2026 04:25:35 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Junji Watanabe (Gerrit)

unread,
Jun 17, 2026, 12:55:07 AM (13 days ago) Jun 17
to Ryosuke Miyake, Fumitoshi Ukai, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com
Attention needed from Ryosuke Miyake

Junji Watanabe added 1 comment

Commit Message
Line 13, Patchset 2 (Latest):inputs to all compiler targets unconditionally. This increases the
Fumitoshi Ukai . unresolved

hmm, this sounds like hashfs bug. it should not call lstat so many times?

Junji Watanabe

I guess if multiple compiles start running in parallel with the filegroup. All compiles try to do the existence check in parallel competing each other?

Fumitoshi Ukai

I think precomputed tree compute digest once.
https://chromium.googlesource.com/build/+/refs/heads/main/siso/build/tree_input.go#127

Junji Watanabe

That is only when the filegroup is treated via [treeInput](https://source.chromium.org/chromium/build/+/main:siso/build/tree_input.go;l=82;bpv=1;bpt=1?q=treeInput%20-file:%5Eout%20-file:%5Egen), right?

If you add `foo:headers` to `inputs`, it's expanded as a normal filegroup, IIUC.

Fumitoshi Ukai

yeah, but then it would cause hashfs contention, but not call lstat so much?

Junji Watanabe

it would cause hashfs contention,

What symptoms may happen under hashfs contentions?

Gerrit-Comment-Date: Wed, 17 Jun 2026 04:54:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Fumitoshi Ukai (Gerrit)

unread,
Jun 17, 2026, 12:59:20 AM (13 days ago) Jun 17
to Ryosuke Miyake, Fumitoshi Ukai, Junji Watanabe, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com
Attention needed from Ryosuke Miyake

Fumitoshi Ukai added 1 comment

Commit Message
Line 13, Patchset 2 (Latest):inputs to all compiler targets unconditionally. This increases the
Fumitoshi Ukai . unresolved

hmm, this sounds like hashfs bug. it should not call lstat so many times?

Junji Watanabe

I guess if multiple compiles start running in parallel with the filegroup. All compiles try to do the existence check in parallel competing each other?

Fumitoshi Ukai

I think precomputed tree compute digest once.
https://chromium.googlesource.com/build/+/refs/heads/main/siso/build/tree_input.go#127

Junji Watanabe

That is only when the filegroup is treated via [treeInput](https://source.chromium.org/chromium/build/+/main:siso/build/tree_input.go;l=82;bpv=1;bpt=1?q=treeInput%20-file:%5Eout%20-file:%5Egen), right?

If you add `foo:headers` to `inputs`, it's expanded as a normal filegroup, IIUC.

Fumitoshi Ukai

yeah, but then it would cause hashfs contention, but not call lstat so much?

Junji Watanabe

it would cause hashfs contention,

What symptoms may happen under hashfs contentions?

Fumitoshi Ukai

hashfs operation becomes slightly slow?

Gerrit-Comment-Date: Wed, 17 Jun 2026 04:58:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Junji Watanabe (Gerrit)

unread,
Jun 17, 2026, 1:14:55 AM (13 days ago) Jun 17
to Ryosuke Miyake, Fumitoshi Ukai, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com
Attention needed from Ryosuke Miyake

Junji Watanabe added 1 comment

Commit Message
Line 13, Patchset 2 (Latest):inputs to all compiler targets unconditionally. This increases the
Fumitoshi Ukai . unresolved

hmm, this sounds like hashfs bug. it should not call lstat so many times?

Junji Watanabe

I guess if multiple compiles start running in parallel with the filegroup. All compiles try to do the existence check in parallel competing each other?

Fumitoshi Ukai

I think precomputed tree compute digest once.
https://chromium.googlesource.com/build/+/refs/heads/main/siso/build/tree_input.go#127

Junji Watanabe

That is only when the filegroup is treated via [treeInput](https://source.chromium.org/chromium/build/+/main:siso/build/tree_input.go;l=82;bpv=1;bpt=1?q=treeInput%20-file:%5Eout%20-file:%5Egen), right?

If you add `foo:headers` to `inputs`, it's expanded as a normal filegroup, IIUC.

Fumitoshi Ukai

yeah, but then it would cause hashfs contention, but not call lstat so much?

Junji Watanabe

it would cause hashfs contention,

What symptoms may happen under hashfs contentions?

Junji Watanabe

I don't know if I understand your replies. But, we observe slow lstat operations via [hashfs's lstat](https://source.chromium.org/chromium/build/+/main:siso/hashfs/osfs/osfs.go;l=147;drc=2b3c0dd099c66a67da5dc2c54ff37c80225432d2) call. This is why the size for LstatSemaphore was discussed in another CL.
Do you think that's a separate issue?

Gerrit-Comment-Date: Wed, 17 Jun 2026 05:14:28 +0000
satisfied_requirement
unsatisfied_requirement
open
diffy

Fumitoshi Ukai (Gerrit)

unread,
Jun 17, 2026, 1:23:11 AM (13 days ago) Jun 17
to Ryosuke Miyake, Fumitoshi Ukai, Junji Watanabe, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com
Attention needed from Ryosuke Miyake

Fumitoshi Ukai added 1 comment

Commit Message
Line 13, Patchset 2 (Latest):inputs to all compiler targets unconditionally. This increases the
Fumitoshi Ukai . unresolved

hmm, this sounds like hashfs bug. it should not call lstat so many times?

Junji Watanabe

I guess if multiple compiles start running in parallel with the filegroup. All compiles try to do the existence check in parallel competing each other?

Fumitoshi Ukai

I think precomputed tree compute digest once.
https://chromium.googlesource.com/build/+/refs/heads/main/siso/build/tree_input.go#127

Junji Watanabe

That is only when the filegroup is treated via [treeInput](https://source.chromium.org/chromium/build/+/main:siso/build/tree_input.go;l=82;bpv=1;bpt=1?q=treeInput%20-file:%5Eout%20-file:%5Egen), right?

If you add `foo:headers` to `inputs`, it's expanded as a normal filegroup, IIUC.

Fumitoshi Ukai

yeah, but then it would cause hashfs contention, but not call lstat so much?

Junji Watanabe

it would cause hashfs contention,

What symptoms may happen under hashfs contentions?

Junji Watanabe

I don't know if I understand your replies. But, we observe slow lstat operations via [hashfs's lstat](https://source.chromium.org/chromium/build/+/main:siso/hashfs/osfs/osfs.go;l=147;drc=2b3c0dd099c66a67da5dc2c54ff37c80225432d2) call. This is why the size for LstatSemaphore was discussed in another CL.
Do you think that's a separate issue?

Fumitoshi Ukai

hashfs keeps stat result (that's the main purpose of hashfs), so if hashfs stat repeatedly calls os lstat, it would be hashfs bug.

Gerrit-Comment-Date: Wed, 17 Jun 2026 05:22:35 +0000
satisfied_requirement
unsatisfied_requirement
open
diffy

Ryosuke Miyake (Gerrit)

unread,
Jun 17, 2026, 3:15:01 AM (13 days ago) Jun 17
to Junji Watanabe, Fumitoshi Ukai, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com
Attention needed from Fumitoshi Ukai, Junji Watanabe and Matt Stark

Ryosuke Miyake voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Fumitoshi Ukai
  • Junji Watanabe
  • Matt Stark
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • 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: Id00499bfe1a7752c4288cbd8c2f7f63d0326ad50
    Gerrit-Change-Number: 7950337
    Gerrit-PatchSet: 6
    Gerrit-Owner: Ryosuke Miyake <ry...@google.com>
    Gerrit-Reviewer: Fumitoshi Ukai <uk...@google.com>
    Gerrit-Reviewer: Junji Watanabe <jw...@google.com>
    Gerrit-Reviewer: Matt Stark <ms...@google.com>
    Gerrit-Reviewer: Ryosuke Miyake <ry...@google.com>
    Gerrit-Attention: Matt Stark <ms...@google.com>
    Gerrit-Attention: Junji Watanabe <jw...@google.com>
    Gerrit-Attention: Fumitoshi Ukai <uk...@google.com>
    Gerrit-Comment-Date: Wed, 17 Jun 2026 07:14:20 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Ryosuke Miyake (Gerrit)

    unread,
    Jun 17, 2026, 3:47:24 AM (13 days ago) Jun 17
    to Junji Watanabe, Fumitoshi Ukai, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com
    Attention needed from Fumitoshi Ukai, Junji Watanabe and Matt Stark

    Ryosuke Miyake voted and added 2 comments

    Votes added by Ryosuke Miyake

    Commit-Queue+1

    2 comments

    Commit Message
    Line 13, Patchset 2:inputs to all compiler targets unconditionally. This increases the
    Fumitoshi Ukai . unresolved

    hmm, this sounds like hashfs bug. it should not call lstat so many times?

    Junji Watanabe

    I guess if multiple compiles start running in parallel with the filegroup. All compiles try to do the existence check in parallel competing each other?

    Fumitoshi Ukai

    I think precomputed tree compute digest once.
    https://chromium.googlesource.com/build/+/refs/heads/main/siso/build/tree_input.go#127

    Junji Watanabe

    That is only when the filegroup is treated via [treeInput](https://source.chromium.org/chromium/build/+/main:siso/build/tree_input.go;l=82;bpv=1;bpt=1?q=treeInput%20-file:%5Eout%20-file:%5Egen), right?

    If you add `foo:headers` to `inputs`, it's expanded as a normal filegroup, IIUC.

    Fumitoshi Ukai

    yeah, but then it would cause hashfs contention, but not call lstat so much?

    Junji Watanabe

    it would cause hashfs contention,

    What symptoms may happen under hashfs contentions?

    Junji Watanabe

    I don't know if I understand your replies. But, we observe slow lstat operations via [hashfs's lstat](https://source.chromium.org/chromium/build/+/main:siso/hashfs/osfs/osfs.go;l=147;drc=2b3c0dd099c66a67da5dc2c54ff37c80225432d2) call. This is why the size for LstatSemaphore was discussed in another CL.
    Do you think that's a separate issue?

    Fumitoshi Ukai

    hashfs keeps stat result (that's the main purpose of hashfs), so if hashfs stat repeatedly calls os lstat, it would be hashfs bug.

    Ryosuke Miyake
    File build/config/siso/clang_all.star
    Line 85, Patchset 2 (Parent): "third_party/libc++/src/include:headers",
    Junji Watanabe . resolved

    Probably, you can just remove this filegroup from the libcxx_inputs.

    Ryosuke Miyake

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Fumitoshi Ukai
    • Junji Watanabe
    • Matt Stark
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • 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: Id00499bfe1a7752c4288cbd8c2f7f63d0326ad50
    Gerrit-Change-Number: 7950337
    Gerrit-PatchSet: 10
    Gerrit-Owner: Ryosuke Miyake <ry...@google.com>
    Gerrit-Reviewer: Fumitoshi Ukai <uk...@google.com>
    Gerrit-Reviewer: Junji Watanabe <jw...@google.com>
    Gerrit-Reviewer: Matt Stark <ms...@google.com>
    Gerrit-Reviewer: Ryosuke Miyake <ry...@google.com>
    Gerrit-Attention: Matt Stark <ms...@google.com>
    Gerrit-Attention: Junji Watanabe <jw...@google.com>
    Gerrit-Attention: Fumitoshi Ukai <uk...@google.com>
    Gerrit-Comment-Date: Wed, 17 Jun 2026 07:46:48 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Junji Watanabe (Gerrit)

    unread,
    Jun 17, 2026, 5:38:00 AM (13 days ago) Jun 17
    to Ryosuke Miyake, Fumitoshi Ukai, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com
    Attention needed from Fumitoshi Ukai, Matt Stark and Ryosuke Miyake

    Junji Watanabe voted and added 2 comments

    Votes added by Junji Watanabe

    Code-Review+1

    2 comments

    Commit Message
    Line 13, Patchset 2:inputs to all compiler targets unconditionally. This increases the
    Fumitoshi Ukai . resolved

    hmm, this sounds like hashfs bug. it should not call lstat so many times?

    Junji Watanabe

    I guess if multiple compiles start running in parallel with the filegroup. All compiles try to do the existence check in parallel competing each other?

    Fumitoshi Ukai

    I think precomputed tree compute digest once.
    https://chromium.googlesource.com/build/+/refs/heads/main/siso/build/tree_input.go#127

    Junji Watanabe

    That is only when the filegroup is treated via [treeInput](https://source.chromium.org/chromium/build/+/main:siso/build/tree_input.go;l=82;bpv=1;bpt=1?q=treeInput%20-file:%5Eout%20-file:%5Egen), right?

    If you add `foo:headers` to `inputs`, it's expanded as a normal filegroup, IIUC.

    Fumitoshi Ukai

    yeah, but then it would cause hashfs contention, but not call lstat so much?

    Junji Watanabe

    it would cause hashfs contention,

    What symptoms may happen under hashfs contentions?

    Junji Watanabe

    I don't know if I understand your replies. But, we observe slow lstat operations via [hashfs's lstat](https://source.chromium.org/chromium/build/+/main:siso/hashfs/osfs/osfs.go;l=147;drc=2b3c0dd099c66a67da5dc2c54ff37c80225432d2) call. This is why the size for LstatSemaphore was discussed in another CL.
    Do you think that's a separate issue?

    Fumitoshi Ukai

    hashfs keeps stat result (that's the main purpose of hashfs), so if hashfs stat repeatedly calls os lstat, it would be hashfs bug.

    Ryosuke Miyake

    Reference: http://crrev.com/c/7951179.

    Junji Watanabe

    (unblocking this CL.)

    File build/config/siso/clang_all.star
    Line 85, Patchset 1 (Parent): "third_party/libc++/src/include:headers",
    Junji Watanabe . resolved

    Does this CL mean `third_party/libc++/src/include:headers` wasn't necessary...?

    Junji Watanabe

    I guess it should rely on the Siso's internal handling for tree inputs rather than explicitly specifying ":headers" filegroup.
    https://source.chromium.org/chromium/build/+/main:siso/build/deps_gcc.go;l=91-100;drc=633997ad07f17a700a6822c5dbca050ec5ef26e6

    @uk...@google.com Can you confirm if this config was misuse?

    Fumitoshi Ukai

    `:headers` are specially handled if this directory is used as sysroot/include dirs on command line (as used as precomputed headers).

    other suffix are handled as just filegroup, so always expand.

    Junji Watanabe

    I wanted to ask if you specify :headers filegroup as an input like this, does it expand it repeatedly, which ended up having many lstats rather than reusing the precomputed tree?

    Junji Watanabe

    (unblocking)

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Fumitoshi Ukai
    • Matt Stark
    • Ryosuke Miyake
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement is not 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: Id00499bfe1a7752c4288cbd8c2f7f63d0326ad50
      Gerrit-Change-Number: 7950337
      Gerrit-PatchSet: 10
      Gerrit-Owner: Ryosuke Miyake <ry...@google.com>
      Gerrit-Reviewer: Fumitoshi Ukai <uk...@google.com>
      Gerrit-Reviewer: Junji Watanabe <jw...@google.com>
      Gerrit-Reviewer: Matt Stark <ms...@google.com>
      Gerrit-Reviewer: Ryosuke Miyake <ry...@google.com>
      Gerrit-Attention: Ryosuke Miyake <ry...@google.com>
      Gerrit-Attention: Matt Stark <ms...@google.com>
      Gerrit-Attention: Fumitoshi Ukai <uk...@google.com>
      Gerrit-Comment-Date: Wed, 17 Jun 2026 09:37:23 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Ryosuke Miyake <ry...@google.com>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Ryosuke Miyake (Gerrit)

      unread,
      Jun 17, 2026, 11:46:40 PM (12 days ago) Jun 17
      to Takuto Ikuta, Junji Watanabe, Fumitoshi Ukai, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com
      Attention needed from Fumitoshi Ukai, Matt Stark and Takuto Ikuta

      Ryosuke Miyake voted Commit-Queue+1

      Commit-Queue+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Fumitoshi Ukai
      • Matt Stark
      • Takuto Ikuta
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement is not 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: Id00499bfe1a7752c4288cbd8c2f7f63d0326ad50
      Gerrit-Change-Number: 7950337
      Gerrit-PatchSet: 10
      Gerrit-Owner: Ryosuke Miyake <ry...@google.com>
      Gerrit-Reviewer: Fumitoshi Ukai <uk...@google.com>
      Gerrit-Reviewer: Junji Watanabe <jw...@google.com>
      Gerrit-Reviewer: Matt Stark <ms...@google.com>
      Gerrit-Reviewer: Ryosuke Miyake <ry...@google.com>
      Gerrit-Reviewer: Takuto Ikuta <tik...@chromium.org>
      Gerrit-Attention: Takuto Ikuta <tik...@chromium.org>
      Gerrit-Attention: Matt Stark <ms...@google.com>
      Gerrit-Attention: Fumitoshi Ukai <uk...@google.com>
      Gerrit-Comment-Date: Thu, 18 Jun 2026 03:46:08 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Takuto Ikuta (Gerrit)

      unread,
      Jun 18, 2026, 12:40:33 AM (12 days ago) Jun 18
      to Ryosuke Miyake, Takuto Ikuta, Junji Watanabe, Fumitoshi Ukai, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com
      Attention needed from Fumitoshi Ukai, Matt Stark and Ryosuke Miyake

      Takuto Ikuta added 1 comment

      Commit Message
      Line 9, Patchset 10 (Latest):This change optimizes how Siso tracks libc++ headers to reduce the
      number of filesystem operations (lstat) on Windows.

      Previously, origin/main attached third_party/libc++/src/include:headers
      (~240 files) directly to compiler targets via libcxx_inputs. Because
      filegroups attached to executable dependencies are unconditionally
      expanded on every compile step rather than being optimized as
      precomputed sysroot trees, this generated excessive concurrent lstat
      calls on Windows.

      This change resolves the issue by removing libcxx_inputs from executable
      dependencies and instead mapping third_party/libc++/src/include via
      __input_deps directly to literal custom files (__config_site,
      __assertion_handler). Standard libc++ headers route dynamically through
      precomputed tree caching (tree_input.go) with zero filegroup expansion.

      Verified on win-build-perf-developer builder, confirming build success
      and eliminating regression.
      Takuto Ikuta . unresolved

      This description doesn't match with current patchset?

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Fumitoshi Ukai
      • Matt Stark
      • Ryosuke Miyake
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement satisfiedCode-Owners
        • requirement is not 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: Id00499bfe1a7752c4288cbd8c2f7f63d0326ad50
        Gerrit-Change-Number: 7950337
        Gerrit-PatchSet: 10
        Gerrit-Owner: Ryosuke Miyake <ry...@google.com>
        Gerrit-Reviewer: Fumitoshi Ukai <uk...@google.com>
        Gerrit-Reviewer: Junji Watanabe <jw...@google.com>
        Gerrit-Reviewer: Matt Stark <ms...@google.com>
        Gerrit-Reviewer: Ryosuke Miyake <ry...@google.com>
        Gerrit-Reviewer: Takuto Ikuta <tik...@chromium.org>
        Gerrit-Attention: Ryosuke Miyake <ry...@google.com>
        Gerrit-Attention: Matt Stark <ms...@google.com>
        Gerrit-Attention: Fumitoshi Ukai <uk...@google.com>
        Gerrit-Comment-Date: Thu, 18 Jun 2026 04:40:00 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Ryosuke Miyake (Gerrit)

        unread,
        Jun 18, 2026, 12:59:17 AM (12 days ago) Jun 18
        to Takuto Ikuta, Junji Watanabe, Fumitoshi Ukai, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com
        Attention needed from Fumitoshi Ukai, Matt Stark and Takuto Ikuta

        Ryosuke Miyake voted Commit-Queue+1

        Commit-Queue+1
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Fumitoshi Ukai
        • Matt Stark
        • Takuto Ikuta
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement satisfiedCode-Owners
        • requirement is not 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: Id00499bfe1a7752c4288cbd8c2f7f63d0326ad50
        Gerrit-Change-Number: 7950337
        Gerrit-PatchSet: 12
        Gerrit-Owner: Ryosuke Miyake <ry...@google.com>
        Gerrit-Reviewer: Fumitoshi Ukai <uk...@google.com>
        Gerrit-Reviewer: Junji Watanabe <jw...@google.com>
        Gerrit-Reviewer: Matt Stark <ms...@google.com>
        Gerrit-Reviewer: Ryosuke Miyake <ry...@google.com>
        Gerrit-Reviewer: Takuto Ikuta <tik...@chromium.org>
        Gerrit-Attention: Takuto Ikuta <tik...@chromium.org>
        Gerrit-Attention: Matt Stark <ms...@google.com>
        Gerrit-Attention: Fumitoshi Ukai <uk...@google.com>
        Gerrit-Comment-Date: Thu, 18 Jun 2026 04:58:50 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Ryosuke Miyake (Gerrit)

        unread,
        Jun 18, 2026, 12:59:37 AM (12 days ago) Jun 18
        to Takuto Ikuta, Junji Watanabe, Fumitoshi Ukai, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com
        Attention needed from Fumitoshi Ukai, Matt Stark and Takuto Ikuta

        Ryosuke Miyake added 1 comment

        Commit Message
        Line 9, Patchset 10:This change optimizes how Siso tracks libc++ headers to reduce the

        number of filesystem operations (lstat) on Windows.

        Previously, origin/main attached third_party/libc++/src/include:headers
        (~240 files) directly to compiler targets via libcxx_inputs. Because
        filegroups attached to executable dependencies are unconditionally
        expanded on every compile step rather than being optimized as
        precomputed sysroot trees, this generated excessive concurrent lstat
        calls on Windows.

        This change resolves the issue by removing libcxx_inputs from executable
        dependencies and instead mapping third_party/libc++/src/include via
        __input_deps directly to literal custom files (__config_site,
        __assertion_handler). Standard libc++ headers route dynamically through
        precomputed tree caching (tree_input.go) with zero filegroup expansion.

        Verified on win-build-perf-developer builder, confirming build success
        and eliminating regression.
        Takuto Ikuta . resolved

        This description doesn't match with current patchset?

        Ryosuke Miyake

        Done

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Fumitoshi Ukai
        • Matt Stark
        • Takuto Ikuta
        Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement satisfiedCode-Owners
          • requirement is not 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: Id00499bfe1a7752c4288cbd8c2f7f63d0326ad50
          Gerrit-Change-Number: 7950337
          Gerrit-PatchSet: 12
          Gerrit-Owner: Ryosuke Miyake <ry...@google.com>
          Gerrit-Reviewer: Fumitoshi Ukai <uk...@google.com>
          Gerrit-Reviewer: Junji Watanabe <jw...@google.com>
          Gerrit-Reviewer: Matt Stark <ms...@google.com>
          Gerrit-Reviewer: Ryosuke Miyake <ry...@google.com>
          Gerrit-Reviewer: Takuto Ikuta <tik...@chromium.org>
          Gerrit-Attention: Takuto Ikuta <tik...@chromium.org>
          Gerrit-Attention: Matt Stark <ms...@google.com>
          Gerrit-Attention: Fumitoshi Ukai <uk...@google.com>
          Gerrit-Comment-Date: Thu, 18 Jun 2026 04:59:02 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Takuto Ikuta <tik...@chromium.org>
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Takuto Ikuta (Gerrit)

          unread,
          Jun 18, 2026, 1:05:36 AM (12 days ago) Jun 18
          to Ryosuke Miyake, Takuto Ikuta, Junji Watanabe, Fumitoshi Ukai, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com
          Attention needed from Fumitoshi Ukai, Matt Stark and Ryosuke Miyake

          Takuto Ikuta voted and added 1 comment

          Votes added by Takuto Ikuta

          Code-Review+1

          1 comment

          Commit Message
          Line 25, Patchset 12 (Latest):Verified on win-build-perf-developer builder, confirming build success
          and eliminating regression.
          Takuto Ikuta . unresolved

          Could you leave link to this build as a reference?

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Fumitoshi Ukai
          • Matt Stark
          • Ryosuke Miyake
          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: Id00499bfe1a7752c4288cbd8c2f7f63d0326ad50
            Gerrit-Change-Number: 7950337
            Gerrit-PatchSet: 12
            Gerrit-Owner: Ryosuke Miyake <ry...@google.com>
            Gerrit-Reviewer: Fumitoshi Ukai <uk...@google.com>
            Gerrit-Reviewer: Junji Watanabe <jw...@google.com>
            Gerrit-Reviewer: Matt Stark <ms...@google.com>
            Gerrit-Reviewer: Ryosuke Miyake <ry...@google.com>
            Gerrit-Reviewer: Takuto Ikuta <tik...@chromium.org>
            Gerrit-Attention: Ryosuke Miyake <ry...@google.com>
            Gerrit-Attention: Matt Stark <ms...@google.com>
            Gerrit-Attention: Fumitoshi Ukai <uk...@google.com>
            Gerrit-Comment-Date: Thu, 18 Jun 2026 05:05:02 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: Yes
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Ryosuke Miyake (Gerrit)

            unread,
            Jun 18, 2026, 1:08:01 AM (12 days ago) Jun 18
            to Takuto Ikuta, Junji Watanabe, Fumitoshi Ukai, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com
            Attention needed from Fumitoshi Ukai and Matt Stark

            Ryosuke Miyake voted and added 1 comment

            Votes added by Ryosuke Miyake

            Commit-Queue+1

            1 comment

            Commit Message
            Line 25, Patchset 12:Verified on win-build-perf-developer builder, confirming build success
            and eliminating regression.
            Takuto Ikuta . resolved

            Could you leave link to this build as a reference?

            Ryosuke Miyake

            Done

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Fumitoshi Ukai
            • Matt Stark
            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: Id00499bfe1a7752c4288cbd8c2f7f63d0326ad50
              Gerrit-Change-Number: 7950337
              Gerrit-PatchSet: 13
              Gerrit-Owner: Ryosuke Miyake <ry...@google.com>
              Gerrit-Reviewer: Fumitoshi Ukai <uk...@google.com>
              Gerrit-Reviewer: Junji Watanabe <jw...@google.com>
              Gerrit-Reviewer: Matt Stark <ms...@google.com>
              Gerrit-Reviewer: Ryosuke Miyake <ry...@google.com>
              Gerrit-Reviewer: Takuto Ikuta <tik...@chromium.org>
              Gerrit-Attention: Matt Stark <ms...@google.com>
              Gerrit-Attention: Fumitoshi Ukai <uk...@google.com>
              Gerrit-Comment-Date: Thu, 18 Jun 2026 05:07:38 +0000
              Gerrit-HasComments: Yes
              Gerrit-Has-Labels: Yes
              Comment-In-Reply-To: Takuto Ikuta <tik...@chromium.org>
              satisfied_requirement
              open
              diffy

              Ryosuke Miyake (Gerrit)

              unread,
              Jun 18, 2026, 1:08:24 AM (12 days ago) Jun 18
              to Takuto Ikuta, Junji Watanabe, Fumitoshi Ukai, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com
              Attention needed from Fumitoshi Ukai and Matt Stark

              Ryosuke Miyake voted Commit-Queue+2

              Commit-Queue+2
              Gerrit-Comment-Date: Thu, 18 Jun 2026 05:07:52 +0000
              Gerrit-HasComments: No
              Gerrit-Has-Labels: Yes
              satisfied_requirement
              open
              diffy

              Chromium LUCI CQ (Gerrit)

              unread,
              Jun 18, 2026, 1:11:58 AM (12 days ago) Jun 18
              to Ryosuke Miyake, Takuto Ikuta, Junji Watanabe, Fumitoshi Ukai, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chrome-b...@google.com

              Chromium LUCI CQ submitted the change

              Unreviewed changes

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

              Change information

              Commit message:
              Siso: Optimize libc++ header tracking to reduce Windows lstat calls


              This change optimizes how Siso tracks libc++ headers to reduce the
              number of filesystem operations (lstat) on Windows.

              Previously, third_party/libc++/src/include:headers (~240 files) was
              included in libcxx_inputs, which is mapped as input dependencies to
              compiler executables (clang++, clang-cl, etc.). Because filegroups

              attached to executable dependencies are unconditionally expanded on
              every compile step, this generated excessive concurrent lstat calls on

              Windows.

              This change resolves the issue by removing
              third_party/libc++/src/include:headers from libcxx_inputs. Standard
              libc++ headers are already handled dynamically by Siso via precomputed
              tree caching with zero filegroup expansion, making the explicit
              filegroup dependency redundant.


              Verified on win-build-perf-developer builder, confirming build success
              and eliminating regression.
              Bug: 520246898
              Change-Id: Id00499bfe1a7752c4288cbd8c2f7f63d0326ad50
              Reviewed-by: Junji Watanabe <jw...@google.com>
              Commit-Queue: Ryosuke Miyake <ry...@google.com>
              Reviewed-by: Takuto Ikuta <tik...@chromium.org>
              Cr-Commit-Position: refs/heads/main@{#1648803}
              Files:
              • M build/config/siso/clang_all.star
              Change size: XS
              Delta: 1 file changed, 0 insertions(+), 1 deletion(-)
              Branch: refs/heads/main
              Submit Requirements:
              • requirement satisfiedCode-Review: +1 by Junji Watanabe, +1 by Takuto Ikuta
              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: Id00499bfe1a7752c4288cbd8c2f7f63d0326ad50
              Gerrit-Change-Number: 7950337
              Gerrit-PatchSet: 14
              Gerrit-Owner: Ryosuke Miyake <ry...@google.com>
              Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
              Gerrit-Reviewer: Fumitoshi Ukai <uk...@google.com>
              Gerrit-Reviewer: Junji Watanabe <jw...@google.com>
              Gerrit-Reviewer: Matt Stark <ms...@google.com>
              Gerrit-Reviewer: Ryosuke Miyake <ry...@google.com>
              Gerrit-Reviewer: Takuto Ikuta <tik...@chromium.org>
              open
              diffy
              satisfied_requirement
              Reply all
              Reply to author
              Forward
              0 new messages