Syntax error causes 10x slower syntax checking and generation of image

0 votes
asked May 23, 2016 in Bug by krasa (820 points)

http://pastebin.com/qGdFbP5p

without syntax error  - all images generated in: 5,5s

with syntax error : 52s

SyntaxChecker#checkSyntaxFair: 52s

using beta https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

1 Answer

0 votes
answered May 23, 2016 by plantuml (294,960 points)
selected Jun 8, 2016 by krasa
 
Best answer
Thanks for the feedback, and the complete example : it really helps!

This was caused by the parser which is far from beeing optimized.

We have not fully fixed the issue, but we have a beta version that works faster.

You can download it here https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

Tell us if it's working for you!
commented May 23, 2016 by krasa (820 points)
amazing, seems pretty fixed to me, thanks!
...