Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Xpand is very slow in IDE mode(Xpand is very slow in IDE mode)
Xpand is very slow in IDE mode [message #495012] Tue, 03 November 2009 09:27 Go to next message
zakir Hussain is currently offline zakir Hussain
Messages: 76
Registered: July 2009
Member
Hello,

I am using Xpand to generate the code for my project.

I am executing Xpand template on click of action in runtime environment of the IDE, this is taking lot of time.

I have written a junit test case to do the same, i am running the junit test case as junit test from the eclipse development environment.

For generating 1000 files these are the statistics:

1. In IDE mode -----120 seconds.

2. In standalone mode as a junit test ----2 seconds.

I am using exactly same code for both the above mentioned cases...

Could you please help me regarding this....

Regards,

Zakir
Re: Xpand is very slow in IDE mode [message #495156 is a reply to message #495012] Tue, 03 November 2009 17:29 Go to previous message
Sebastian Zarnekow is currently offline Sebastian Zarnekow
Messages: 2807
Registered: July 2009
Senior Member
Hi Zakir,

please see here
https://bugs.eclipse.org/bugs/show_bug.cgi?id=278753

Note that the code snippets in the comments of the tickets may be
outdated in same cases, but you'll get the idea.

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

zakir Hussain schrieb:
> Hello,
>
> I am using Xpand to generate the code for my project.
>
> I am executing Xpand template on click of action in runtime environment
> of the IDE, this is taking lot of time.
>
> I have written a junit test case to do the same, i am running the junit
> test case as junit test from the eclipse development environment.
>
> For generating 1000 files these are the statistics:
>
> 1. In IDE mode -----120 seconds.
>
> 2. In standalone mode as a junit test ----2 seconds.
>
> I am using exactly same code for both the above mentioned cases...
>
> Could you please help me regarding this....
>
> Regards,
>
> Zakir
Previous Topic:Missing GenClass while using genmodel in JET Transformation Project
Next Topic:[Xpand] Problem with creating model elements from Java
Goto Forum:
  


Current Time: Sun Apr 20 19:36:39 EDT 2014

Powered by FUDForum. Page generated in 0.01581 seconds