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

0 votes
asked May 23, 2016 in bug by Meo (910 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 (131,770 points)
selected Jun 8, 2016 by Meo
 
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 Meo (910 points)
amazing, seems pretty fixed to me, thanks!
...