Skip to content

Commit 3edd921

Browse files
yfeldblummeta-codesync[bot]
authored andcommitted
random engine benchmark should parse CLI args
Summary: TSIA. Differential Revision: D91149502 fbshipit-source-id: 590ff907a8e7e9dc2aa6f1de2f33fa786ca84c36
1 parent ff79c34 commit 3edd921

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

third-party/folly/src/folly/random/test/engine_bench.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,8 @@ BENCHMARK(next_folly_xoshiro256pp_64, iters) {
195195
bm_next<rng_t>(iters);
196196
}
197197

198-
int main() {
198+
int main(int argc, char** argv) {
199+
folly::gflags::ParseCommandLineFlags(&argc, &argv, true);
199200
folly::runBenchmarks();
200201
return 0;
201202
}

0 commit comments

Comments
 (0)