From edba570664b952facde43fd0414e60f0a42851da Mon Sep 17 00:00:00 2001 From: Jade Lovelace Date: Mon, 18 Mar 2024 23:06:34 -0700 Subject: HOT SALE: 15% off your build times! This was achieved by running maintainers/buildtime_report.sh on the build directory of a meson build, then asking "why the heck is json eating our build times", and strategically moving the json using bits out of widely included headers. It turns out that putting literally any metrics whatsoever into the build had immediate and predictable results. Results are 1382.5s frontend time -> 1175.4s frontend time, back end time approximately invariant. Related: https://git.lix.systems/lix-project/lix/issues/159 Change-Id: I7edea95c8536203325c8bb4dae5f32d727a21b2d --- src/libutil/args.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libutil/args.cc') diff --git a/src/libutil/args.cc b/src/libutil/args.cc index 3e39b4d7c..520f50c30 100644 --- a/src/libutil/args.cc +++ b/src/libutil/args.cc @@ -2,6 +2,7 @@ #include "args/root.hh" #include "hash.hh" #include "json-utils.hh" +#include "experimental-features-json.hh" #include -- cgit v1.2.3