Blender Git Commit Log

Git Commits -> Revision 054ab92

Revision 054ab92 by Sergey Sharybin (master)
October 8, 2019, 14:06 (GMT)
Depsgraph: Avoid threading for trivial operations

Found this while looking into T70463, solves the high spinning times
mentioned in T70463#791026.

Sounds logical that iterating over an array to modify a single property
is faster than doing it in threads. But strangely, doing it for both
nodes and its components is still faster in threads here.

Gives extra speedup with a file mentioned in the report.

Reviewed By: brecht, mont29

Differential Revision: https://developer.blender.org/D6017

Commit Details:

Full Hash: 054ab92f8b2caa795162765dee08f749563994c7
Parent Commit: abc36ca
Lines Changed: +20, -73

3 Modified Paths:

/source/blender/depsgraph/intern/depsgraph_tag.cc (+10, -24) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval.cc (+4, -17) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_flush.cc (+6, -32) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021