diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2022-12-19 18:45:39 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2022-12-22 23:14:25 +0530 |
commit | 5dd3413b717a470955ad0c6603d6d129ce2f5590 (patch) | |
tree | f8d61a95f2429867693d26103acb7717e45a4abc /docs/markdown/snippets | |
parent | c10a76fd95a438cbabf26033dc3d9e154c6e2960 (diff) | |
download | meson-5dd3413b717a470955ad0c6603d6d129ce2f5590.zip meson-5dd3413b717a470955ad0c6603d6d129ce2f5590.tar.gz meson-5dd3413b717a470955ad0c6603d6d129ce2f5590.tar.bz2 |
meson: Cache os.path.realpath in CLikeCompilerArgs
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.
Diffstat (limited to 'docs/markdown/snippets')
0 files changed, 0 insertions, 0 deletions