Commit 999d170e authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Move doc parsing out of JsParser & CssParser.

Instead do it in SourceFile which bind it all together with Merger.

This move brought out some glaring errors in previous benchmarks -
the JsParser also did doc-parsing while EsprimaParser did none of it.
Now things are much more equal and EsprimaParser receives a larger
performance penalty.

Again, parsing full Sencha Touch sources:

JsParser:      2.9s
EsprimaParser: 4.5s
parent 1307ebbb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment