Limit maximum number of iterations in folly::Benchmark with bm_max_iters
Summary: We are using `bm_max_iters` in folly and other part of the code in fbcode but it didn't really exist in Benchmark.cpp. For example: https://github.com/facebook/folly/blob/master/folly/test/function_benchmark/main.cpp#L29 This patch adds back this functionality. This diff depends on D3990600. Reviewed By: yfeldblum Differential Revision: D3989499 fbshipit-source-id: d2303b2bebb196e84a592d54a72af68171971491
Showing
Please register or sign in to comment