Skip to content

Performance increase for many_holes benchmark

Darcy Beurle requested to merge perf into master

This work mostly involves performance optimisations for the aforementioned benchmark. There should be a few seconds off the compute time for the 2d mesh (verify?). Other misc. cleaning was done.

  • A hot comparison operator was moved to allow inlining and some minor loop index caching for buildVertexToElement
  • Swapped out std::set and replaced with sorted vector to reduce RB tree comparisons

The next easy step is to reduce the amount of memory allocations, see #399 (closed).

Edited by Darcy Beurle

Merge request reports