mirror of
https://gitlab.com/qemu-project/meson.git
synced 2025-07-03 00:40:49 +08:00

Profiling showed that we were spending 25s inside os.path.realpath() on Windows while generating compile lines for build.ninja, inside NinjaBackend.generate() The real path for these will not (should not) change during a single meson invocation, so cache all these. Brings build.ninja generation from 73s to 47s on my machine.