This has come up a few times on chat but no-one ever acted on it. The lattice_deform_performance test has no business running by default for the following reasons:
- There's no asserts, the test actually cannot fail.
- Nothing is monitoring these numbers, even if it were to slow down one day by 20% no-one would notice.
- It is one of the longer tests in bf_blenkernel_tests responsible for 2979 ms out of 3559 ms total.
- We all run it on a daily basis with seemingly no benefit whatsoever.
If one were to work on the lattice code it is without a doubt a good thing to have, so I'm not advocating to remove it completely.
Other parts of our test code like the mesh intersection code has performance tests, however those are disabled by default with an ifdef guard, this change adds a similar guard to the lattice_deform_test