You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Spoon to create a model for large size projects takes quite some time. Thus, I would like to attach some sort of progress listener to the Launcher class allowing me to track the current progress while creating a model. The progress listener should be able to distinguish between source compilation (JDT) and model creation (Spoon). I did some research and found that the JDT compiler allows to attach a CompilationProgress. For the model creation, I would suggest to fire a progress event for each compilation unit.
Wrapping JDT's CompilationProgress class with a custom progress listener should be straightforward.
What do you think?
The text was updated successfully, but these errors were encountered:
…poon model (#2043)
fix#1778
I notice with this feature that printing the model is the slowest task.
JTD takes: 4794 ms
Spoon model: 4098 ms
Printing: 5507 ms
It surprised me
Using Spoon to create a model for large size projects takes quite some time. Thus, I would like to attach some sort of progress listener to the
Launcher
class allowing me to track the current progress while creating a model. The progress listener should be able to distinguish between source compilation (JDT) and model creation (Spoon). I did some research and found that the JDT compiler allows to attach a CompilationProgress. For the model creation, I would suggest to fire a progress event for each compilation unit.Wrapping JDT's
CompilationProgress
class with a custom progress listener should be straightforward.What do you think?
The text was updated successfully, but these errors were encountered: