|
|
NOT FOR LANDING: Hack up CSSParser for speed.
This saves 18-35% depending on what you're parsing. It totally disables the fast
path though which exposes that parsing some things (ex. colors) don't improve with
this set of changes, but parsing things like transform when you miss the fast path
are quite a lot better. If we left in the fast path that would be bad since it
penalizes all callers to .transform = "" that miss the fast path.
We should continue to explore more ideas to speed up the parser, if the fast
path can parse a color 3x faster today, we totally want that when parsing sheets
too and not just when parsing .style.foo assignments.
BUG= 605792
Total comments: 15
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+374 lines, -75 lines) |
Patch |
 |
M |
third_party/WebKit/Source/core/css/CSSPrimitiveValue.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
|
View
|
|
2 chunks |
+132 lines, -1 line |
3 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/CSSVariableData.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/CSSVariableData.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/parser/CSSParserImpl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
1 comment
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/parser/CSSParserToken.cpp
|
View
|
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/parser/CSSParserTokenRange.h
|
View
|
|
2 chunks |
+3 lines, -8 lines |
2 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
1 comment
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/parser/CSSTokenizer.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
2 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/parser/CSSTokenizer.cpp
|
View
|
|
7 chunks |
+184 lines, -15 lines |
2 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/parser/CSSTokenizerInputStream.h
|
View
|
1
|
3 chunks |
+31 lines, -12 lines |
4 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/parser/CSSTokenizerInputStream.cpp
|
View
|
1
|
2 chunks |
+3 lines, -24 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/parser/CSSTokenizerTest.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp
|
View
|
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
Total messages: 8 (2 generated)
|