24 "../../third_party/WebKit/Source/WebCore/" 25 "platform/leveldb/LevelDBWriteBatch.cpp";
32 size_t len = strlen(
kPath);
35 for (
int j = 0; j < 5; ++j) {
36 const int kNumRepetitions = 2000000;
39 for (
int i = 0; i < kNumRepetitions; ++i) {
43 times.push_back(delta);
49 for (
size_t i = 0; i < times.size(); ++i) {
53 else if (times[i] > max)
57 printf(
"min %dms max %dms avg %.1fms\n",
58 min, max, total / times.size());
bool CanonicalizePath(string *path, uint64_t *slash_bits, string *err)
int64_t GetTimeMillis()
Get the current time as relative to some epoch.
signed long long int64_t
A 64-bit integer type.
unsigned long long uint64_t