WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 81100
Web Inspector: use class name indexes instead of class names when evaluating aggregates
https://bugs.webkit.org/show_bug.cgi?id=81100
Summary
Web Inspector: use class name indexes instead of class names when evaluating ...
Yury Semikhatsky
Reported
2012-03-14 06:20:48 PDT
Use class name indexes instead of class names when evaluating aggregates. Class name lookup followed by string comparison takes significantly longer time then comparison of the class name indexes. For node type comparison it is also much faster to compare its integer value instead of strings.
Attachments
Patch
(5.67 KB, patch)
2012-03-14 06:25 PDT
,
Yury Semikhatsky
no flags
Details
Formatted Diff
Diff
Patch
(7.43 KB, patch)
2012-03-14 08:50 PDT
,
Yury Semikhatsky
pfeldman
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Yury Semikhatsky
Comment 1
2012-03-14 06:25:06 PDT
Created
attachment 131835
[details]
Patch
Yury Semikhatsky
Comment 2
2012-03-14 06:56:10 PDT
Comment on
attachment 131835
[details]
Patch Please ignore this patch.
Yury Semikhatsky
Comment 3
2012-03-14 08:50:58 PDT
Created
attachment 131863
[details]
Patch
Yury Semikhatsky
Comment 4
2012-03-14 08:52:25 PDT
This patch makes _buildAggregates ~ 35% faster.
Ilya Tikhonovsky
Comment 5
2012-03-14 08:58:16 PDT
Comment on
attachment 131863
[details]
Patch lgtm
Yury Semikhatsky
Comment 6
2012-03-14 09:20:53 PDT
Committed
r110707
: <
http://trac.webkit.org/changeset/110707
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug