USD: Use pre-compiled headers #110027

Merged
Ray molenkamp merged 3 commits from LazyDodo/blender:tmp_usd_pch into main 2023-07-12 22:56:05 +02:00
Member

bf_usd is a bit slow to build, and most time is spend on the front end
of the compiler parsing USD's headers.

this change enables pre-compiled headers for the most expensive
headers to parse.

When building bf_usd single threaded with -j1 (for accurate measurements)

before Wall time:      0h 4min 30sec 931 ms 504299 ns
after  Wall time:      0h 0min 50sec 808 ms 24399 ns
bf_usd is a bit slow to build, and most time is spend on the front end of the compiler parsing USD's headers. this change enables pre-compiled headers for the most expensive headers to parse. When building `bf_usd` single threaded with -j1 (for accurate measurements) ``` before Wall time: 0h 4min 30sec 931 ms 504299 ns after Wall time: 0h 0min 50sec 808 ms 24399 ns ```
Ray molenkamp added 2 commits 2023-07-12 19:43:04 +02:00
bf_usd is a bit slow to build, and most time is spend on the front end
of the compiler parsing USD's headers.

this change enables pre-compiled headers for the most expensive
headers to parse.

When building single threaded with -j1 (for accurate measurements)

```
before Wall time:      0h 4min 30sec 931 ms 504299 ns
after  Wall time:      0h 0min 50sec 808 ms 24399 ns
```
Cleanup: make format
Some checks failed
buildbot/vexp-code-patch-coordinator Build done.
411fb3aa78
Author
Member

@blender-bot build

@blender-bot build
Ray molenkamp added 1 commit 2023-07-12 19:51:11 +02:00
Merge remote-tracking branch 'origin/main' into tmp_usd_pch
All checks were successful
buildbot/vexp-code-patch-coordinator Build done.
af2c42d06e
Author
Member

@blender-bot build

@blender-bot build
Michael Kowalski approved these changes 2023-07-12 22:49:20 +02:00
Michael Kowalski left a comment
Member

These changes look good to me.

These changes look good to me.
Ray molenkamp merged commit 98336cb8ca into main 2023-07-12 22:56:05 +02:00
Ray molenkamp deleted branch tmp_usd_pch 2023-07-12 22:56:06 +02:00
Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#110027
No description provided.