Add a class variable flag to enable or disable benchmarks of the naive algorithms.