proxygen
BitIteratorBench.cpp File Reference
#include <folly/container/BitIterator.h>
#include <algorithm>
#include <glog/logging.h>
#include <folly/Benchmark.h>
#include <folly/init/Init.h>
#include <folly/small_vector.h>

Go to the source code of this file.

Functions

 BENCHMARK (SimpleFFSTest, iters)
 
 BENCHMARK (RealFFSTest, iters)
 
int main (int argc, char **argv)
 

Function Documentation

BENCHMARK ( SimpleFFSTest  ,
iters   
)

Definition at line 93 of file BitIteratorBench.cpp.

93  {
94  runSimpleFFSTest(iters);
95 }
BENCHMARK ( RealFFSTest  ,
iters   
)

Definition at line 96 of file BitIteratorBench.cpp.

96  {
97  runRealFFSTest(iters);
98 }
int main ( int  argc,
char **  argv 
)

Definition at line 109 of file BitIteratorBench.cpp.

References folly::init(), and folly::runBenchmarks().

109  {
110  folly::init(&argc, &argv);
112  return 0;
113 }
void runBenchmarks()
Definition: Benchmark.cpp:456
void init(int *argc, char ***argv, bool removeFlags)
Definition: Init.cpp:34
char ** argv