In principle gbench should exit the loop after a certain maximum
number of iterations, but it doesn't seem to happen, or for some
reason it takes way too much time.
In any case, as this benchmark is actually just a hack to inject a
sanity check, we might as well set it to run only 1 iteration.
I am not sure exactly why, but with the empty payload of BM_Cartesian3D_Sanity google benchmark seems to enter an infinite loop here: https://github.com/google/benchmark/blob/d0fbf8ac238d3bc3a111334ab3553173812d78e7/src/benchmark_runner.cc#L280-L303
In principle gbench should exit the loop after a certain maximum number of iterations, but it doesn't seem to happen, or for some reason it takes way too much time.
In any case, as this benchmark is actually just a hack to inject a sanity check, we might as well set it to run only 1 iteration.