Skip to main content


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 14:27 Go to next message
zakir Hussain is currently offline zakir HussainFriend
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 22:29 Go to previous message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
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: Mon Oct 07 01:30:35 GMT 2024

Powered by FUDForum. Page generated in 0.02806 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top