DescriptionPre-cache PLY lex table and use optimized mode (5% build time improvement)
PLY lex table creation is (obviously) expensive.
Pre-caching this in a separate build step improves build time.
This is much less of an improvement than the parse table,
as the lexical grammar is much simpler than the phrase grammar,
but:
* it's a quick win, and
* will allow us to use Python's optimized mode (hopefully more win).
Improves build time (user time) by 5% on my Linux box:
59s => 56s
Followup to:
Pre-cache PLY yacc parse table and use optimized mode (45% build time improvement)
https://codereview.chromium.org/184233005/
BUG=341748
R=haraken
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168630
Patch Set 1 #Patch Set 2 : Fix import path handling #
Total comments: 2
Patch Set 3 : Fix order #
Messages
Total messages: 9 (0 generated)
|