meson/mesonbuild/compilers
Nirbheek Chauhan 5dd3413b71 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.
2022-12-22 23:14:25 +05:30
..
mixins meson: Cache os.path.realpath in CLikeCompilerArgs 2022-12-22 23:14:25 +05:30
__init__.py compilers: don't export every compiler as a top-level property 2022-09-19 15:19:00 -04:00
asm.py nasm: Fix get_optimization_args() 2022-11-05 19:02:27 -04:00
c.py Add warning_level=everything 2022-11-27 16:50:48 -05:00
c_function_attributes.py Add cc.has_function_attribute('sentinel') 2022-05-19 15:05:53 -04:00
compilers.py compilers: Make sure to not use ccache in compiler checks 2022-10-25 17:24:56 -04:00
cpp.py Add warning_level=everything 2022-11-27 16:50:48 -05:00
cs.py Compilers: Keep ccache and exelist separated 2022-10-25 17:24:56 -04:00
cuda.py pylint: enable the set_membership plugin 2022-11-30 16:23:29 -05:00
cython.py OptionOverrideProxy: Make it immutable to avoid copies 2022-03-22 17:20:48 -04:00
d.py pylint: enable the set_membership plugin 2022-11-30 16:23:29 -05:00
detect.py Compilers: Keep ccache and exelist separated 2022-10-25 17:24:56 -04:00
fortran.py pylint: enable the set_membership plugin 2022-11-30 16:23:29 -05:00
java.py pylint: enable the set_membership plugin 2022-11-30 16:23:29 -05:00
objc.py Add warning_level=everything 2022-11-27 16:50:48 -05:00
objcpp.py Add warning_level=everything 2022-11-27 16:50:48 -05:00
rust.py compilers: Make sure to not use ccache in compiler checks 2022-10-25 17:24:56 -04:00
swift.py Compilers: Keep ccache and exelist separated 2022-10-25 17:24:56 -04:00
vala.py Compilers: Keep ccache and exelist separated 2022-10-25 17:24:56 -04:00