lix-releng-staging/misc
jade 0f99ed43f1 build-time: remove 20% more by PCH'ing C++ stdlib
It seems like someone implemented precompiled headers a long time ago
and then it never got ported to meson or maybe didn't work at all.

This is, however, blessedly easy to simply implement. I went looking for
`#define` that could affect the result of precompiling the headers, and
as far as I can tell we aren't doing any of that, so this should truly
just be free build time savings.

Previous state:
Compilation (551 times):
  Parsing (frontend):         1302.1 s
  Codegen & opts (backend):    956.3 s

New state:
**** Time summary:
Compilation (567 times):
  Parsing (frontend):         1123.0 s
  Codegen & opts (backend):   1078.1 s

I wonder if the "regression" in codegen time is just doing the PCH
operation a few times, because meson does it per-target.

Change-Id: I664366b8069bab4851308b3a7571bea97ac64022
2024-05-30 21:54:21 +00:00
..
bash remove the autoconf+Make buildsystem 2024-05-07 17:04:30 -06:00
fish remove the autoconf+Make buildsystem 2024-05-07 17:04:30 -06:00
flake-registry Deprecate the online flake registries and vendor the default registry 2024-05-18 12:27:23 +10:00
launchd remove the autoconf+Make buildsystem 2024-05-07 17:04:30 -06:00
systemd remove the autoconf+Make buildsystem 2024-05-07 17:04:30 -06:00
systemv Add pre-commit checks 2024-03-29 22:57:40 -07:00
zsh remove the autoconf+Make buildsystem 2024-05-07 17:04:30 -06:00
clangbuildanalyzer.nix flake: fix devShell on i686-linux by disabling ClangBuildAnalyzer on it 2024-05-07 15:31:25 -06:00
meson.build Deprecate the online flake registries and vendor the default registry 2024-05-18 12:27:23 +10:00
pre-commit.nix build-time: remove 20% more by PCH'ing C++ stdlib 2024-05-30 21:54:21 +00:00