summaryrefslogtreecommitdiffstats
path: root/WebKit
diff options
context:
space:
mode:
authorGrace Kloba <klobag@google.com>2009-06-26 14:06:35 -0700
committerGrace Kloba <klobag@google.com>2009-06-26 14:06:35 -0700
commitdac9d5be4c497a51b6e083bc9b232977d8e195c1 (patch)
treed0ffa8c15e38475b1fb61133ab609349d75579c2 /WebKit
parent14d2a338a0dd9fe7f2e7833ce90aed2f6eef6e34 (diff)
downloadexternal_webkit-dac9d5be4c497a51b6e083bc9b232977d8e195c1.zip
external_webkit-dac9d5be4c497a51b6e083bc9b232977d8e195c1.tar.gz
external_webkit-dac9d5be4c497a51b6e083bc9b232977d8e195c1.tar.bz2
Add JavaScript parsing into instrumentation. Also modify css parsing calculations.
Diffstat (limited to 'WebKit')
-rw-r--r--WebKit/android/TimeCounter.cpp1
-rw-r--r--WebKit/android/TimeCounter.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/WebKit/android/TimeCounter.cpp b/WebKit/android/TimeCounter.cpp
index 96fb180..b423441 100644
--- a/WebKit/android/TimeCounter.cpp
+++ b/WebKit/android/TimeCounter.cpp
@@ -66,6 +66,7 @@ uint32_t TimeCounter::sStartTime[TimeCounter::TotalTimeCounterCount];
static const char* timeCounterNames[] = {
"css parsing",
"javascript",
+ "javascript parsing",
"calculate style",
"Java callback (frame bridge)",
"parsing (may include calcStyle or Java callback)",
diff --git a/WebKit/android/TimeCounter.h b/WebKit/android/TimeCounter.h
index f15deef..054141b 100644
--- a/WebKit/android/TimeCounter.h
+++ b/WebKit/android/TimeCounter.h
@@ -42,8 +42,9 @@ class TimeCounter {
public:
enum Type {
// function base counters
- CSSTimeCounter,
+ CSSParseTimeCounter,
JavaScriptTimeCounter,
+ JavaScriptParseTimeCounter,
CalculateStyleTimeCounter,
JavaCallbackTimeCounter,
ParsingTimeCounter,