With this change, compilation saw a 2.4x improvement.
This can be combined with unity build to give an overall 4x improvement
Depends on D13797
Differential D13798 Authored by Aaron Carlisle (Blendify) on Jan 11 2022, 7:30 AM.
Details Summary With this change, compilation saw a 2.4x improvement. This can be combined with unity build to give an overall 4x improvement Depends on D13797
Diff Detail
Event TimelineAaron Carlisle (Blendify) created this revision. Aaron Carlisle (Blendify) added a parent revision: D13797: Build: use precompiled headers on all platforms.Jan 11 2022, 7:34 AM Aaron Carlisle (Blendify) retitled this revision from Cleanup: Use cmake's native precompiled header support to Cleanup: Add precompiled headers for `bf_compositor`.Jan 11 2022, 7:40 AM Comment Actions I am fine with the change, but I should not sign off on this ticket. CMake isn't my expertise. So will leave that for the other reviewers. Comment Actions Yeah, I tried to include any system includes along with any includes that are used often. These operations are generic and used often by other operations. Sergey Sharybin (sergey) edited reviewers, added: Sybren A. Stüvel (sybren), Campbell Barton (campbellbarton); removed: Sergey Sharybin (sergey).Jan 11 2022, 9:45 AM Sergey Sharybin (sergey) added inline comments.
Aaron Carlisle (Blendify) added inline comments.
Aaron Carlisle (Blendify) marked an inline comment as done. Comment Actions
Comment Actions As you pointed out on chat, there's maybe a another 500ms to gain by adding COM_Debug.h , but all the really expensive stuff has been taken care of already, up to you if you want to include it, accepted regardless. This revision is now accepted and ready to land.Jan 11 2022, 9:10 PM Closed by commit rB48ff9b57f8a5: Build: Add precompiled headers for `bf_compositor` (authored by Aaron Carlisle (Blendify)). · Explain WhyJan 11 2022, 10:51 PM This revision was automatically updated to reflect the committed changes. Large DiffThis large diff affects 128 files. Files without inline comments have been collapsed. Expand All Files
Revision Contents
Diff 46917 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||