22 "../../third_party/WebKit/Source/WebCore/" 23 "platform/leveldb/LevelDBWriteBatch.cpp";
30 size_t len = strlen(
kPath);
33 for (
int j = 0; j < 5; ++j) {
34 const int kNumRepetitions = 2000000;
37 for (
int i = 0; i < kNumRepetitions; ++i) {
41 times.push_back(delta);
47 for (
size_t i = 0; i < times.size(); ++i) {
51 else if (times[i] > max)
55 printf(
"min %dms max %dms avg %.1fms\n",
56 min, max, total / times.size());
bool CanonicalizePath(string *path, uint64_t *slash_bits, string *err)
Canonicalize a path like "foo/../bar.h" into just "bar.h".
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