Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Improve ClangCL compilation time on Windows. #55208

Copy link
Copy link

Description

@StefanStojanovic
Issue body actions

Version

main branch

Platform

Windows

Subsystem

build

What steps will reproduce the bug?

Compiling Node.js with ClangCL eg. running vcbuild.bat clang-cl.

How often does it reproduce? Is there a required condition?

Always.

What is the expected behavior? Why is that the expected behavior?

I expect small, subtle differences between MSVC and ClangCL compilation time.

What do you see instead?

ClangCL compilation is ~2.5 slower (less with x64, more with ARM64).

Additional information

The main difference is that ClangCL doesn't use precompiled headers, which MSVC does. There might be others too.

Refs: #52809

Reactions are currently unavailable

Metadata

Metadata

Labels

buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

Morty Proxy This is a proxified and sanitized view of the page, visit original site.