benchmark::MakeUnpredictable
Author: MaratyszczaCreated Feb 11, 2017Updated Feb 7, 2026
Labelsenhancementhelp wantedincomplete
folly::benchmark includes makeUnpredictable function to hide a compile-time constant value of a variable from optimizer. This is a very useful feature, and google::benchmark should provide something similar.
Source: google/benchmark