Library Overrides - investigate further performances issues. #54762
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
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
EEVEE & Viewport
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
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
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
EEVEE & Viewport
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
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#54762
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Generating library override operation for a production character (like Autumn in Spring) implies going over and comparing several hundreds of thousands of RNA properties... No way to make this lightning fast, some ideas would be to try to remove (prune) paths that are not supposed to change ever... Not yet sure how to do this though, we already skip a good share of the whole RNA tree.
2a38b857f7
already tackled all low hanging fruits here, any further improvement will likely require deeper work for much less gain…Added subscribers: @mont29, @spockTheGray-4
Added subscriber: @Blazej-Floch
First off thanks for all the work that has gone into the library overrides.
We tested them on our production rigs but find this very issue to be showstopping.
Just selecting any control results in a 4 seconds delay, 3 of which are the mentioned RNA property comparisons - the hottest path being string comparisons.
When we disable Undo the delay reduces to 1 second (evaluation of the rig only).
We are neither sure why the full rig is evaluated nor why a selection of a control would result in a Undo-step record. That's something we need to look into separately.
But the performance issue discussed here still stands.
Any suggestions on how to speed up the process?
@Blazej-Floch thanks for testing and reporting!
Are you using latest master? Commit
2a38b857f7
should have made things already much, much better than the 2.81 release situation on that aspect. Though there should still be some more improvements possible here…Thanks for the quick reply. I was not aware of this change on master.
The override time is now reduced to ~500 ms! I'll pass a build on to our production for further testing.
Thanks a lot.
BTW: A debug definition was left in that commit ;)
https://developer.blender.org/diffusion/B/browse/master/source/blender/makesrna/intern/rna_access_compare_override.c$30
Arg, thanks for noting that debug print! xD
Static Overrides - investigate further performances issues.to Library Overrides - investigate further performances issues.The following commits made typical override handling of complex production character several times faster again:
d5954ef11c
722adcfc48
44f7852660
Changed status from 'Confirmed' to: 'Resolved'
Would consider this as done/solved for now as well.