Summary: [Folly] Fully clean up before each round of benchmarks in `RangeFindBenchmark.cpp`.
The `vstr` and `vstrp` globals need to be cleaned up before each round of benchmarks.
Reviewed By: @@nbronson
Differential Revision:
D2467254
std::string file;
void initStr(int len) {
- cout << "string length " << len << ':' << endl;
str.clear();
+ vstr.clear();
+ vstrp.clear();
+
+ cout << "string length " << len << ':' << endl;
str.reserve(len + 1);
str.append(len, 'a');
str.append(1, 'b');