April 25, 2015
7:35 a.m.
Hi, I want to get a feeling of how much faster Shout is compared to RBParser. This is a very simplistic bench: [Morph methods do: [:method | RBParser parseFaultyMethod: method sourceCode ]] bench. "'3.197 per second'" [Morph methods do: [ :method | SHTextStylerST80 new rangesIn: method sourceCode setWorkspace: false.]] bench "'2.797 per secondâ" This means that parsing performance alone is actually not bad with RB⦠(it would be interesting to look at edge casesâ¦) And then of course the next thing to do is the highlighting itself. Marcus