google/benchmark

benchmark::MakeUnpredictable

Open

#341 opened on 2017年2月11日

GitHub で見る
 (13 comments) (0 reactions) (1 assignee)C++ (1,539 forks)batch import
enhancementhelp wantedincomplete

Repository metrics

Stars
 (7,968 stars)
PR merge metrics
 (平均マージ 4d 2h) (30d で 19 merged PRs)

説明

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.

コントリビューターガイド