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;
36 for (
int i = 0; i < kNumRepetitions; ++i) {
40 times.push_back(delta);
46 for (
size_t i = 0; i < times.size(); ++i) {
50 else if (times[i] > max)
54 printf(
"min %dms max %dms avg %.1fms\n",
55 min, max, total / times.size());
int64_t GetTimeMillis()
Get the current time as relative to some epoch.
bool CanonicalizePath(string *path, string *err)
Canonicalize a path like "foo/../bar.h" into just "bar.h".
signed long long int64_t
A 64-bit integer type.