C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Benchmarking using the standard library as a module

From: Jens Maurer <jens.maurer_at_[hidden]>
Date: Tue, 26 May 2026 09:26:28 +0200
On 5/26/26 04:51, Adrian Johnston via Std-Proposals wrote:
> You are likely reading this email on a web browser that has over 30,000 C++ files. If you were to try compiling that web browser with an ideal 50ms per-file taken to import the standard library? That is an additional 25 minutes spent executing the single line* import std;* over and over again.

So, what's the alternative? Surely, splitting up standard library includes
will quickly accumulate to more than 50ms per source file, given the numbers
you posted.

Jens

Received on 2026-05-26 07:26:31