You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Description
This PR introduces precompiled header (PCH) support for ONNX Runtime
targets that exhibited the longest build times when built with the MSVC
toolset. By analyzing build performance, I identified a subset of
targets with significant compilation overhead due to repeated header
processing. Enabling PCH for these targets reduces redundant parsing,
improving incremental and full build performance.
Changes include:
Added PCH configuration to selected CMake targets with the highest build
cost in MSVC builds.
Ensured PCH setup is compatible with the existing build configurations.
Verified successful compilation and linkage with PCH enabled under MSVC.
Impact:
~30% reduction in build time
0 commit comments