google/benchmark

benchmark::MakeUnpredictable

Open

#341 aberto em 11 de fev. de 2017

Ver no GitHub
 (13 comments) (0 reactions) (1 assignee)C++ (1.539 forks)batch import
enhancementhelp wantedincomplete

Métricas do repositório

Stars
 (7.968 stars)
Métricas de merge de PR
 (Mesclagem média 4d 2h) (19 fundiu PRs em 30d)

Description

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.

Guia do colaborador