|
Re: XText builder run takes many minutes on eclipse start [message #981378 is a reply to message #977795] |
Mon, 12 November 2012 11:13 |
|
Hi Dimitry,
the grammar alone won't be enough to tackle your performance issues. There are so many different aspects that influence performance that it needs the whole project and relevant test data in the size where performance problems can be observed. Or do you have just the default implementation generated from your grammar without customizations?
The first place to look at is scoping. Note that every element for which a qualified name is computed will be in the Index. If elements don't need to be referenced it is a good idea to avoid that those are exported to the Index.
You could use a profiling tool to identify some of your hot spots.
BTW: Which Xtext version are we talking about? Performance and scalability is improving steadily which each release.
Regards,
~Karsten
Need professional support for Xtext, EMF, Eclipse IDE?
Go to: http://devhub.karakun.com
Twitter : @kthoms
Blog : www.karsten-thoms.de
|
|
|
Re: XText builder run takes many minutes on eclipse start [message #981603 is a reply to message #977795] |
Mon, 12 November 2012 14:49 |
Sven Efftinge Messages: 1823 Registered: July 2009 |
Senior Member |
|
|
Hi Dimitry,
itemis provides professional support services around Xtext and Eclipse
Modeling in general. We have a lot of experience in measuring and
optimizing performance and would be glad to help you.
Please send me an E-mail if you are interested in this kind of support
so we can discuss the details.
Regards,
Sven
Am 11/9/12 4:44 PM, schrieb Dimitry Polivaev:
> Hi,
>
> I use XText for creating a DSL for test case generation. Generator
> scripts containing test strategies are created from our strategy mind
> maps as described in arxiv.org/abs/1202.6125v1 (you do not have to read
> the article :) ).
>
> The scripts can become pretty long (thousands of LOC). Some other script
> files are created directly in editor. We have created an XText based
> editor and debugger.
> With growing size of our script files (currently about 4000 lines) an
> eclipse start or refresh takes many minutes, and it is likely to become
> longer as our strategy maps continuously grow. I do not know how we
> could accelerate this process. We activate no backtracking.
>
> (Currently the scripts are compiled using a second parser based on
> JavaCC which does not have any problems with their size. The XText based
> solution should be used only for editing and debugging in Eclipse).
>
> Is there are someone who could have a look at our grammar definition and
> the parsed files and give us a hint how to improve the XText
> performance? I would provide the files but unfortunately I can not make
> them available directly in the forum.
>
> Regards,
> Dimitry Polivaev
> Test Architect
> System Test for EMV / ID Products and Mobile Security Secure Devices
> Giesecke & Devrient GmbH, Prinzregentenstr. 159, D-81677 Munich, Germany
--
Need professional support for Xtext or other Eclipse Modeling technologies?
Go to: http://xtext.itemis.com
Twitter : @svenefftinge
Blog : http://blog.efftinge.de
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02275 seconds