Blender Git Commit Log
Git Commits -> Revision 1324659
Revision 1324659 by Bastien Montagne (master) June 4, 2019, 21:51 (GMT) |
GTests: BLI_task: Add basic tests for BLI_task_parallel_listbase(), and some performances benchmarks. Nothing special to mention about regression test itself, it basically mimics the one for `BLI_task_parallel_mempool()`... Basic performances benchmarks do not tell us much, besides the fact that for very light processing of listbase, even with 100k items, single-thread remains an order of magnitude faster than threaded code. Synchronization is just way too expensive in that case with current code. This should be partially solvable with much bigger (and configurable) chunk sizes though (current ones are just ridiculous for such cases ;) )... |
Commit Details:
Full Hash: 1324659dee4981bce37557febb446710547fb646
Parent Commit: 30d9366
Lines Changed: +242, -1
1 Added Path:
/tests/gtests/blenlib/BLI_task_performance_test.cc (+192, -0) (View)